Home
last modified time | relevance | path

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

12345678910>>...23

/openbmc/linux/fs/fscache/
H A Dvolume.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 …]
H A Dcookie.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 …]
/openbmc/linux/fs/afs/
H A Dvolume.c36 volume = p; in afs_insert_volume_into_cell()
51 return volume; in afs_insert_volume_into_cell()
82 if (!volume) in afs_alloc_volume()
107 return volume; in afs_alloc_volume()
111 kfree(volume); in afs_alloc_volume()
132 return volume; in afs_lookup_volume()
216 return volume; in afs_create_volume()
233 trace_afs_volume(volume->vid, refcount_read(&volume->ref), in afs_destroy_volume()
260 if (volume) { in afs_get_volume()
276 if (volume) { in afs_put_volume()
[all …]
H A Dcallback.c111 struct afs_volume *volume = NULL; in afs_lookup_volume_rcu() local
127 if (volume->vid < vid) in afs_lookup_volume_rcu()
129 else if (volume->vid > vid) in afs_lookup_volume_rcu()
133 volume = NULL; in afs_lookup_volume_rcu()
139 return volume; in afs_lookup_volume_rcu()
157 write_lock(&volume->cb_v_break_lock); in afs_break_one_callback()
158 volume->cb_v_break++; in afs_break_one_callback()
161 write_unlock(&volume->cb_v_break_lock); in afs_break_one_callback()
169 sb = rcu_dereference(volume->sb); in afs_break_one_callback()
187 struct afs_volume *volume; in afs_break_some_callbacks() local
[all …]
H A Drotate.c28 read_lock(&op->volume->servers_lock); in afs_start_fs_iteration()
30 rcu_dereference_protected(op->volume->servers, in afs_start_fs_iteration()
31 lockdep_is_held(&op->volume->servers_lock))); in afs_start_fs_iteration()
32 read_unlock(&op->volume->servers_lock); in afs_start_fs_iteration()
84 pr_notice("kAFS: Volume %llu '%s' is %s\n", volume->vid, volume->name, m); in afs_busy()
159 write_lock(&op->volume->servers_lock); in afs_select_fileserver()
161 write_unlock(&op->volume->servers_lock); in afs_select_fileserver()
197 afs_busy(op->volume, op->ac.abort_code); in afs_select_fileserver()
221 afs_busy(op->volume, op->ac.abort_code); in afs_select_fileserver()
251 set_bit(AFS_VOLUME_WAIT, &op->volume->flags); in afs_select_fileserver()
[all …]
H 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()
386 ctx->volume = NULL; in afs_validate_fc()
406 if (IS_ERR(volume)) in afs_validate_fc()
409 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()
519 as->volume = afs_get_volume(ctx->volume, in afs_alloc_sbi()
547 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()
190 struct afs_volume *volume, *pvol = NULL; in afs_query_for_alias_one() local
206 volume = afs_sample_volume(cell, key, pvol->name, pvol->name_len); in afs_query_for_alias_one()
207 if (IS_ERR(volume)) { in afs_query_for_alias_one()
209 if (PTR_ERR(volume) != -ENOMEDIUM) in afs_query_for_alias_one()
210 return PTR_ERR(volume); in afs_query_for_alias_one()
219 if (pvol->vid == volume->vid) { in afs_query_for_alias_one()
[all …]
/openbmc/linux/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.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 …]
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()
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 …]
/openbmc/u-boot/doc/
H A DREADME.ubi15 ubi create[vol] volume [size] [type] - create volume name with size
16 ubi write[vol] address volume size - Write volume from address with size
18 - Write part of a volume from address
19 ubi read[vol] address volume [size] - Read volume to address with size
20 ubi remove[vol] volume - Remove volume
22 volume: character name
91 UBI: volume information dump:
106 UBI: volume information dump:
155 ubifsmount - mount UBIFS volume
158 ubifsmount <volume-name>
[all …]
/openbmc/linux/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
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
/openbmc/linux/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()
/openbmc/u-boot/cmd/
H A Dubi.c162 strcpy(req.name, volume); in ubi_create_vol()
163 req.name_len = strlen(volume); in ubi_create_vol()
173 dynamic ? "dynamic" : "static", volume, size); in ubi_create_vol()
185 if (vol && !strcmp(vol->name, volume)) in ubi_find_volume()
189 printf("Volume %s not found!\n", volume); in ubi_find_volume()
193 static int ubi_remove_vol(char *volume) in ubi_remove_vol() argument
198 vol = ubi_find_volume(volume); in ubi_remove_vol()
252 vol = ubi_find_volume(volume); in ubi_volume_continue_write()
289 vol = ubi_find_volume(volume); in ubi_volume_begin_write()
305 return ubi_volume_continue_write(volume, buf, size); in ubi_volume_begin_write()
[all …]
/openbmc/linux/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 …]
/openbmc/linux/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()
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()
/openbmc/linux/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 …]
/openbmc/linux/sound/soc/intel/avs/
H 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()
/openbmc/linux/include/linux/
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,
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
219 void fscache_relinquish_volume(struct fscache_volume *volume, in fscache_relinquish_volume() argument
223 if (fscache_volume_valid(volume)) in fscache_relinquish_volume()
224 __fscache_relinquish_volume(volume, coherency_data, invalidate); in fscache_relinquish_volume()
243 struct fscache_cookie *fscache_acquire_cookie(struct fscache_volume *volume, in fscache_acquire_cookie() argument
251 if (!fscache_volume_valid(volume)) in fscache_acquire_cookie()
253 return __fscache_acquire_cookie(volume, advice, in fscache_acquire_cookie()
/openbmc/linux/fs/erofs/
H A Dfscache.c355 struct fscache_volume *volume; in erofs_fscache_register_volume() local
364 volume = fscache_acquire_volume(name, NULL, NULL, 0); in erofs_fscache_register_volume()
365 if (IS_ERR_OR_NULL(volume)) { in erofs_fscache_register_volume()
367 ret = volume ? PTR_ERR(volume) : -EOPNOTSUPP; in erofs_fscache_register_volume()
368 volume = NULL; in erofs_fscache_register_volume()
371 sbi->volume = volume; in erofs_fscache_register_volume()
405 domain->volume = sbi->volume; in erofs_fscache_init_domain()
426 sbi->volume = domain->volume; in erofs_fscache_register_domain()
440 struct fscache_volume *volume = EROFS_SB(sb)->volume; in erofs_fscache_acquire_cookie() local
621 fscache_relinquish_volume(sbi->volume, NULL, false); in erofs_fscache_unregister_fs()
[all …]
/openbmc/linux/sound/i2c/other/
H A Dpt2258.c54 pt->volume[i] = 0; in snd_pt2258_reset()
87 ucontrol->value.integer.value[0] = 79 - pt->volume[base]; in pt2258_stereo_volume_get()
88 ucontrol->value.integer.value[1] = 79 - pt->volume[base + 1]; in pt2258_stereo_volume_get()
104 if (val0 == pt->volume[base] && val1 == pt->volume[base + 1]) in pt2258_stereo_volume_put()
107 pt->volume[base] = val0; in pt2258_stereo_volume_put()
115 pt->volume[base + 1] = val1; in pt2258_stereo_volume_put()
/openbmc/linux/drivers/mfd/
H A Dwl1273-core.c141 static int wl1273_fm_set_volume(struct wl1273_core *core, unsigned int volume) in wl1273_fm_set_volume() argument
145 if (volume > WL1273_MAX_VOLUME) in wl1273_fm_set_volume()
148 if (core->volume == volume) in wl1273_fm_set_volume()
151 r = wl1273_fm_write_cmd(core, WL1273_VOLUME_SET, volume); in wl1273_fm_set_volume()
155 core->volume = volume; in wl1273_fm_set_volume()

12345678910>>...23