Home
last modified time | relevance | path

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

12345678910>>...30

/OK3568_Linux_fs/kernel/fs/afs/
H A Dvolume.c20 struct afs_volume *volume) in afs_insert_volume_into_cell() argument
31 if (p->vid < volume->vid) { in afs_insert_volume_into_cell()
33 } else if (p->vid > volume->vid) { in afs_insert_volume_into_cell()
36 volume = afs_get_volume(p, afs_volume_trace_get_cell_insert); in afs_insert_volume_into_cell()
41 rb_link_node_rcu(&volume->cell_node, parent, pp); in afs_insert_volume_into_cell()
42 rb_insert_color(&volume->cell_node, &cell->volumes); in afs_insert_volume_into_cell()
43 hlist_add_head_rcu(&volume->proc_link, &cell->proc_volumes); in afs_insert_volume_into_cell()
47 return volume; in afs_insert_volume_into_cell()
51 static void afs_remove_volume_from_cell(struct afs_volume *volume) in afs_remove_volume_from_cell() argument
53 struct afs_cell *cell = volume->cell; in afs_remove_volume_from_cell()
[all …]
H A Dcallback.c71 struct afs_volume *volume = NULL; in afs_lookup_volume_rcu() local
84 volume = rb_entry(p, struct afs_volume, cell_node); in afs_lookup_volume_rcu()
86 if (volume->vid < vid) in afs_lookup_volume_rcu()
88 else if (volume->vid > vid) in afs_lookup_volume_rcu()
92 volume = NULL; in afs_lookup_volume_rcu()
98 return volume; in afs_lookup_volume_rcu()
107 static void afs_break_one_callback(struct afs_volume *volume, in afs_break_one_callback() argument
116 write_lock(&volume->cb_v_break_lock); in afs_break_one_callback()
117 volume->cb_v_break++; in afs_break_one_callback()
118 trace_afs_cb_break(fid, volume->cb_v_break, in afs_break_one_callback()
[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()
73 static void afs_busy(struct afs_volume *volume, u32 abort_code) in afs_busy() argument
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()
163 set_bit(AFS_VOLUME_NEEDS_UPDATE, &op->volume->flags); in afs_select_fileserver()
164 error = afs_check_volume_status(op->volume, op); in afs_select_fileserver()
[all …]
H A Dsuper.c158 struct afs_volume *volume = as->volume; in afs_show_devname() local
168 switch (volume->type) { in afs_show_devname()
173 if (volume->type_force) in afs_show_devname()
182 seq_printf(m, "%c%s:%s%s", pref, cell->name, volume->name, suf); in afs_show_devname()
358 struct afs_volume *volume; in afs_validate_fc() local
382 if (ctx->volume) { in afs_validate_fc()
383 afs_put_volume(ctx->net, ctx->volume, in afs_validate_fc()
385 ctx->volume = NULL; in afs_validate_fc()
404 volume = afs_create_volume(ctx); in afs_validate_fc()
405 if (IS_ERR(volume)) in afs_validate_fc()
[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 …]
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.ubi14 ubi info [l[ayout]] - Display volume and ubi layout information
15 ubi create[vol] volume [size] [type] - create volume name with size
16 ubi write[vol] address volume size - Write volume from address with size
17 ubi write.part address volume size [fullsize]
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
77 ubi info Display volume and ubi layout information
78 ubi createvol Create UBI volume on UBI device
[all …]
/OK3568_Linux_fs/external/recovery/mtdutils/
H A Dmounts.c40 free_volume_internals(const MountedVolume *volume, int zero) in free_volume_internals() argument
42 free((char *)volume->device); in free_volume_internals()
43 free((char *)volume->mount_point); in free_volume_internals()
44 free((char *)volume->filesystem); in free_volume_internals()
45 free((char *)volume->flags); in free_volume_internals()
47 memset((void *)volume, 0, sizeof(*volume)); in free_volume_internals()
196 unmount_mounted_volume(const MountedVolume *volume) in unmount_mounted_volume() argument
202 int ret = umount(volume->mount_point); in unmount_mounted_volume()
204 free_volume_internals(volume, 1); in unmount_mounted_volume()
211 remount_read_only(const MountedVolume* volume) in remount_read_only() argument
[all …]
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/mtdutils/
H A Dmounts.c46 free_volume_internals(const MountedVolume *volume, int zero) in free_volume_internals() argument
48 free((char *)volume->device); in free_volume_internals()
49 free((char *)volume->mount_point); in free_volume_internals()
50 free((char *)volume->filesystem); in free_volume_internals()
51 free((char *)volume->flags); in free_volume_internals()
53 memset((void *)volume, 0, sizeof(*volume)); in free_volume_internals()
202 unmount_mounted_volume(const MountedVolume *volume) in unmount_mounted_volume() argument
208 int ret = umount(volume->mount_point); in unmount_mounted_volume()
210 free_volume_internals(volume, 1); in unmount_mounted_volume()
217 remount_read_only(const MountedVolume* volume) in remount_read_only() argument
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A Drockchip,rk817-codec.txt12 - spk-volume: DAC L/R volume digital setting for Speaker
13 - hp-volume: DAC L/R volume digital setting for Headphone
15 * DDAC L/R volume setting
22 - capture-volume: ADC L/R volume digital setting for Microphone
24 * DADC L/R volume setting
61 hp-volume = <3>;
62 spk-volume = <3>;
63 capture-volume = <0>;
H A Des8311.txt14 - adc-volume: The volume of ADC, range is: 0x00(-95dB) ~ 0xff(+32dB), 0dB is 0xbf.
15 - dac-volume: The volume of DAC, range is: 0x00(-95dB) ~ 0xff(+32dB), 0dB is 0xbf.
34 adc-volume = <0xbf>; /* 0dB */
35 dac-volume = <0xbf>; /* 0dB */
/OK3568_Linux_fs/external/recovery/
H A Droots.c77 const MountedVolume *volume; in get_mounted_device_from_path() local
85 volume = find_mounted_volume_by_mount_point(path); in get_mounted_device_from_path()
86 if (!volume) { in get_mounted_device_from_path()
91 return volume->device; in get_mounted_device_from_path()
338 int format_volume(const char* volume) in format_volume() argument
340 Volume* v = volume_for_path(volume); in format_volume()
344 LOGE("unknown volume \"%s\"\n", volume); in format_volume()
349 LOGE("can't format_volume \"%s\"", volume); in format_volume()
352 if (strcmp(v->mount_point, volume) != 0) { in format_volume()
353 LOGE("can't give path \"%s\" to format_volume\n", volume); in format_volume()
[all …]
/OK3568_Linux_fs/kernel/sound/ppc/
H A Dburgundy.c124 long *volume, int shift) in snd_pmac_burgundy_write_volume() argument
128 if (volume[0] < 0 || volume[0] > 100 || in snd_pmac_burgundy_write_volume()
129 volume[1] < 0 || volume[1] > 100) in snd_pmac_burgundy_write_volume()
131 lvolume = volume[0] ? volume[0] + BURGUNDY_VOLUME_OFFSET : 0; in snd_pmac_burgundy_write_volume()
132 rvolume = volume[1] ? volume[1] + BURGUNDY_VOLUME_OFFSET : 0; in snd_pmac_burgundy_write_volume()
143 long *volume, int shift) in snd_pmac_burgundy_read_volume() argument
149 volume[0] = wvolume & 0xff; in snd_pmac_burgundy_read_volume()
150 if (volume[0] >= BURGUNDY_VOLUME_OFFSET) in snd_pmac_burgundy_read_volume()
151 volume[0] -= BURGUNDY_VOLUME_OFFSET; in snd_pmac_burgundy_read_volume()
153 volume[0] = 0; in snd_pmac_burgundy_read_volume()
[all …]
H A Dbeep.c21 int volume; /* mixer volume: 0-100 */ member
133 if (hz == beep->hz && beep->volume == beep->volume_play) { in snd_pmac_beep_event()
143 p[0] = p[1] = beep_wform[j >> 8] * beep->volume; in snd_pmac_beep_event()
147 beep->volume_play = beep->volume; in snd_pmac_beep_event()
177 ucontrol->value.integer.value[0] = chip->beep->volume; in snd_pmac_get_beep()
188 oval = chip->beep->volume; in snd_pmac_put_beep()
192 chip->beep->volume = nval; in snd_pmac_put_beep()
193 return oval != chip->beep->volume; in snd_pmac_put_beep()
238 beep->volume = BEEP_VOLUME; in snd_pmac_attach_beep()
/OK3568_Linux_fs/kernel/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
47 status = volume->open(volume, &fh, fi->filename, EFI_FILE_MODE_READ, 0); in efi_open_file()
141 efi_file_protocol_t *volume = NULL; in handle_cmdline_files() local
173 if (!volume) { in handle_cmdline_files()
174 status = efi_open_volume(image, &volume); in handle_cmdline_files()
179 status = efi_open_file(volume, &fi, &file, &size); in handle_cmdline_files()
239 if (volume) in handle_cmdline_files()
240 volume->close(volume); in handle_cmdline_files()
247 volume->close(volume); in handle_cmdline_files()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/u-boot/cmd/
H A Dubi.c165 static int ubi_create_vol(char *volume, int64_t size, int dynamic, int vol_id) in ubi_create_vol() argument
179 strcpy(req.name, volume); in ubi_create_vol()
180 req.name_len = strlen(volume); in ubi_create_vol()
190 dynamic ? "dynamic" : "static", volume, size); in ubi_create_vol()
195 static struct ubi_volume *ubi_find_volume(char *volume) in ubi_find_volume() argument
202 if (vol && !strcmp(vol->name, volume)) in ubi_find_volume()
206 printf("Volume %s not found!\n", volume); in ubi_find_volume()
210 static int ubi_remove_vol(char *volume) in ubi_remove_vol() argument
215 vol = ubi_find_volume(volume); in ubi_remove_vol()
258 ubi_err(ubi, "cannot remove volume %s, error %d", volume, err); in ubi_remove_vol()
[all …]
/OK3568_Linux_fs/app/forlinx/forlinx_up4_qt/musicplayer/
H A Dvolumebutton.h53 Q_PROPERTY(int volume READ volume WRITE setVolume NOTIFY volumeChanged) in QT_FORWARD_DECLARE_CLASS()
58 int volume() const; in QT_FORWARD_DECLARE_CLASS()
63 void setVolume(int volume); in QT_FORWARD_DECLARE_CLASS()
66 void volumeChanged(int volume); in QT_FORWARD_DECLARE_CLASS()
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/mediaplayer/musicplayer/
H A Dvolumebutton.h53 Q_PROPERTY(int volume READ volume WRITE setVolume NOTIFY volumeChanged) in QT_FORWARD_DECLARE_CLASS()
58 int volume() const; in QT_FORWARD_DECLARE_CLASS()
63 void setVolume(int volume); in QT_FORWARD_DECLARE_CLASS()
66 void volumeChanged(int volume); in QT_FORWARD_DECLARE_CLASS()
/OK3568_Linux_fs/app/forlinx/forlinx_qt/musicplayer/
H A Dvolumebutton.h53 Q_PROPERTY(int volume READ volume WRITE setVolume NOTIFY volumeChanged) in QT_FORWARD_DECLARE_CLASS()
58 int volume() const; in QT_FORWARD_DECLARE_CLASS()
63 void setVolume(int volume); in QT_FORWARD_DECLARE_CLASS()
66 void volumeChanged(int volume); in QT_FORWARD_DECLARE_CLASS()
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/imxwayland/musicplayer/
H A Dvolumebutton.h53 Q_PROPERTY(int volume READ volume WRITE setVolume NOTIFY volumeChanged) in QT_FORWARD_DECLARE_CLASS()
58 int volume() const; in QT_FORWARD_DECLARE_CLASS()
63 void setVolume(int volume); in QT_FORWARD_DECLARE_CLASS()
66 void volumeChanged(int volume); in QT_FORWARD_DECLARE_CLASS()
/OK3568_Linux_fs/kernel/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
149 this volume has to be aligned on. For example, 2048 means that
151 volume logical eraseblock size is UBI device logical eraseblock
159 Contains ASCII "0\n" if the UBI volume is OK, and ASCII "1\n"
160 if it is corrupted (e.g., due to an interrupted volume update).
167 The amount of data this volume contains. This value makes sense
168 only for static volumes, and for dynamic volume it equivalent
169 to the total volume size in bytes.
[all …]
/OK3568_Linux_fs/kernel/sound/firewire/oxfw/
H A Doxfw-spkr.c12 s16 volume[6]; member
202 value->value.integer.value[channel_map[i]] = spkr->volume[i]; in spkr_volume_get()
214 s16 volume; in spkr_volume_put() local
229 spkr->volume[i]) in spkr_volume_put()
236 volume = value->value.integer.value[channel_map[i ? i - 1 : 0]]; in spkr_volume_put()
239 spkr->volume_fb_id, &volume, in spkr_volume_put()
245 spkr->volume[i - 1] = volume; in spkr_volume_put()
306 &spkr->volume[i], first_ch + i, in snd_oxfw_add_spkr()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()

12345678910>>...30