Home
last modified time | relevance | path

Searched refs:volume (Results 1 – 25 of 452) sorted by relevance

12345678910>>...19

/linux/fs/afs/
A Dvolume.c38 volume = p; in afs_insert_volume_into_cell()
53 return volume; in afs_insert_volume_into_cell()
84 if (!volume) in afs_alloc_volume()
119 return volume; in afs_alloc_volume()
123 kfree(volume); in afs_alloc_volume()
146 return volume; in afs_lookup_volume()
229 return volume; in afs_create_volume()
250 trace_afs_volume(volume->vid, refcount_read(&volume->ref), in afs_destroy_volume()
277 if (volume) { in afs_get_volume()
292 if (volume) { in afs_put_volume()
[all …]
A Dvalidation.c122 const struct afs_volume *volume = vnode->volume; in afs_check_validity() local
128 if (atomic_read(&volume->cb_v_check) != atomic_read(&volume->cb_v_break) || in afs_check_validity()
199 volume->creation_time = new; in afs_update_volume_creation_time()
242 volume->creation_time = new; in afs_update_volume_creation_time()
248 volume->creation_time = new; in afs_update_volume_creation_time()
265 volume->update_time = new; in afs_update_volume_update_time()
290 volume->update_time = new; in afs_update_volume_update_time()
324 struct afs_volume *volume = op->volume; in afs_update_volume_state() local
384 struct afs_volume *volume = vnode->volume; in afs_validate() local
412 atomic_read(&volume->cb_v_check) != atomic_read(&volume->cb_v_break)) { in afs_validate()
[all …]
A Dcallback.c49 up_read(&volume->open_mmaps_lock); in afs_volume_init_callback()
65 trace_afs_cb_v_break(se->volume->vid, atomic_read(&se->volume->cb_v_break), in afs_init_callback_state()
114 struct afs_volume *volume = NULL; in afs_lookup_volume_rcu() local
130 if (volume->vid < vid) in afs_lookup_volume_rcu()
132 else if (volume->vid > vid) in afs_lookup_volume_rcu()
136 volume = NULL; in afs_lookup_volume_rcu()
139 if (volume && afs_try_get_volume(volume, afs_volume_trace_get_callback)) in afs_lookup_volume_rcu()
147 return volume; in afs_lookup_volume_rcu()
189 struct afs_volume *volume, in afs_break_one_callback() argument
218 struct afs_volume *volume; in afs_break_some_callbacks() local
[all …]
A Dserver_list.c33 unsigned int type_mask = 1 << volume->type; in afs_alloc_server_list()
100 afs_put_server(volume->cell->net, server, in afs_alloc_server_list()
111 slist->servers[j].volume = volume; in afs_alloc_server_list()
164 down_write(&volume->cell->vs_lock); in afs_attach_volume_to_servers()
172 if (volume->vid <= pe->volume->vid) in afs_attach_volume_to_servers()
179 up_write(&volume->cell->vs_lock); in afs_attach_volume_to_servers()
192 down_write(&volume->cell->vs_lock); in afs_reattach_volume_to_servers()
218 if (volume->vid <= s->volume->vid) in afs_reattach_volume_to_servers()
229 up_write(&volume->cell->vs_lock); in afs_reattach_volume_to_servers()
242 down_write(&volume->cell->vs_lock); in afs_detach_volume_from_servers()
[all …]
A Dsuper.c159 struct afs_volume *volume = as->volume; in afs_show_devname() local
169 switch (volume->type) { in afs_show_devname()
383 if (ctx->volume) { in afs_validate_fc()
385 ctx->volume = NULL; in afs_validate_fc()
405 if (IS_ERR(volume)) in afs_validate_fc()
408 ctx->volume = volume; in afs_validate_fc()
427 as->volume && in afs_test_super()
428 as->volume->vid == ctx->volume->vid && in afs_test_super()
520 as->volume = afs_get_volume(ctx->volume, in afs_alloc_sbi()
548 if (as->volume) in afs_kill_super()
[all …]
A Dvl_alias.c20 struct afs_volume *volume; in afs_sample_volume() local
30 volume = afs_create_volume(&fc); in afs_sample_volume()
31 _leave(" = %p", volume); in afs_sample_volume()
32 return volume; in afs_sample_volume()
141 struct afs_volume *volume, *pvol = NULL; in afs_query_for_alias_one() local
158 if (IS_ERR(volume)) { in afs_query_for_alias_one()
160 if (PTR_ERR(volume) != -ENOMEDIUM) in afs_query_for_alias_one()
161 return PTR_ERR(volume); in afs_query_for_alias_one()
170 if (pvol->vid == volume->vid) { in afs_query_for_alias_one()
172 if (afs_compare_volume_slists(volume, pvol)) in afs_query_for_alias_one()
[all …]
A Drotate.c43 read_lock(&op->volume->servers_lock); in afs_start_fs_iteration()
45 rcu_dereference_protected(op->volume->servers, in afs_start_fs_iteration()
46 lockdep_is_held(&op->volume->servers_lock))); in afs_start_fs_iteration()
47 read_unlock(&op->volume->servers_lock); in afs_start_fs_iteration()
126 op->volume->vid, op->volume->name, &op->server->uuid, m); in afs_busy()
243 write_lock(&op->volume->servers_lock); in afs_select_fileserver()
245 write_unlock(&op->volume->servers_lock); in afs_select_fileserver()
386 set_bit(AFS_VOLUME_WAIT, &op->volume->flags); in afs_select_fileserver()
413 if (op->volume->type != AFSVL_RWVOL) in afs_select_fileserver()
485 error = afs_check_volume_status(op->volume, op); in afs_select_fileserver()
[all …]
A Dfs_operation.c18 struct afs_operation *afs_alloc_operation(struct key *key, struct afs_volume *volume) in afs_alloc_operation() argument
29 key = afs_request_key(volume->cell); in afs_alloc_operation()
39 op->volume = afs_get_volume(volume, afs_volume_trace_get_new_op); in afs_alloc_operation()
40 op->net = volume->cell->net; in afs_alloc_operation()
41 op->cb_v_break = atomic_read(&volume->cb_v_break); in afs_alloc_operation()
42 op->pre_volsync.creation = volume->creation_time; in afs_alloc_operation()
43 op->pre_volsync.update = volume->update_time; in afs_alloc_operation()
152 op->cb_v_break = atomic_read(&op->volume->cb_v_break); in afs_begin_vnode_operation()
267 afs_put_volume(op->volume, afs_volume_trace_put_put_op); in afs_put_operation()
/linux/fs/netfs/
A Dfscache_volume.c27 return volume; in fscache_get_volume()
39 return volume; in fscache_try_get_volume()
233 volume = kzalloc(struct_size(volume, coherency, coherency_len), in fscache_alloc_volume()
235 if (!volume) in fscache_alloc_volume()
257 volume->key = key; in fscache_alloc_volume()
268 return volume; in fscache_alloc_volume()
271 kfree(volume); in fscache_alloc_volume()
341 if (!volume) in __fscache_acquire_volume()
350 return volume; in __fscache_acquire_volume()
414 kfree(volume); in fscache_free_volume()
[all …]
A Dfscache_cookie.c48 cookie->volume->debug_id, in fscache_print_cookie()
49 cookie->volume->key); in fscache_print_cookie()
306 a->volume != b->volume || in fscache_cookie_same()
326 struct fscache_volume *volume, in fscache_alloc_cookie() argument
340 cookie->volume = volume; in fscache_alloc_cookie()
451 struct fscache_volume *volume, in __fscache_acquire_cookie() argument
459 _enter("V=%x", volume->debug_id); in __fscache_acquire_cookie()
510 if (!cookie->volume->cache_priv) { in fscache_perform_lookup()
512 if (!cookie->volume->cache_priv) { in fscache_perform_lookup()
1010 struct fscache_volume *volume = cookie->volume; in fscache_put_cookie() local
[all …]
/linux/drivers/md/dm-vdo/indexer/
A Dvolume.c625 struct volume *volume = arg; in read_thread_function() local
992 int uds_search_volume_page_cache_for_rebuild(struct volume *volume, in uds_search_volume_page_cache_for_rebuild() argument
1047 void uds_forget_chapter(struct volume *volume, u64 virtual_chapter) in uds_forget_chapter() argument
1180 static int encode_record_page(const struct volume *volume, in encode_record_page() argument
1466 int __must_check uds_replace_volume_storage(struct volume *volume, in uds_replace_volume_storage() argument
1479 volume->page_cache.index[i] = volume->page_cache.cache_slots; in uds_replace_volume_storage()
1488 volume->reserved_buffers, &volume->client); in uds_replace_volume_storage()
1544 struct volume *volume = NULL; in uds_make_volume() local
1549 result = vdo_allocate(1, struct volume, "volume", &volume); in uds_make_volume()
1573 volume->reserved_buffers, &volume->client); in uds_make_volume()
[all …]
A Dvolume.h99 struct volume { struct
129 void uds_free_volume(struct volume *volume);
131 int __must_check uds_replace_volume_storage(struct volume *volume,
135 int __must_check uds_find_volume_chapter_boundaries(struct volume *volume,
139 int __must_check uds_search_volume_page_cache(struct volume *volume,
148 int __must_check uds_search_cached_record_page(struct volume *volume,
152 void uds_forget_chapter(struct volume *volume, u64 chapter);
154 int __must_check uds_write_chapter(struct volume *volume,
158 void uds_prefetch_volume_chapter(const struct volume *volume, u32 chapter);
165 int __must_check uds_get_volume_record_page(struct volume *volume, u32 chapter,
[all …]
A Dindex.c345 struct volume *volume; in search_sparse_cache_in_zone() local
355 volume = zone->index->volume; in search_sparse_cache_in_zone()
364 struct volume *volume; in get_record_from_zone() local
388 volume = zone->index->volume; in get_record_from_zone()
715 index->volume, in close_chapters()
785 index->volume->geometry, in make_chapter_writer()
786 index->volume->nonce); in make_chapter_writer()
985 geometry = index->volume->geometry; in replay_chapter()
1107 index->volume->lookup_mode = LOOKUP_NORMAL; in rebuild_index()
1292 uds_free_volume(index->volume); in uds_free_index()
[all …]
/linux/fs/cachefiles/
A Dvolume.c19 struct cachefiles_volume *volume; in cachefiles_acquire_volume() local
31 if (!volume) in cachefiles_acquire_volume()
33 volume->vcookie = vcookie; in cachefiles_acquire_volume()
34 volume->cache = cache; in cachefiles_acquire_volume()
51 volume->dentry = vdentry; in cachefiles_acquire_volume()
75 volume->fanout[i] = fan; in cachefiles_acquire_volume()
80 vcookie->cache_priv = volume; in cachefiles_acquire_volume()
87 list_add(&volume->cache_link, &volume->cache->volumes); in cachefiles_acquire_volume()
101 kfree(volume); in cachefiles_acquire_volume()
119 kfree(volume); in __cachefiles_free_volume()
[all …]
A Dxattr.c208 unsigned int len = volume->vcookie->coherency_len; in cachefiles_set_volume_xattr()
209 const void *p = volume->vcookie->coherency; in cachefiles_set_volume_xattr()
210 struct dentry *dentry = volume->dentry; in cachefiles_set_volume_xattr()
213 _enter("%x,#%d", volume->vcookie->debug_id, len); in cachefiles_set_volume_xattr()
220 memcpy(buf->data, p, volume->vcookie->coherency_len); in cachefiles_set_volume_xattr()
224 ret = mnt_want_write(volume->cache->mnt); in cachefiles_set_volume_xattr()
229 mnt_drop_write(volume->cache->mnt); in cachefiles_set_volume_xattr()
256 struct dentry *dentry = volume->dentry; in cachefiles_check_volume_xattr()
257 unsigned int len = volume->vcookie->coherency_len; in cachefiles_check_volume_xattr()
258 const void *p = volume->vcookie->coherency; in cachefiles_check_volume_xattr()
[all …]
A Dinterface.c24 struct fscache_volume *vcookie = cookie->volume; in cachefiles_alloc_object()
25 struct cachefiles_volume *volume = vcookie->cache_priv; in cachefiles_alloc_object() local
34 if (cachefiles_ondemand_init_obj_info(object, volume)) { in cachefiles_alloc_object()
43 object->volume = volume; in cachefiles_alloc_object()
97 cache = object->volume->cache->cache; in cachefiles_put_object()
235 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_shorten_object()
282 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_resize_cookie()
357 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_withdraw_cookie()
423 struct cachefiles_volume *volume = object->volume; in cachefiles_invalidate_cookie() local
424 struct dentry *fan = volume->fanout[(u8)cookie->key_hash]; in cachefiles_invalidate_cookie()
[all …]
/linux/Documentation/ABI/testing/
A Dconfigfs-usb-gadget-uac112 c_volume_present capture volume control enable
13 c_volume_min capture volume control min value
15 c_volume_max capture volume control max value
17 c_volume_res capture volume control resolution
23 p_volume_present playback volume control enable
24 p_volume_min playback volume control min value
26 p_volume_max playback volume control max value
28 p_volume_res playback volume control resolution
36 p_fu_vol_name playback mute/volume functional unit name
40 c_fu_vol_name capture mute/volume functional unit name
A Dconfigfs-usb-gadget-uac215 c_volume_present capture volume control enable
16 c_volume_min capture volume control min value
18 c_volume_max capture volume control max value
20 c_volume_res capture volume control resolution
28 p_volume_present playback volume control enable
29 p_volume_min playback volume control min value
31 p_volume_max playback volume control max value
33 p_volume_res playback volume control resolution
44 p_fu_vol_name playback mute/volume function unit name
48 c_fu_vol_name capture mute/volume functional unit name
/linux/sound/ppc/
A Dburgundy.c129 if (volume[0] < 0 || volume[0] > 100 || in snd_pmac_burgundy_write_volume()
130 volume[1] < 0 || volume[1] > 100) in snd_pmac_burgundy_write_volume()
132 lvolume = volume[0] ? volume[0] + BURGUNDY_VOLUME_OFFSET : 0; in snd_pmac_burgundy_write_volume()
133 rvolume = volume[1] ? volume[1] + BURGUNDY_VOLUME_OFFSET : 0; in snd_pmac_burgundy_write_volume()
154 volume[0] = 0; in snd_pmac_burgundy_read_volume()
159 volume[1] = 0; in snd_pmac_burgundy_read_volume()
215 lvolume = volume[0] ? volume[0] + BURGUNDY_VOLUME_OFFSET : 0; in snd_pmac_burgundy_write_volume_2b()
216 rvolume = volume[1] ? volume[1] + BURGUNDY_VOLUME_OFFSET : 0; in snd_pmac_burgundy_write_volume_2b()
224 long *volume, int off) in snd_pmac_burgundy_read_volume_2b() argument
230 volume[0] = 0; in snd_pmac_burgundy_read_volume_2b()
[all …]
A Dbeep.c21 int volume; /* mixer volume: 0-100 */ member
136 if (hz == beep->hz && beep->volume == beep->volume_play) { in snd_pmac_beep_event()
146 p[0] = p[1] = beep_wform[j >> 8] * beep->volume; in snd_pmac_beep_event()
150 beep->volume_play = beep->volume; in snd_pmac_beep_event()
180 ucontrol->value.integer.value[0] = chip->beep->volume; in snd_pmac_get_beep()
191 oval = chip->beep->volume; in snd_pmac_put_beep()
195 chip->beep->volume = nval; in snd_pmac_put_beep()
196 return oval != chip->beep->volume; in snd_pmac_put_beep()
241 beep->volume = BEEP_VOLUME; in snd_pmac_attach_beep()
/linux/include/trace/events/
A Dfscache.h244 __field(unsigned int, volume )
250 __entry->volume = volume_debug_id;
256 __entry->volume,
358 __field(unsigned int, volume )
366 __entry->volume = volume_debug_id;
374 __entry->volume,
417 __field(unsigned int, volume )
424 __entry->volume = cookie->volume->debug_id;
441 __field(unsigned int, volume )
450 __entry->volume = cookie->volume->debug_id;
[all …]
/linux/drivers/firmware/efi/libstub/
A Dfile.c37 static efi_status_t efi_open_file(efi_file_protocol_t *volume, in efi_open_file() argument
54 status = efi_call_proto(volume, open, &fh, fi->filename, in efi_open_file()
128 static efi_status_t efi_open_device_path(efi_file_protocol_t **volume, in efi_open_device_path() argument
171 status = efi_call_proto(io, open_volume, volume); in efi_open_device_path()
195 efi_file_protocol_t *volume = NULL; in handle_cmdline_files() local
227 status = efi_open_device_path(&volume, &fi); in handle_cmdline_files()
230 status = efi_open_volume(image, &volume); in handle_cmdline_files()
235 status = efi_open_file(volume, &fi, &file, &size); in handle_cmdline_files()
290 efi_call_proto(volume, close); in handle_cmdline_files()
304 efi_call_proto(volume, close); in handle_cmdline_files()
/linux/Documentation/ABI/stable/
A Dsysfs-class-ubi8 and per-UBI volume information.
30 device information and per UBI volume information (each UBI
39 create a new UBI volume which has this amount of logical
159 Contains ASCII "0\n" if the UBI volume is OK, and ASCII "1\n"
168 only for static volumes, and for dynamic volume it equivalent
169 to the total volume size in bytes.
177 to this UBI volume (in <major>:<minor> format).
191 Count of physical eraseblock reserved for this volume.
192 Equivalent to the volume size in logical eraseblocks.
208 volume, and "1\n" if it is set. The update marker is set when
[all …]
/linux/Documentation/devicetree/bindings/mtd/partitions/
A Dubi-volume.yaml4 $id: http://devicetree.org/schemas/mtd/partitions/ubi-volume.yaml#
7 title: UBI volume
10 This binding describes a single UBI volume. Volumes can be matches either
20 Match UBI volume ID
25 Match UBI volume ID
/linux/sound/soc/intel/avs/
A Dcontrol.c71 ucontrol->value.integer.value[0] = ctl_data->volume; in avs_control_volume_get()
83 long *volume = &ctl_data->volume; in avs_control_volume_put() local
95 if (*volume != ctlvol) { in avs_control_volume_put()
96 *volume = ctlvol; in avs_control_volume_put()
103 dspvol.target_volume = *volume; in avs_control_volume_put()

Completed in 689 milliseconds

12345678910>>...19