Home
last modified time | relevance | path

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

12345678910>>...58

/Linux-v6.6/fs/afs/
Dvolume.c2 /* AFS volume management
15 * Insert a volume into a cell. If there's an existing volume record, that is
19 struct afs_volume *volume) in afs_insert_volume_into_cell() argument
30 if (p->vid < volume->vid) { in afs_insert_volume_into_cell()
32 } else if (p->vid > volume->vid) { in afs_insert_volume_into_cell()
35 volume = afs_get_volume(p, afs_volume_trace_get_cell_insert); in afs_insert_volume_into_cell()
40 rb_link_node_rcu(&volume->cell_node, parent, pp); in afs_insert_volume_into_cell()
41 rb_insert_color(&volume->cell_node, &cell->volumes); in afs_insert_volume_into_cell()
42 hlist_add_head_rcu(&volume->proc_link, &cell->proc_volumes); in afs_insert_volume_into_cell()
46 return volume; in afs_insert_volume_into_cell()
[all …]
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 …]
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 …]
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 …]
Dafs_vl.h2 /* AFS Volume Location Service client interface
13 #define AFS_VL_PORT 7003 /* volume location service port */
14 #define VL_SERVICE 52 /* RxRPC service ID for the Volume Location service */
24 YVLGETENDPOINTS = 64002, /* YFS Get endpoints for file/volume server */
30 AFSVL_IDEXIST = 363520, /* Volume Id entry exists in vl database */
32 AFSVL_NAMEEXIST = 363522, /* Volume name entry exists in vl database */
37 AFSVL_BADNAME = 363527, /* Volume name is illegal */
39 AFSVL_BADVOLTYPE = 363529, /* Bad volume type */
52 AFSVL_BADVOLOPER = 363542, /* Bad volume operation code */
77 char name[65]; /* name of volume (with NUL char) */
[all …]
Dcallback.c81 vnode->cb_v_break = vnode->volume->cb_v_break; in __afs_break_callback()
106 * Look up a volume by volume ID under RCU conditions.
111 struct afs_volume *volume = NULL; in afs_lookup_volume_rcu() local
124 volume = rb_entry(p, struct afs_volume, cell_node); in afs_lookup_volume_rcu()
126 if (volume->vid < vid) in afs_lookup_volume_rcu()
128 else if (volume->vid > vid) in afs_lookup_volume_rcu()
132 volume = NULL; in afs_lookup_volume_rcu()
138 return volume; in afs_lookup_volume_rcu()
147 static void afs_break_one_callback(struct afs_volume *volume, in afs_break_one_callback() argument
155 /* The callback break applies to an entire volume. */ in afs_break_one_callback()
[all …]
/Linux-v6.6/fs/fscache/
Dvolume.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 static void fscache_see_volume(struct fscache_volume *volume, in fscache_see_volume() argument
33 int ref = refcount_read(&volume->ref); in fscache_see_volume()
35 trace_fscache_volume(volume->debug_id, ref, where); in fscache_see_volume()
39 * Pin the cache behind a volume so that we can access it.
41 static void __fscache_begin_volume_access(struct fscache_volume *volume, in __fscache_begin_volume_access() argument
[all …]
/Linux-v6.6/fs/cachefiles/
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-v6.6/drivers/mtd/ubi/
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 …]
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 …]
Dvmt.c9 * This file contains implementation of volume creation, deletion, updating and
46 * A. process 1 opens a sysfs file related to volume Y, say
48 * B. process 2 removes volume Y;
52 * out that the volume was removed from the @ubi->volumes array.
66 /* Take a reference to prevent volume removal */ in vol_attribute_show()
96 /* We've done the operation, drop volume and UBI device references */ in vol_attribute_show()
117 /* Release method for volume devices */
128 * ubi_create_volume - create volume.
130 * @req: volume creation request
132 * This function creates volume described by @req. If @req->vol_id id
[all …]
/Linux-v6.6/include/linux/mtd/
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-v6.6/sound/soc/codecs/
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 …]
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-v6.6/drivers/mfd/
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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-v6.6/include/uapi/mtd/
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-v6.6/include/sound/
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-v6.6/sound/pci/emu10k1/
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 …]
/Linux-v6.6/sound/ppc/
Dburgundy.c121 * Burgundy volume: 0 - 100, stereo, word reg
125 long *volume, int shift) in snd_pmac_burgundy_write_volume() argument
129 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()
144 long *volume, int shift) in snd_pmac_burgundy_read_volume() argument
150 volume[0] = wvolume & 0xff; in snd_pmac_burgundy_read_volume()
151 if (volume[0] >= BURGUNDY_VOLUME_OFFSET) in snd_pmac_burgundy_read_volume()
152 volume[0] -= BURGUNDY_VOLUME_OFFSET; in snd_pmac_burgundy_read_volume()
[all …]

12345678910>>...58