Home
last modified time | relevance | path

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

1234567891011

/Linux-v4.19/fs/afs/
Dvolume.c29 struct afs_volume *volume; in afs_alloc_volume() local
36 volume = kzalloc(sizeof(struct afs_volume), GFP_KERNEL); in afs_alloc_volume()
37 if (!volume) in afs_alloc_volume()
40 volume->vid = vldb->vid[params->type]; in afs_alloc_volume()
41 volume->update_at = ktime_get_real_seconds() + afs_volume_record_life; in afs_alloc_volume()
42 volume->cell = afs_get_cell(params->cell); in afs_alloc_volume()
43 volume->type = params->type; in afs_alloc_volume()
44 volume->type_force = params->force; in afs_alloc_volume()
45 volume->name_len = vldb->name_len; in afs_alloc_volume()
47 atomic_set(&volume->usage, 1); in afs_alloc_volume()
[all …]
Drotate.c64 read_lock(&vnode->volume->servers_lock); in afs_start_fs_iteration()
65 fc->server_list = afs_get_serverlist(vnode->volume->servers); in afs_start_fs_iteration()
66 read_unlock(&vnode->volume->servers_lock); in afs_start_fs_iteration()
109 static void afs_busy(struct afs_volume *volume, u32 abort_code) in afs_busy() argument
120 pr_notice("kAFS: Volume %u '%s' is %s\n", volume->vid, volume->name, m); in afs_busy()
185 write_lock(&vnode->volume->servers_lock); in afs_select_fileserver()
187 write_unlock(&vnode->volume->servers_lock); in afs_select_fileserver()
189 set_bit(AFS_VOLUME_NEEDS_UPDATE, &vnode->volume->flags); in afs_select_fileserver()
190 fc->ac.error = afs_check_volume_status(vnode->volume, fc->key); in afs_select_fileserver()
194 if (test_bit(AFS_VOLUME_DELETED, &vnode->volume->flags)) { in afs_select_fileserver()
[all …]
Dsuper.c150 struct afs_volume *volume = as->volume; in afs_show_devname() local
160 switch (volume->type) { in afs_show_devname()
165 if (volume->type_force) in afs_show_devname()
174 seq_printf(m, "%c%s:%s%s", pref, cell->name, volume->name, suf); in afs_show_devname()
357 as->volume && in afs_test_super()
358 as->volume->vid == as1->volume->vid && in afs_test_super()
409 sprintf(sb->s_id, "%u", as->volume->vid); in afs_fill_super()
410 afs_activate_volume(as->volume); in afs_fill_super()
411 fid.vid = as->volume->vid; in afs_fill_super()
463 afs_put_volume(as->cell, as->volume); in afs_destroy_sbi()
[all …]
Dcallback.c44 new_vi->vid = vnode->volume->vid; in afs_create_interest()
50 new->vid = vnode->volume->vid; in afs_create_interest()
166 vnode->cb_v_break = vnode->volume->cb_v_break; in afs_register_server_cb_interest()
277 struct afs_volume *volume = as->volume; in afs_break_one_callback() local
279 write_lock(&volume->cb_break_lock); in afs_break_one_callback()
280 volume->cb_v_break++; in afs_break_one_callback()
281 write_unlock(&volume->cb_break_lock); in afs_break_one_callback()
283 data.volume = NULL; in afs_break_one_callback()
Dinode.c104 vnode->volume->name, in afs_fetch_status()
156 vnode->volume = data->volume; in afs_iget5_set()
176 if (as->volume) { in afs_iget_pseudo_dir()
177 data.volume = as->volume; in afs_iget_pseudo_dir()
178 data.fid.vid = as->volume->vid; in afs_iget_pseudo_dir()
259 vnode->cache = fscache_acquire_cookie(vnode->volume->cache, in afs_get_inode_cache()
283 data.volume = as->volume; in afs_iget()
397 vnode->cb_v_break != vnode->volume->cb_v_break) { in afs_validate()
399 vnode->cb_v_break = vnode->volume->cb_v_break; in afs_validate()
570 key = afs_request_key(vnode->volume->cell); in afs_setattr()
/Linux-v4.19/sound/ppc/
Dburgundy.c137 long *volume, int shift) in snd_pmac_burgundy_write_volume() argument
141 if (volume[0] < 0 || volume[0] > 100 || in snd_pmac_burgundy_write_volume()
142 volume[1] < 0 || volume[1] > 100) in snd_pmac_burgundy_write_volume()
144 lvolume = volume[0] ? volume[0] + BURGUNDY_VOLUME_OFFSET : 0; in snd_pmac_burgundy_write_volume()
145 rvolume = volume[1] ? volume[1] + BURGUNDY_VOLUME_OFFSET : 0; in snd_pmac_burgundy_write_volume()
156 long *volume, int shift) in snd_pmac_burgundy_read_volume() argument
162 volume[0] = wvolume & 0xff; in snd_pmac_burgundy_read_volume()
163 if (volume[0] >= BURGUNDY_VOLUME_OFFSET) in snd_pmac_burgundy_read_volume()
164 volume[0] -= BURGUNDY_VOLUME_OFFSET; in snd_pmac_burgundy_read_volume()
166 volume[0] = 0; in snd_pmac_burgundy_read_volume()
[all …]
Dbeep.c34 int volume; /* mixer volume: 0-100 */ member
146 if (hz == beep->hz && beep->volume == beep->volume_play) { in snd_pmac_beep_event()
156 p[0] = p[1] = beep_wform[j >> 8] * beep->volume; in snd_pmac_beep_event()
160 beep->volume_play = beep->volume; in snd_pmac_beep_event()
190 ucontrol->value.integer.value[0] = chip->beep->volume; in snd_pmac_get_beep()
201 oval = chip->beep->volume; in snd_pmac_put_beep()
205 chip->beep->volume = nval; in snd_pmac_put_beep()
206 return oval != chip->beep->volume; in snd_pmac_put_beep()
251 beep->volume = BEEP_VOLUME; in snd_pmac_attach_beep()
/Linux-v4.19/Documentation/ABI/stable/
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 …]
/Linux-v4.19/Documentation/s390/
DDASD6 single major number (254) and 4 minor numbers per volume (1 for the
7 physical volume and 3 for partitions). With respect to partitions see
30 We currently implement one partition per volume, which is the whole
31 volume, skipping the first blocks up to the volume label. These are
32 reserved for IPL records and IBM's volume label to assure
42 device. This will erase any data on that volume including IBM volume
60 Then you can mk??fs the filesystem of your choice on that volume or
62 the partition /dev/dd?1 instead of the whole volume. You only lose 3kB
/Linux-v4.19/sound/i2c/other/
Dpt2258.c68 pt->volume[i] = 0; in snd_pt2258_reset()
101 ucontrol->value.integer.value[0] = 79 - pt->volume[base]; in pt2258_stereo_volume_get()
102 ucontrol->value.integer.value[1] = 79 - pt->volume[base + 1]; in pt2258_stereo_volume_get()
118 if (val0 == pt->volume[base] && val1 == pt->volume[base + 1]) in pt2258_stereo_volume_put()
121 pt->volume[base] = val0; in pt2258_stereo_volume_put()
129 pt->volume[base + 1] = val1; in pt2258_stereo_volume_put()
/Linux-v4.19/drivers/mfd/
Dwl1273-core.c155 static int wl1273_fm_set_volume(struct wl1273_core *core, unsigned int volume) in wl1273_fm_set_volume() argument
159 if (volume > WL1273_MAX_VOLUME) in wl1273_fm_set_volume()
162 if (core->volume == volume) in wl1273_fm_set_volume()
165 r = wl1273_fm_write_cmd(core, WL1273_VOLUME_SET, volume); in wl1273_fm_set_volume()
169 core->volume = volume; in wl1273_fm_set_volume()
/Linux-v4.19/sound/firewire/oxfw/
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()
305 &spkr->volume[i], first_ch + i, in snd_oxfw_add_spkr()
/Linux-v4.19/sound/soc/intel/haswell/
Dsst-haswell-pcm.c118 u32 volume[2]; member
191 u32 volume; in hsw_stream_volume_put() local
202 pcm_data->volume[0] = in hsw_stream_volume_put()
204 pcm_data->volume[1] = in hsw_stream_volume_put()
214 volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[0]); in hsw_stream_volume_put()
216 sst_hsw_stream_set_volume(hsw, pcm_data->stream, 0, SST_HSW_CHANNELS_ALL, volume); in hsw_stream_volume_put()
218 volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[0]); in hsw_stream_volume_put()
219 sst_hsw_stream_set_volume(hsw, pcm_data->stream, 0, 0, volume); in hsw_stream_volume_put()
220 volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[1]); in hsw_stream_volume_put()
221 sst_hsw_stream_set_volume(hsw, pcm_data->stream, 0, 1, volume); in hsw_stream_volume_put()
[all …]
/Linux-v4.19/Documentation/filesystems/
Djfs.txt14 resize=value Resize the volume to <value> blocks. JFS only supports
15 growing a volume, not shrinking it. This option is only
16 valid during a remount, when the volume is mounted
18 the volume to the full size of the partition.
21 is to allow for higher performance when restoring a volume
22 from backup media. The integrity of the volume is not
26 remount a volume where the nointegrity option was
Dntfs.txt13 - Using NTFS volume and stripe sets
25 from an NTFS volume and ntfsresize which is used to resize an NTFS partition.
28 To mount an NTFS 1.2/3.x (Windows NT4/2000/XP/2003) volume, use the file
33 For fault tolerance and raid support (i.e. volume and stripe sets), you can
171 volume (for the duration of this mount only). By
192 mft_zone_multiplier= Set the MFT zone multiplier for the volume (this
197 space is reserved for the MFT on the volume. If all
205 Value MFT zone size (% of volume size)
228 Using NTFS volume and stripe sets
231 For support of volume and stripe sets, you can either use the kernel's
[all …]
Dafs.txt66 list of volume location server IP addresses:
85 volume location servers within that cell, with the latter separated by colons.
95 whether you definitely want a R/W volume (percent) or whether you'd prefer a
96 R/O volume, but are willing to use a R/W volume instead (hash).
98 The name of the volume can be suffixes with ".backup" or ".readonly" to
102 named volume will be looked up in the cell specified during modprobe.
115 automatically cause the target volume to be mounted (if possible) on that site.
121 Manually unmounting an AFS volume will cause any idle submounts upon it to be
122 culled first. If all are culled, then the requested volume will also be
160 (*) A directory per cell that contains files that list volume location
[all …]
Dubifs.txt36 found in drivers/mtd/ubi. UBI is basically a volume management and
99 The UBI volume to mount is specified using "ubiX_Y" or "ubiX:NAME" syntax,
100 where "X" is UBI device number, "Y" is UBI volume number, and "NAME" is
101 UBI volume name.
103 Mount volume 0 on UBI device 0 to /mnt/ubifs:
106 Mount "rootfs" volume of UBI device 0 to /mnt/ubifs ("rootfs" is volume
111 to UBI and mount volume "rootfs":
/Linux-v4.19/sound/soc/sh/rcar/
Dmix.c83 (VOL_MAX - rsnd_kctrl_vals(mix->volume##X)) : 0
179 struct rsnd_kctrl_cfg_s *volume; in rsnd_mix_pcm_new() local
185 volume = &mix->volumeA; in rsnd_mix_pcm_new()
190 volume = &mix->volumeB; in rsnd_mix_pcm_new()
195 volume = &mix->volumeC; in rsnd_mix_pcm_new()
200 volume = &mix->volumeD; in rsnd_mix_pcm_new()
213 volume, VOL_MAX); in rsnd_mix_pcm_new()
216 rsnd_kctrl_vals(*volume) = VOL_MAX; in rsnd_mix_pcm_new()
/Linux-v4.19/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-ctl.c63 chip->volume = chip->old_volume; /* copy the old volume back */ in toggle_mute()
64 audio_info("Unmuting, old_volume = %d, volume = %d ...\n", chip->old_volume, chip->volume); in toggle_mute()
66 chip->old_volume = chip->volume; in toggle_mute()
67 chip->volume = 26214; /* set volume to minimum level AKA mute */ in toggle_mute()
68 audio_info("Muting, old_volume = %d, volume = %d ...\n", chip->old_volume, chip->volume); in toggle_mute()
86 ucontrol->value.integer.value[0] = chip2alsa(chip->volume); in snd_bcm2835_ctl_get()
106 …audio_info("Volume change attempted.. volume = %d new_volume = %d\n", chip->volume, (int)ucontrol-… in snd_bcm2835_ctl_put()
112 if (changed || (ucontrol->value.integer.value[0] != chip2alsa(chip->volume))) { in snd_bcm2835_ctl_put()
113 chip->volume = alsa2chip(ucontrol->value.integer.value[0]); in snd_bcm2835_ctl_put()
/Linux-v4.19/drivers/media/radio/
Dradio-sf16fmr2.c34 struct v4l2_ctrl *volume; member
152 int volume, balance, left, right; in fmr2_s_ctrl() local
156 volume = ctrl->val; in fmr2_s_ctrl()
161 volume = fmr2->volume->cur.val; in fmr2_s_ctrl()
167 left = right = volume; in fmr2_s_ctrl()
189 …fmr2->volume = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_VOLUME, 0, 68,… in fmr2_tea_ext_init()
/Linux-v4.19/drivers/media/i2c/
Dwm8739.c54 struct v4l2_ctrl *volume; member
111 work_l = (min(65536 - state->balance->val, 32768) * state->volume->val) / 32768; in wm8739_s_ctrl()
112 work_r = (min(state->balance->val, 32768) * state->volume->val) / 32768; in wm8739_s_ctrl()
209 state->volume = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe()
222 v4l2_ctrl_cluster(3, &state->volume); in wm8739_probe()
/Linux-v4.19/sound/usb/line6/
Dplayback.c25 static void change_volume(struct urb *urb_out, int volume[], in change_volume() argument
30 if (volume[0] == 256 && volume[1] == 256) in change_volume()
41 int val = (pv * volume[chn & 1]) >> 8; in change_volume()
56 val = (val * volume[chn & 1]) >> 8; in change_volume()
113 int volume, int bytes_per_frame) in add_monitor_signal() argument
115 if (volume == 0) in add_monitor_signal()
128 int val = pov + ((piv * volume) >> 8); in add_monitor_signal()
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-fs-nilfs220 Show NILFS file system revision on volume.
22 revision on mounted volume.
28 Show volume's block size in bytes.
34 Show volume size in bytes.
40 Show count of free blocks on volume.
46 Show volume's UUID (Universally Unique Identifier).
52 Show volume's label.
187 Show number of segments on a volume.
218 Show number of checkpoints on volume.
224 Show number of snapshots on volume.
/Linux-v4.19/arch/m68k/mac/
Dmacboing.c227 static void mac_quadra_start_bell( unsigned int freq, unsigned int length, unsigned int volume ) in mac_quadra_start_bell() argument
246 mac_asc_regs[ 0x806 ] = volume; in mac_quadra_start_bell()
308 static void mac_av_start_bell( unsigned int freq, unsigned int length, unsigned int volume ) in mac_av_start_bell() argument
/Linux-v4.19/Documentation/media/v4l-drivers/
Dradiotrack.rst77 0 1 volume + (some delay required)
78 1 0 volume - (some delay required)
79 1 1 stay at present volume
127 Default: BASE <-- 0xc8 (current volume, no stereo detect,
136 Volume Down: BASE <-- 0x48 (volume down, no stereo detect,
141 Volume Up: BASE <-- 0x88 (volume up, no stereo detect,
146 Check Stereo: BASE <-- 0xd8 (current volume, stereo detect,

1234567891011