Searched refs:volume (Results 1 - 25 of 172) sorted by relevance

1234567

/linux-master/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)
32 if (p->vid < volume->vid) {
34 } else if (p->vid > volume->vid) {
38 volume = p;
42 set_bit(AFS_VOLUME_RM_TREE, &volume->flags);
43 rb_replace_node_rcu(&p->cell_node, &volume->cell_node, &cell->volumes);
47 rb_link_node_rcu(&volume
20 afs_insert_volume_into_cell(struct afs_cell *cell, struct afs_volume *volume) argument
57 afs_remove_volume_from_cell(struct afs_volume *volume) argument
80 struct afs_volume *volume; local
135 struct afs_volume *candidate, *volume; local
199 struct afs_volume *volume; local
237 struct afs_volume *volume = container_of(work, struct afs_volume, destructor); local
260 afs_try_get_volume(struct afs_volume *volume, enum afs_volume_trace reason) argument
274 afs_get_volume(struct afs_volume *volume, enum afs_volume_trace reason) argument
290 afs_put_volume(struct afs_volume *volume, enum afs_volume_trace reason) argument
307 afs_activate_volume(struct afs_volume *volume) argument
336 afs_deactivate_volume(struct afs_volume *volume) argument
352 afs_update_volume_status(struct afs_volume *volume, struct key *key) argument
421 afs_check_volume_status(struct afs_volume *volume, struct afs_operation *op) argument
[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 informatio
122 const struct afs_volume *volume = vnode->volume; local
144 __afs_is_server_excluded(struct afs_operation *op, struct afs_volume *volume) argument
170 afs_is_server_excluded(struct afs_operation *op, struct afs_volume *volume) argument
188 afs_update_volume_creation_time(struct afs_operation *op, struct afs_volume *volume) argument
255 afs_update_volume_update_time(struct afs_operation *op, struct afs_volume *volume) argument
294 afs_update_volume_times(struct afs_operation *op, struct afs_volume *volume) argument
324 struct afs_volume *volume = op->volume; local
384 struct afs_volume *volume = vnode->volume; local
[all...]
H A Dcallback.c36 static void afs_volume_init_callback(struct afs_volume *volume) argument
40 down_read(&volume->open_mmaps_lock);
42 list_for_each_entry(vnode, &volume->open_mmaps, cb_mmap_link) {
43 if (vnode->cb_v_check != atomic_read(&volume->cb_v_break)) {
49 up_read(&volume->open_mmaps_lock);
64 se->volume->cb_expires_at = AFS_NO_CB_PROMISE;
65 trace_afs_cb_v_break(se->volume->vid, atomic_read(&se->volume->cb_v_break),
67 if (!list_empty(&se->volume->open_mmaps))
68 afs_volume_init_callback(se->volume);
114 struct afs_volume *volume = NULL; local
188 afs_break_one_callback(struct afs_server *server, struct afs_volume *volume, struct afs_fid *fid) argument
218 struct afs_volume *volume; local
[all...]
H A Dserver_list.c27 struct afs_server_list *afs_alloc_server_list(struct afs_volume *volume, argument
33 unsigned int type_mask = 1 << volume->type;
82 server = afs_lookup_server(volume->cell, key, &vldb->fs_server[i],
100 afs_put_server(volume->cell->net, server,
111 slist->servers[j].volume = volume;
125 afs_put_serverlist(volume->cell->net, slist);
155 * Attach a volume to the servers it is going to use.
157 void afs_attach_volume_to_servers(struct afs_volume *volume, struct afs_server_list *slist) argument
164 down_write(&volume
187 afs_reattach_volume_to_servers(struct afs_volume *volume, struct afs_server_list *new, struct afs_server_list *old) argument
235 afs_detach_volume_from_servers(struct afs_volume *volume, struct afs_server_list *slist) argument
[all...]
H A Dsuper.c159 struct afs_volume *volume = as->volume; local
169 switch (volume->type) {
174 if (volume->type_force)
183 seq_printf(m, "%c%s:%s%s", pref, cell->name, volume->name, suf);
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[
359 struct afs_volume *volume; local
[all...]
H A Dvl_alias.c15 * Sample a volume.
20 struct afs_volume *volume; local
30 volume = afs_create_volume(&fc);
31 _leave(" = %p", volume);
32 return volume;
119 continue; /* Ignore cells that don't have a root.cell volume. */
136 * Query the new cell for a volume from a cell we're already using.
141 struct afs_volume *volume, *pvol = NULL; local
144 /* Arbitrarily pick a volume from the list. */
157 volume
[all...]
H A Dfs_operation.c16 * Create an operation against a volume.
18 struct afs_operation *afs_alloc_operation(struct key *key, struct afs_volume *volume) argument
29 key = afs_request_key(volume->cell);
39 op->volume = afs_get_volume(volume, afs_volume_trace_get_new_op);
40 op->net = volume->cell->net;
41 op->cb_v_break = atomic_read(&volume->cb_v_break);
42 op->pre_volsync.creation = volume->creation_time;
43 op->pre_volsync.update = volume->update_time;
152 op->cb_v_break = atomic_read(&op->volume
[all...]
H A Drotate.c43 read_lock(&op->volume->servers_lock);
45 rcu_dereference_protected(op->volume->servers,
46 lockdep_is_held(&op->volume->servers_lock)));
47 read_unlock(&op->volume->servers_lock);
112 * Post volume busy note.
126 op->volume->vid, op->volume->name, &op->server->uuid, m);
165 op->debug_id, op->nr_iterations, op->volume->vid,
217 * might involve the server being busy or the volume having been moved.
228 /* This fileserver doesn't know about the volume
[all...]
/linux-master/fs/netfs/
H A Dfscache_volume.c20 struct fscache_volume *fscache_get_volume(struct fscache_volume *volume, argument
25 __refcount_inc(&volume->ref, &ref);
26 trace_fscache_volume(volume->debug_id, ref + 1, where);
27 return volume;
30 static void fscache_see_volume(struct fscache_volume *volume, argument
33 int ref = refcount_read(&volume->ref);
35 trace_fscache_volume(volume->debug_id, ref, where);
39 * Pin the cache behind a volume so that we can access it.
41 static void __fscache_begin_volume_access(struct fscache_volume *volume, argument
47 n_accesses = atomic_inc_return(&volume
83 fscache_begin_volume_access(struct fscache_volume *volume, struct fscache_cookie *cookie, enum fscache_access_trace why) argument
106 fscache_end_volume_access(struct fscache_volume *volume, struct fscache_cookie *cookie, enum fscache_access_trace why) argument
136 fscache_is_acquire_pending(struct fscache_volume *volume) argument
204 struct fscache_volume *volume; local
272 struct fscache_volume *volume = local
290 fscache_create_volume(struct fscache_volume *volume, bool wait) argument
324 struct fscache_volume *volume; local
341 fscache_wake_pending_volume(struct fscache_volume *volume, struct hlist_bl_head *h) argument
360 fscache_unhash_volume(struct fscache_volume *volume) argument
378 fscache_free_volume(struct fscache_volume *volume) argument
409 fscache_put_volume(struct fscache_volume *volume, enum fscache_volume_trace where) argument
427 __fscache_relinquish_volume(struct fscache_volume *volume, const void *coherency_data, bool invalidate) argument
451 fscache_withdraw_volume(struct fscache_volume *volume) argument
474 struct fscache_volume *volume; local
[all...]
/linux-master/drivers/md/dm-vdo/indexer/
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);
129 void uds_free_volume(struct volume *volume);
131 int __must_check uds_replace_volume_storage(struct volume *volum
[all...]
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 read
355 enqueue_page_read(struct volume *volume, struct uds_request *request, u32 physical_page) argument
402 wait_to_reserve_read_queue_entry(struct volume *volume) argument
417 init_chapter_index_page(const struct volume *volume, u8 *index_page, u32 chapter, u32 index_page_number, struct delta_index_page *chapter_index_page) argument
459 initialize_index_page(const struct volume *volume, u32 physical_page, struct cached_page *page) argument
506 search_page(struct cached_page *page, const struct volume *volume, struct uds_request *request, u32 physical_page) argument
541 process_entry(struct volume *volume, struct queued_read *entry) argument
599 release_queued_requests(struct volume *volume, struct queued_read *entry, int result) argument
625 struct volume *volume = arg; local
693 read_page_locked(struct volume *volume, u32 physical_page, struct cached_page **page_ptr) argument
733 get_volume_page_locked(struct volume *volume, u32 physical_page, struct cached_page **page_ptr) argument
753 get_volume_page_protected(struct volume *volume, struct uds_request *request, u32 physical_page, struct cached_page **page_ptr) argument
806 get_volume_page(struct volume *volume, u32 chapter, u32 page_number, struct cached_page **page_ptr) argument
818 uds_get_volume_record_page(struct volume *volume, u32 chapter, u32 page_number, u8 **data_ptr) argument
830 uds_get_volume_index_page(struct volume *volume, u32 chapter, u32 page_number, struct delta_index_page **index_page_ptr) argument
846 search_cached_index_page(struct volume *volume, struct uds_request *request, u32 chapter, u32 index_page_number, u16 *record_page_number) argument
880 uds_search_cached_record_page(struct volume *volume, struct uds_request *request, u32 chapter, u16 record_page_number, bool *found) argument
924 uds_prefetch_volume_chapter(const struct volume *volume, u32 chapter) argument
932 uds_read_chapter_index_from_volume(const struct volume *volume, u64 virtual_chapter, struct dm_buffer *volume_buffers[], struct delta_index_page index_pages[]) argument
965 uds_search_volume_page_cache(struct volume *volume, struct uds_request *request, bool *found) argument
992 uds_search_volume_page_cache_for_rebuild(struct volume *volume, const struct uds_record_name *name, u64 virtual_chapter, bool *found) argument
1047 uds_forget_chapter(struct volume *volume, u64 virtual_chapter) argument
1065 donate_index_page_locked(struct volume *volume, u32 physical_chapter, u32 index_page_number, struct dm_buffer *page_buffer) argument
1095 write_index_pages(struct volume *volume, u32 physical_chapter_number, struct open_chapter_index *chapter_index) argument
1180 encode_record_page(const struct volume *volume, const struct uds_volume_record records[], u8 record_page[]) argument
1205 write_record_pages(struct volume *volume, u32 physical_chapter_number, const struct uds_volume_record *records) argument
1244 uds_write_chapter(struct volume *volume, struct open_chapter_index *chapter_index, const struct uds_volume_record *records) argument
1267 probe_chapter(struct volume *volume, u32 chapter_number, u64 *virtual_chapter_number) argument
1326 find_real_end_of_volume(struct volume *volume, u32 limit, u32 *limit_ptr) argument
1351 find_chapter_limits(struct volume *volume, u32 chapter_limit, u64 *lowest_vcn, u64 *highest_vcn) argument
1449 uds_find_volume_chapter_boundaries(struct volume *volume, u64 *lowest_vcn, u64 *highest_vcn, bool *is_empty) argument
1466 uds_replace_volume_storage(struct volume *volume, struct index_layout *layout, struct block_device *bdev) argument
1544 struct volume *volume = NULL; local
1663 uds_free_volume(struct volume *volume) argument
[all...]
H A Dopen-chapter.h12 #include "volume.h"
17 * committed to the volume.
66 unsigned int zone_count, struct volume *volume,
H A Dindex.c19 * When searching for deduplication records, the index first searches the volume index, and then
23 * representation of the chapter. Finally, if the volume index does not find a record and the index
36 * The last zone to close the chapter also removes the oldest chapter from the volume index.
38 * means that those zones will never ask the volume index about it. No zone is allowed to get more
80 return uds_is_chapter_sparse(zone->index->volume->geometry,
157 !uds_is_sparse_index_geometry(zone->index->volume->geometry))
284 expire_chapters = uds_chapters_to_expire(zone->index->volume->geometry,
292 uds_forget_chapter(zone->index->volume, expiring++);
348 struct volume *volume; local
367 struct volume *volume; local
[all...]
/linux-master/fs/cachefiles/
H A Dvolume.c14 * Allocate and set up a volume representation. We make sure all the fanout
19 struct cachefiles_volume *volume; local
30 volume = kzalloc(sizeof(struct cachefiles_volume), GFP_KERNEL);
31 if (!volume)
33 volume->vcookie = vcookie;
34 volume->cache = cache;
35 INIT_LIST_HEAD(&volume->cache_link);
51 volume->dentry = vdentry;
54 if (!cachefiles_set_volume_xattr(volume))
57 ret = cachefiles_check_volume_xattr(volume);
108 __cachefiles_free_volume(struct cachefiles_volume *volume) argument
124 struct cachefiles_volume *volume = vcookie->cache_priv; local
134 cachefiles_withdraw_volume(struct cachefiles_volume *volume) argument
[all...]
H A Dxattr.c33 __u8 data[]; /* netfs volume coherency data */
177 struct cachefiles_cache *cache = object->volume->cache;
189 * Set the state xattr on a volume directory.
191 bool cachefiles_set_volume_xattr(struct cachefiles_volume *volume) argument
194 unsigned int len = volume->vcookie->coherency_len;
195 const void *p = volume->vcookie->coherency;
196 struct dentry *dentry = volume->dentry;
199 _enter("%x,#%d", volume->vcookie->debug_id, len);
206 memcpy(buf->data, p, volume->vcookie->coherency_len);
215 trace_cachefiles_vol_coherency(volume, d_inod
233 cachefiles_check_volume_xattr(struct cachefiles_volume *volume) argument
[all...]
H A DMakefile15 volume.o \
/linux-master/include/sound/
H A Dpt2258.h3 * ALSA Driver for the PT2258 volume controller.
16 unsigned char volume[6]; member in struct:snd_pt2258
/linux-master/sound/soc/intel/avs/
H A Dcontrol.h17 long volume; member in struct:avs_control_data
H A Dcontrol.c71 ucontrol->value.integer.value[0] = ctl_data->volume;
83 long *volume = &ctl_data->volume; local
95 if (*volume != ctlvol) {
96 *volume = ctlvol;
103 dspvol.target_volume = *volume;
/linux-master/drivers/firmware/efi/libstub/
H A Dfile.c37 static efi_status_t efi_open_file(efi_file_protocol_t *volume, argument
54 status = efi_call_proto(volume, open, &fh, fi->filename,
90 efi_err("Failed to open volume\n");
128 static efi_status_t efi_open_device_path(efi_file_protocol_t **volume, argument
171 status = efi_call_proto(io, open_volume, volume);
173 efi_err("Failed to open volume\n");
195 efi_file_protocol_t *volume = NULL; local
227 status = efi_open_device_path(&volume, &fi);
229 /* try the volume that holds the kernel itself */
230 status = efi_open_volume(image, &volume);
[all...]
/linux-master/include/linux/
H A Ddtlk.h74 unsigned char volume; /* nV; 0-9 */ member in struct:dtlk_settings
H A Dfscache-cache.h55 /* Acquire a volume */
56 void (*acquire_volume)(struct fscache_volume *volume);
58 /* Free the cache's data attached to a volume */
59 void (*free_volume)(struct fscache_volume *volume);
95 extern void fscache_withdraw_volume(struct fscache_volume *volume);
100 extern void fscache_end_volume_access(struct fscache_volume *volume,
/linux-master/drivers/accessibility/speakup/
H A Dspeakup_dtlk.h49 u_char volume; /* nV; 0-9 */ member in struct:synth_settings
/linux-master/sound/ppc/
H A Dbeep.c21 int volume; /* mixer volume: 0-100 */ member in struct:pmac_beep
22 int volume_play; /* currently playing volume */
136 if (hz == beep->hz && beep->volume == beep->volume_play) {
146 p[0] = p[1] = beep_wform[j >> 8] * beep->volume;
150 beep->volume_play = beep->volume;
161 * beep volume mixer
180 ucontrol->value.integer.value[0] = chip->beep->volume;
191 oval = chip->beep->volume;
195 chip->beep->volume
[all...]
/linux-master/include/trace/events/
H A Dfscache.h240 __field(unsigned int, volume )
246 __entry->volume = volume_debug_id;
252 __entry->volume,
354 __field(unsigned int, volume )
362 __entry->volume = volume_debug_id;
370 __entry->volume,
413 __field(unsigned int, volume )
420 __entry->volume = cookie->volume->debug_id;
421 __entry->v_ref = refcount_read(&cookie->volume
[all...]

Completed in 416 milliseconds

1234567