Home
last modified time | relevance | path

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

12345678910>>...19

/linux-6.15/fs/afs/
H A Dvolume.c39 volume = p; in afs_insert_volume_into_cell()
54 return volume; in afs_insert_volume_into_cell()
63 trace_afs_volume(volume->debug_id, volume->vid, refcount_read(&volume->ref), in afs_remove_volume_from_cell()
85 if (!volume) in afs_alloc_volume()
121 return volume; in afs_alloc_volume()
125 kfree(volume); in afs_alloc_volume()
148 return volume; in afs_lookup_volume()
252 trace_afs_volume(volume->debug_id, volume->vid, refcount_read(&volume->ref), in afs_destroy_volume()
279 if (volume) { in afs_get_volume()
294 if (volume) { in afs_put_volume()
[all …]
H A Dvalidation.c122 const struct afs_volume *volume = vnode->volume; in afs_check_validity() local
130 if (atomic_read(&volume->cb_v_check) != atomic_read(&volume->cb_v_break)) in afs_check_validity()
208 volume->creation_time = new; in afs_update_volume_creation_time()
251 volume->creation_time = new; in afs_update_volume_creation_time()
257 volume->creation_time = new; in afs_update_volume_creation_time()
274 volume->update_time = new; in afs_update_volume_update_time()
299 volume->update_time = new; in afs_update_volume_update_time()
333 struct afs_volume *volume = op->volume; in afs_update_volume_state() local
393 struct afs_volume *volume = vnode->volume; in afs_validate() local
421 atomic_read(&volume->cb_v_check) != atomic_read(&volume->cb_v_break)) { in afs_validate()
[all …]
H 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 …]
H A Dserver_list.c33 unsigned int type_mask = 1 << volume->type; in afs_alloc_server_list()
111 slist->servers[j].volume = volume; in afs_alloc_server_list()
125 afs_put_serverlist(volume->cell->net, slist); 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 …]
H A Dsuper.c159 struct afs_volume *volume = as->volume; in afs_show_devname() local
169 switch (volume->type) { in afs_show_devname()
382 if (ctx->volume) { in afs_validate_fc()
384 ctx->volume = NULL; in afs_validate_fc()
404 if (IS_ERR(volume)) in afs_validate_fc()
407 ctx->volume = volume; in afs_validate_fc()
426 as->volume && in afs_test_super()
427 as->volume->vid == ctx->volume->vid && in afs_test_super()
513 as->volume = afs_get_volume(ctx->volume, in afs_alloc_sbi()
537 if (as->volume) in afs_kill_super()
[all …]
H 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 …]
H 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 …]
/linux-6.15/fs/netfs/
H 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()
340 if (!volume) in __fscache_acquire_volume()
349 return volume; in __fscache_acquire_volume()
413 kfree(volume); in fscache_free_volume()
[all …]
H 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-6.15/drivers/md/dm-vdo/indexer/
H 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 …]
H 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 …]
H 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-6.15/fs/cachefiles/
H 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 …]
H A Dxattr.c215 unsigned int len = volume->vcookie->coherency_len; in cachefiles_set_volume_xattr()
216 const void *p = volume->vcookie->coherency; in cachefiles_set_volume_xattr()
217 struct dentry *dentry = volume->dentry; in cachefiles_set_volume_xattr()
220 _enter("%x,#%d", volume->vcookie->debug_id, len); in cachefiles_set_volume_xattr()
227 memcpy(buf->data, p, volume->vcookie->coherency_len); in cachefiles_set_volume_xattr()
231 ret = mnt_want_write(volume->cache->mnt); in cachefiles_set_volume_xattr()
236 mnt_drop_write(volume->cache->mnt); in cachefiles_set_volume_xattr()
263 struct dentry *dentry = volume->dentry; in cachefiles_check_volume_xattr()
264 unsigned int len = volume->vcookie->coherency_len; in cachefiles_check_volume_xattr()
265 const void *p = volume->vcookie->coherency; in cachefiles_check_volume_xattr()
[all …]
H 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()
363 struct cachefiles_cache *cache = object->volume->cache; in cachefiles_withdraw_cookie()
429 struct cachefiles_volume *volume = object->volume; in cachefiles_invalidate_cookie() local
430 struct dentry *fan = volume->fanout[(u8)cookie->key_hash]; in cachefiles_invalidate_cookie()
[all …]
/linux-6.15/Documentation/ABI/testing/
H 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
H 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-6.15/sound/ppc/
H 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 …]
H 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-6.15/include/trace/events/
H 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-6.15/drivers/firmware/efi/libstub/
H 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()
203 efi_file_protocol_t *volume = NULL; in handle_cmdline_files() local
246 status = efi_open_device_path(&volume, &fi); in handle_cmdline_files()
249 status = efi_open_volume(image, &volume); in handle_cmdline_files()
254 status = efi_open_file(volume, &fi, &file, &size); in handle_cmdline_files()
309 efi_call_proto(volume, close); in handle_cmdline_files()
326 efi_call_proto(volume, close); in handle_cmdline_files()
/linux-6.15/Documentation/ABI/stable/
H 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-6.15/Documentation/devicetree/bindings/mtd/partitions/
H 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-6.15/include/linux/
H A Dfscache.h24 #define fscache_volume_valid(volume) (volume) argument
31 #define fscache_volume_valid(volume) (0) argument
109 struct fscache_volume *volume; /* Parent volume of this file. */ member
222 void fscache_relinquish_volume(struct fscache_volume *volume, in fscache_relinquish_volume() argument
226 if (fscache_volume_valid(volume)) in fscache_relinquish_volume()
227 __fscache_relinquish_volume(volume, coherency_data, invalidate); in fscache_relinquish_volume()
246 struct fscache_cookie *fscache_acquire_cookie(struct fscache_volume *volume, in fscache_acquire_cookie() argument
254 if (!fscache_volume_valid(volume)) in fscache_acquire_cookie()
256 return __fscache_acquire_cookie(volume, advice, in fscache_acquire_cookie()
H A Dfscache-cache.h57 void (*acquire_volume)(struct fscache_volume *volume);
60 void (*free_volume)(struct fscache_volume *volume);
96 extern void fscache_withdraw_volume(struct fscache_volume *volume);
102 fscache_try_get_volume(struct fscache_volume *volume,
104 extern void fscache_put_volume(struct fscache_volume *volume,
106 extern void fscache_end_volume_access(struct fscache_volume *volume,

12345678910>>...19