Home
last modified time | relevance | path

Searched full:volume (Results 1 – 25 of 1235) sorted by relevance

12345678910>>...50

/linux/fs/afs/
H A Dvolume.c2 /* AFS volume management
17 * Insert a volume into a cell. If there's an existing volume record, that is
21 struct afs_volume *volume) in afs_insert_volume_into_cell() argument
32 if (p->vid < volume->vid) { in afs_insert_volume_into_cell()
34 } else if (p->vid > volume->vid) { in afs_insert_volume_into_cell()
38 volume = p; in afs_insert_volume_into_cell()
42 set_bit(AFS_VOLUME_RM_TREE, &volume->flags); in afs_insert_volume_into_cell()
43 rb_replace_node_rcu(&p->cell_node, &volume->cell_node, &cell->volumes); in afs_insert_volume_into_cell()
47 rb_link_node_rcu(&volume->cell_node, parent, pp); in afs_insert_volume_into_cell()
48 rb_insert_color(&volume->cell_node, &cell->volumes); in afs_insert_volume_into_cell()
[all …]
H A Dvalidation.c2 /* vnode and volume validity verification.
19 * (2) On a RW volume, in response to certain vnode (inode)-accessing RPC
27 * (3) On a RO (or Backup) volume, in response to certain vnode-accessing RPC
28 * calls, each server maintains a time-limited per-volume promise that it
29 * will send us a CB.CallBack request if the RO volume is updated to a
30 * snapshot of the RW volume ("vos release"). This is an atomic event
31 * that cuts over all instances of the RO volume across multiple servers
34 * Note that a volume-level callbacks may also be sent for other reasons,
35 * such as the volumeserver taking over control of the volume from the
41 * (4) Certain RPC calls include a volume information record "VolSync" in
[all …]
H A Dcallback.c36 static void afs_volume_init_callback(struct afs_volume *volume) in afs_volume_init_callback() argument
40 down_read(&volume->open_mmaps_lock); in afs_volume_init_callback()
42 list_for_each_entry(vnode, &volume->open_mmaps, cb_mmap_link) { in afs_volume_init_callback()
43 if (vnode->cb_v_check != atomic_read(&volume->cb_v_break)) { in afs_volume_init_callback()
49 up_read(&volume->open_mmaps_lock); in afs_volume_init_callback()
64 se->volume->cb_expires_at = AFS_NO_CB_PROMISE; in afs_init_callback_state()
65 trace_afs_cb_v_break(se->volume->vid, atomic_read(&se->volume->cb_v_break), in afs_init_callback_state()
67 if (!list_empty(&se->volume->open_mmaps)) in afs_init_callback_state()
68 afs_volume_init_callback(se->volume); in afs_init_callback_state()
84 vnode->cb_v_check = atomic_read(&vnode->volume->cb_v_break); in __afs_break_callback()
[all …]
H A Dafs.h14 #define AFS_MAXVOLNAME 64 /* Maximum length of a volume name */
15 #define AFS_MAXNSERVERS 8 /* Maximum servers in a basic volume record */
16 #define AFS_NMAXNSERVERS 13 /* Maximum servers in a N/U-class volume record */
17 #define AFS_MAXTYPES 3 /* Maximum number of volume types */
30 AFSVL_RWVOL, /* read/write volume */
31 AFSVL_ROVOL, /* read-only volume */
32 AFSVL_BACKVOL, /* backup volume */
53 afs_volid_t vid; /* volume ID */
54 afs_vnodeid_t vnode; /* Lower 64-bits of file index within volume */
92 * AFS volume information
[all …]
H A Dsuper.c159 struct afs_volume *volume = as->volume; in afs_show_devname() local
169 switch (volume->type) { in afs_show_devname()
174 if (volume->type_force) in afs_show_devname()
183 seq_printf(m, "%c%s:%s%s", pref, cell->name, volume->name, suf); in afs_show_devname()
213 * Parse the source name to get cell name, volume name, volume type and R/W
217 * "%[cell:]volume[.]" R/W volume
218 * "#[cell:]volume[.]" R/O or R/W volume (R/O parent),
219 * or R/W (R/W parent) volume
220 * "%[cell:]volume.readonly" R/O volume
221 * "#[cell:]volume.readonly" R/O volume
[all …]
H A Dafs_fs.h29 FSGETVOLUMEINFO = 148, /* AFS Get information about a volume */
30 FSGETVOLUMESTATUS = 149, /* AFS Get volume status information */
31 FSGETROOTVOLUME = 151, /* AFS Get root volume name */
46 VSALVAGE = 101, /* volume needs salvaging */
48 VNOVOL = 103, /* no such volume or volume unavailable */
49 VVOLEXISTS = 104, /* volume name already exists */
50 VNOSERVICE = 105, /* volume not currently in service */
51 VOFFLINE = 106, /* volume is currently offline (more info available [VVL-spec]) */
52 VONLINE = 107, /* volume is already online */
54 VOVERQUOTA = 109, /* volume's maximum quota exceeded */
[all …]
/linux/fs/netfs/
H A Dfscache_volume.c2 /* Volume-level cache cookie handling.
20 struct fscache_volume *fscache_get_volume(struct fscache_volume *volume, in fscache_get_volume() argument
25 __refcount_inc(&volume->ref, &ref); in fscache_get_volume()
26 trace_fscache_volume(volume->debug_id, ref + 1, where); in fscache_get_volume()
27 return volume; in fscache_get_volume()
30 struct fscache_volume *fscache_try_get_volume(struct fscache_volume *volume, in fscache_try_get_volume() argument
35 if (!__refcount_inc_not_zero(&volume->ref, &ref)) in fscache_try_get_volume()
38 trace_fscache_volume(volume->debug_id, ref + 1, where); in fscache_try_get_volume()
39 return volume; in fscache_try_get_volume()
43 static void fscache_see_volume(struct fscache_volume *volume, in fscache_see_volume() argument
[all …]
/linux/drivers/md/dm-vdo/indexer/
H A Dvolume.c6 #include "volume.h"
27 * The first block of the volume layout is reserved for the volume header, which is no longer used.
28 * The remainder of the volume is divided into chapters consisting of several pages of records, and
31 * volume storage acts as a circular log of the most recent chapters, with each new chapter
38 * when a record is read, the volume only has to load a single index page and a single record page,
43 * When reading a record, the volume index will indicate which chapter should contain it. The
44 * volume uses the index page map to determine which chapter index page needs to be loaded, and
48 * addition, the volume uses dm-bufio to manage access to the storage, which may allow for
58 * When an index rebuild is necessary, the volume reads each stored chapter to determine which
60 * in-memory volume index.
[all …]
H A Dvolume.h27 * The volume manages deduplication records on permanent storage. The term "volume" can also refer
29 * stored. The volume handles all I/O to this region by reading, caching, and writing chapter pages
57 /* The value of the volume clock when this page was last used */
68 /* The number of volume pages that can be cached */
99 struct volume { struct
127 struct volume **new_volume); argument
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,
[all …]
/linux/fs/cachefiles/
H A Dvolume.c2 /* Volume handling.
14 * Allocate and set up a volume representation. We make sure all the fanout
19 struct cachefiles_volume *volume; in cachefiles_acquire_volume() local
30 volume = kzalloc(sizeof(struct cachefiles_volume), GFP_KERNEL); in cachefiles_acquire_volume()
31 if (!volume) in cachefiles_acquire_volume()
33 volume->vcookie = vcookie; in cachefiles_acquire_volume()
34 volume->cache = cache; in cachefiles_acquire_volume()
35 INIT_LIST_HEAD(&volume->cache_link); in cachefiles_acquire_volume()
51 volume->dentry = vdentry; in cachefiles_acquire_volume()
54 if (!cachefiles_set_volume_xattr(volume)) in cachefiles_acquire_volume()
[all …]
/linux/include/linux/mtd/
H A Dubi.h26 * enum ubi_open_mode - UBI volume open mode constants.
31 * UBI_METAONLY: modify only the volume meta-data,
32 * i.e. the data stored in the volume table, but not in any of volume LEBs.
42 * struct ubi_volume_info - UBI volume description data structure.
43 * @vol_id: volume ID
44 * @ubi_num: UBI device number this volume belongs to
45 * @size: how many physical eraseblocks are reserved for this volume
46 * @used_bytes: how many bytes of data this volume contains
47 * @used_ebs: how many physical eraseblocks of this volume actually contain any
49 * @vol_type: volume type (%UBI_DYNAMIC_VOLUME or %UBI_STATIC_VOLUME)
[all …]
/linux/drivers/mtd/ubi/
H A Dubi-media.h30 /* Volume identifier header magic number (ASCII "UBI!") */
34 * Volume type constants used in the volume identifier header.
36 * @UBI_VID_DYNAMIC: dynamic volume
37 * @UBI_VID_STATIC: static volume
45 * Volume flags used in the volume table record.
47 * @UBI_VTBL_AUTORESIZE_FLG: auto-resize this volume
48 * @UBI_VTBL_SKIP_CRC_CHECK_FLG: skip the CRC check done on a static volume at
54 * %UBI_VTBL_AUTORESIZE_FLG flag can be set only for one volume in the volume
55 * table. UBI automatically re-sizes the volume which has this flag and makes
56 * the volume to be of largest possible size. This means that if after the
[all …]
H A Dvtbl.c10 * This file includes volume table manipulation code. The volume table is an
11 * on-flash table containing volume meta-data like name, number of reserved
12 * physical eraseblocks, type, etc. The volume table is stored in the so-called
13 * "layout volume".
15 * The layout volume is an internal volume which is organized as follows. It
17 * eraseblock stores one volume table copy, i.e. LEB 0 and LEB 1 duplicate each
18 * other. This redundancy guarantees robustness to unclean reboots. The volume
19 * table is basically an array of volume table records. Each record contains
20 * full information about the volume and protected by a CRC checksum. Note,
21 * nowadays we use the atomic LEB change operation when updating the volume
[all …]
/linux/sound/soc/codecs/
H A Dwm5100-tables.c872 { 0x0319, 0x0022 }, /* R793 - Input Volume Ramp */
873 { 0x0320, 0x0180 }, /* R800 - ADC Digital Volume 1L */
874 { 0x0321, 0x0180 }, /* R801 - ADC Digital Volume 1R */
875 { 0x0322, 0x0180 }, /* R802 - ADC Digital Volume 2L */
876 { 0x0323, 0x0180 }, /* R803 - ADC Digital Volume 2R */
877 { 0x0324, 0x0180 }, /* R804 - ADC Digital Volume 3L */
878 { 0x0325, 0x0180 }, /* R805 - ADC Digital Volume 3R */
879 { 0x0326, 0x0180 }, /* R806 - ADC Digital Volume 4L */
880 { 0x0327, 0x0180 }, /* R807 - ADC Digital Volume 4R */
885 { 0x0410, 0x0080 }, /* R1040 - Out Volume 1L */
[all …]
H A Dcs42l73.c62 { 21, 0x00 }, /* r15 - MICA Preamp, PGA Volume */
63 { 22, 0x00 }, /* r16 - MICB Preamp, PGA Volume */
64 { 23, 0x00 }, /* r17 - Input Path A Digital Volume */
65 { 24, 0x00 }, /* r18 - Input Path B Digital Volume */
67 { 26, 0x00 }, /* r1A - HP/LO Left Digital Volume */
68 { 27, 0x00 }, /* r1B - HP/LO Right Digital Volume */
69 { 28, 0x00 }, /* r1C - Speakerphone Digital Volume */
70 { 29, 0x00 }, /* r1D - Ear/SPKLO Digital Volume */
71 { 30, 0x00 }, /* r1E - HP Left Analog Volume */
72 { 31, 0x00 }, /* r1F - HP Right Analog Volume */
[all …]
/linux/drivers/mfd/
H A Dwm8997-tables.c248 { 0x00000309, 0x0022 }, /* R777 - Input Volume Ramp */
250 { 0x00000311, 0x0180 }, /* R785 - ADC Digital Volume 1L */
253 { 0x00000315, 0x0180 }, /* R789 - ADC Digital Volume 1R */
256 { 0x00000319, 0x0180 }, /* R793 - ADC Digital Volume 2L */
259 { 0x0000031D, 0x0180 }, /* R797 - ADC Digital Volume 2R */
263 { 0x00000409, 0x0022 }, /* R1033 - Output Volume Ramp */
265 { 0x00000411, 0x0180 }, /* R1041 - DAC Digital Volume 1L */
266 { 0x00000412, 0x0080 }, /* R1042 - DAC Volume Limit 1L */
269 { 0x00000415, 0x0180 }, /* R1045 - DAC Digital Volume 1R */
270 { 0x00000416, 0x0080 }, /* R1046 - DAC Volume Limit 1R */
[all …]
H A Dwm5102-tables.c344 { 0x00000309, 0x0022 }, /* R777 - Input Volume Ramp */
346 { 0x00000311, 0x0180 }, /* R785 - ADC Digital Volume 1L */
349 { 0x00000315, 0x0180 }, /* R789 - ADC Digital Volume 1R */
352 { 0x00000319, 0x0180 }, /* R793 - ADC Digital Volume 2L */
355 { 0x0000031D, 0x0180 }, /* R797 - ADC Digital Volume 2R */
358 { 0x00000321, 0x0180 }, /* R801 - ADC Digital Volume 3L */
361 { 0x00000325, 0x0180 }, /* R805 - ADC Digital Volume 3R */
365 { 0x00000409, 0x0022 }, /* R1033 - Output Volume Ramp */
367 { 0x00000411, 0x0180 }, /* R1041 - DAC Digital Volume 1L */
368 { 0x00000412, 0x0081 }, /* R1042 - DAC Volume Limit 1L */
[all …]
H A Dcs47l24-tables.c257 { 0x00000309, 0x0022 }, /* R777 - Input Volume Ramp */
260 { 0x00000311, 0x0180 }, /* R785 - ADC Digital Volume 1L */
263 { 0x00000315, 0x0180 }, /* R789 - ADC Digital Volume 1R */
266 { 0x00000319, 0x0180 }, /* R793 - ADC Digital Volume 2L */
269 { 0x0000031D, 0x0180 }, /* R797 - ADC Digital Volume 2R */
273 { 0x00000409, 0x0022 }, /* R1033 - Output Volume Ramp */
275 { 0x00000411, 0x0180 }, /* R1041 - DAC Digital Volume 1L */
276 { 0x00000412, 0x0081 }, /* R1042 - DAC Volume Limit 1L */
278 { 0x00000415, 0x0180 }, /* R1045 - DAC Digital Volume 1R */
279 { 0x00000416, 0x0081 }, /* R1046 - DAC Volume Limit 1R */
[all …]
H A Dcs47l92-tables.c223 { 0x00000309, 0x0022 }, /* R777 (0x309) - Input Volume Ramp */
226 { 0x00000311, 0x0180 }, /* R785 (0x311) - ADC Digital Volume 1L */
230 { 0x00000315, 0x0180 }, /* R789 (0x315) - ADC Digital Volume 1R */
234 { 0x00000319, 0x0180 }, /* R793 (0x319) - ADC Digital Volume 2L */
238 { 0x0000031d, 0x0180 }, /* R797 (0x31d) - ADC Digital Volume 2R */
242 { 0x00000321, 0x0180 }, /* R801 (0x321) - ADC Digital Volume 3L */
246 { 0x00000325, 0x0180 }, /* R805 (0x325) - ADC Digital Volume 3R */
250 { 0x00000329, 0x0180 }, /* R809 (0x329) - ADC Digital Volume 4L */
254 { 0x0000032d, 0x0180 }, /* R813 (0x32d) - ADC Digital Volume 4R */
259 { 0x00000409, 0x0022 }, /* R1033 (0x409) - Output Volume Ramp */
[all …]
H A Dcs47l35-tables.c140 { 0x00000309, 0x0022 }, /* R777 (0x309) - Input Volume Ramp */
143 { 0x00000311, 0x0180 }, /* R785 (0x311) - ADC Digital Volume 1L */
146 { 0x00000315, 0x0180 }, /* R789 (0x315) - ADC Digital Volume 1R */
149 { 0x00000319, 0x0180 }, /* R793 (0x319) - ADC Digital Volume 2L */
152 { 0x0000031d, 0x0180 }, /* R797 (0x31d) - ADC Digital Volume 2R */
156 { 0x00000409, 0x0022 }, /* R1033 (0x409) - Output Volume Ramp */
158 { 0x00000411, 0x0180 }, /* R1041 (0x411) - DAC Digital Volume 1L */
161 { 0x00000415, 0x0180 }, /* R1045 (0x415) - DAC Digital Volume 1R */
164 { 0x00000429, 0x0180 }, /* R1065 (0x429) - DAC Digital Volume 4L */
167 { 0x00000431, 0x0180 }, /* R1073 (0x431) - DAC Digital Volume 5L */
[all …]
H A Dwm8998-tables.c275 { 0x00000309, 0x0022 }, /* R777 - Input Volume Ramp */
278 { 0x00000311, 0x0180 }, /* R785 - ADC Digital Volume 1L */
281 { 0x00000315, 0x0180 }, /* R789 - ADC Digital Volume 1R */
284 { 0x00000319, 0x0180 }, /* R793 - ADC Digital Volume 2L */
288 { 0x00000409, 0x0022 }, /* R1033 - Output Volume Ramp */
290 { 0x00000411, 0x0180 }, /* R1041 - DAC Digital Volume 1L */
293 { 0x00000415, 0x0180 }, /* R1045 - DAC Digital Volume 1R */
296 { 0x00000419, 0x0180 }, /* R1049 - DAC Digital Volume 2L */
299 { 0x0000041D, 0x0180 }, /* R1053 - DAC Digital Volume 2R */
302 { 0x00000421, 0x0180 }, /* R1057 - DAC Digital Volume 3L */
[all …]
H A Dwm5110-tables.c775 { 0x00000309, 0x0022 }, /* R777 - Input Volume Ramp */
778 { 0x00000311, 0x0180 }, /* R785 - ADC Digital Volume 1L */
781 { 0x00000315, 0x0180 }, /* R789 - ADC Digital Volume 1R */
784 { 0x00000319, 0x0180 }, /* R793 - ADC Digital Volume 2L */
787 { 0x0000031D, 0x0180 }, /* R797 - ADC Digital Volume 2R */
790 { 0x00000321, 0x0180 }, /* R801 - ADC Digital Volume 3L */
793 { 0x00000325, 0x0180 }, /* R805 - ADC Digital Volume 3R */
796 { 0x00000329, 0x0180 }, /* R809 - ADC Digital Volume 4L */
799 { 0x0000032D, 0x0180 }, /* R813 - ADC Digital Volume 4R */
803 { 0x00000409, 0x0022 }, /* R1033 - Output Volume Ramp */
[all …]
/linux/include/uapi/mtd/
H A Dubi-user.h43 * UBI volume creation
50 * UBI volume deletion
53 * To delete a volume, the %UBI_IOCRMVOL ioctl command of the UBI character
54 * device should be used. A pointer to the 32-bit volume ID hast to be passed
57 * UBI volume re-size
60 * To re-size a volume, the %UBI_IOCRSVOL ioctl command of the UBI character
71 * UBI volume update
74 * Volume update should be done via the %UBI_IOCVOLUP ioctl command of the
75 * corresponding UBI volume character device. A pointer to a 64-bit update
77 * this number of bytes to the volume character device. The update is finished
[all …]
/linux/include/sound/
H A Dak4531_codec.h25 #define AK4531_LMASTER 0x00 /* master volume left */
26 #define AK4531_RMASTER 0x01 /* master volume right */
27 #define AK4531_LVOICE 0x02 /* channel volume left */
28 #define AK4531_RVOICE 0x03 /* channel volume right */
29 #define AK4531_LFM 0x04 /* FM volume left */
30 #define AK4531_RFM 0x05 /* FM volume right */
31 #define AK4531_LCD 0x06 /* CD volume left */
32 #define AK4531_RCD 0x07 /* CD volume right */
33 #define AK4531_LLINE 0x08 /* LINE volume left */
34 #define AK4531_RLINE 0x09 /* LINE volume right */
[all …]
/linux/sound/pci/emu10k1/
H A Dp17v.h85 #define P17V_CAPTURE_VOL_H 0x4c /* P17v capture volume control */
86 #define P17V_CAPTURE_VOL_L 0x4d /* P17v capture volume control */
92 #define P17V_MIXER_AC97_10K1_VOL_L 0x61 /* 10K to Mixer_AC97 input volume control */
93 #define P17V_MIXER_AC97_10K1_VOL_H 0x62 /* 10K to Mixer_AC97 input volume control */
94 #define P17V_MIXER_AC97_P17V_VOL_L 0x63 /* P17V to Mixer_AC97 input volume control */
95 #define P17V_MIXER_AC97_P17V_VOL_H 0x64 /* P17V to Mixer_AC97 input volume control */
96 #define P17V_MIXER_AC97_SRP_REC_VOL_L 0x65 /* SRP Record to Mixer_AC97 input volume control */
97 #define P17V_MIXER_AC97_SRP_REC_VOL_H 0x66 /* SRP Record to Mixer_AC97 input volume control */
99 #define P17V_MIXER_Spdif_10K1_VOL_L 0x69 /* 10K to Mixer_Spdif input volume control */
100 #define P17V_MIXER_Spdif_10K1_VOL_H 0x6A /* 10K to Mixer_Spdif input volume control */
[all …]

12345678910>>...50