/linux-master/fs/erofs/ |
H A D | internal.h | 98 struct fscache_volume *volume; member in struct:erofs_domain 166 u8 uuid[16]; /* 128-bit uuid for volume */ 167 u8 volume_name[16]; /* volume name */ 176 struct fscache_volume *volume; member in struct:erofs_sb_info
|
H A D | fscache.c | 400 fscache_relinquish_volume(domain->volume, NULL, false); 413 struct fscache_volume *volume; local 422 volume = fscache_acquire_volume(name, NULL, NULL, 0); 423 if (IS_ERR_OR_NULL(volume)) { 424 erofs_err(sb, "failed to register volume for %s", name); 425 ret = volume ? PTR_ERR(volume) : -EOPNOTSUPP; 426 volume = NULL; 429 sbi->volume = volume; 498 struct fscache_volume *volume = EROFS_SB(sb)->volume; local [all...] |
/linux-master/fs/ntfs3/ |
H A D | super.c | 13 * lbo - logical byte offset - Absolute position inside volume. 24 * ntfs allows up to 2^64 clusters per volume. 40 * The maximum volume size in this case is 2^32 * 2^21 = 2^53 = 8P 436 if (ro_rw && (sbi->volume.flags & VOLUME_FLAG_DIRTY) && 472 sbi->volume.major_ver, sbi->volume.minor_ver, 476 sbi->volume.real_dirty ? "dirty" : "clean", 477 (sbi->volume.flags & VOLUME_FLAG_DIRTY) ? "dirty" : "clean"); 493 seq_printf(m, "%s\n", sbi->volume.label); 616 if (sbi->volume [all...] |
H A D | ntfs_fs.h | 108 unsigned force : 1; /* RW mount dirty volume. */ 285 } volume; member in struct:ntfs_sb_info 897 return sbi->volume.major_ver >= 3;
|
/linux-master/sound/oss/dmasound/ |
H A D | dmasound_paula.c | 83 static int AmiSetVolume(int volume); 427 static int AmiSetVolume(int volume) argument 429 dmasound.volume_left = VOLUME_VOXWARE_TO_AMI(volume & 0xff); 431 dmasound.volume_right = VOLUME_VOXWARE_TO_AMI((volume & 0xff00) >> 8); 499 /* We can play pseudo 14-bit only with the maximum volume */ 503 custom.aud[3].audvol = 1; /* restoring volume here helps a bit */
|
/linux-master/drivers/s390/block/ |
H A D | dasd_eckd.c | 1600 prssdp->volume = private->conf.ned->unit_addr; 1633 "Reading the volume storage information failed with rc=%d", rc); 1674 * The value of space allocated by an ESE volume may have changed and is 3241 * When data is read from an unformatted area of an ESE volume, this function 3744 * Release allocated space for a given range or an entire volume. 3797 ras_data->flags.vol_type = 0; /* CKD volume */ 3798 /* Release specified extents or entire volume */ 5990 prssdp->volume = private->conf.ned->unit_addr;
|
/linux-master/fs/netfs/ |
H A D | fscache_io.c | 30 if (!fscache_cache_is_live(cookie->volume->cache)) { 61 return cookie->volume->cache->ops->begin_operation(cres, want_state); 118 if (!cookie->volume->cache->ops->begin_operation(cres, want_state)) 283 cookie->volume->cache->ops->resize_cookie(&cres, new_size);
|
/linux-master/fs/afs/ |
H A D | validation.c | 2 /* 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 D | dir.c | 616 .fid.vid = as->volume->vid 761 struct afs_volume *volume = dvnode->volume; local 766 if (!test_bit(AFS_VOLUME_MAYBE_NO_IBULK, &volume->flags)) 770 slist = rcu_dereference(volume->servers); 839 op = afs_alloc_operation(NULL, dvnode->volume); 1009 key = afs_request_key(dvnode->volume->cell); 1118 key = afs_request_key(AFS_FS_S(dentry->d_sb)->volume->cell); 1362 op = afs_alloc_operation(NULL, dvnode->volume); 1447 op = afs_alloc_operation(NULL, dvnode->volume); [all...] |
H A D | rotate.c | 43 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/drivers/media/pci/bt8xx/ |
H A D | bttvp.h | 335 void (*volume_gpio)(struct bttv *btv, __u16 volume);
|
/linux-master/drivers/media/i2c/ |
H A D | msp3400-driver.c | 334 /* audio volume cluster */ 340 dev_dbg_lvl(&client->dev, 1, msp_debug, "mute=%s scanning=%s volume=%d\n", 343 state->volume->val); 390 /* Force an update of the volume/mute cluster */ 391 v4l2_ctrl_lock(state->volume); 392 state->volume->val = state->volume->cur.val; 394 msp_s_ctrl(state->volume); 395 v4l2_ctrl_unlock(state->volume); 756 /* Has scart2 a volume contro [all...] |
H A D | msp3400-driver.h | 101 /* volume cluster */ 102 struct v4l2_ctrl *volume; member in struct:msp_state::__anon322
|
/linux-master/sound/soc/sof/ |
H A D | ipc3-topology.c | 17 /* Full volume for default values */ 119 /* volume */ 745 struct sof_ipc_comp_volume *volume; local 747 size_t ipc_size = sizeof(*volume); 751 volume = sof_comp_alloc(swidget, &ipc_size, swidget->pipeline_id); 752 if (!volume) 755 swidget->private = volume; 757 /* configure volume IPC message */ 758 volume->comp.type = SOF_COMP_VOLUME; 759 volume [all...] |
/linux-master/sound/soc/intel/avs/ |
H A D | path.c | 295 int volume = S32_MAX; local 301 volume = ctl_data->volume; 315 cfg->vols[0].target_volume = volume;
|
/linux-master/sound/soc/codecs/ |
H A D | nau8825.c | 283 * nau8825_hpvol_ramp - Ramp up the headphone volume change gradually to target level. 286 * @vol_from: the volume to start up 287 * @vol_to: the target volume 288 * @step: the volume span to move on 290 * The headphone volume is from 0dB to minimum -54dB and -1dB per step. 291 * If the volume changes sharp, there is a pop noise heard in headphone. We 292 * provide the function to ramp up the volume up or down by delaying 10ms 298 unsigned int value, volume, ramp_up, from, to; local 311 /* only handle volume from 0dB to minimum -54dB */ 315 for (volume 404 int i, volume; local 504 int volume, index; local [all...] |
/linux-master/sound/core/oss/ |
H A D | mixer_oss.c | 261 left = pslot->volume[0]; 262 right = pslot->volume[1]; 272 pslot->volume[0] = left; 273 pslot->volume[1] = right; 280 int slot, int volume) 284 int result = 0, left = volume & 0xff, right = (volume >> 8) & 0xff; 300 pslot->volume[0] = left; 301 pslot->volume[1] = right; 543 *left = snd_mixer_oss_conv1(uctl->value.integer.value[0], uinfo->value.integer.min, uinfo->value.integer.max, &pslot->volume[ 279 snd_mixer_oss_set_volume(struct snd_mixer_oss_file *fmixer, int slot, int volume) argument [all...] |
/linux-master/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 1712 * such as "brightness has changed", "volume has changed", depending on 2372 * Handle volume 2376 * - Pressing Volume up/down issues volume up/down hotkey messages, 2377 * even when already at maximum or minimum volume 2378 * - The act of unmuting issues volume up/down notification, 2382 * and certainly not enough if more than one volume hotkey was pressed 7115 * IBM ThinkPads have a simple volume controller with MUTE gating. 7127 * bits 3-0 (volume). Other bits in NVRAM may have other functions, 7131 * On newer Lenovo ThinkPads, the EC can automatically change the volume 7140 * and volume control 11759 TPACPI_PARAM(volume); variable [all...] |
/linux-master/drivers/md/dm-vdo/indexer/ |
H A D | volume.h | 27 * 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 D | volume.c | 6 #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 D | sparse-cache.c | 31 * state changes such as "that virtual chapter is no longer in the volume" and "skip searching that 66 * volume, its virtual chapter number will be less that the oldest virtual chapter number. Since 67 * that chapter is no longer part of the volume, there's no point in continuing to search that 231 "sparse index volume pages", &chapter->page_buffers); 400 * even if the chapter falls off the end of the volume, or if searching it is disabled 460 const struct volume *volume) 466 result = uds_read_chapter_index_from_volume(volume, virtual_chapter, 496 struct sparse_cache *cache = index->volume->sparse_cache; 523 index->volume); 458 cache_chapter_index(struct cached_chapter_index *chapter, u64 virtual_chapter, const struct volume *volume) argument 579 struct volume *volume = zone->index->volume; local [all...] |
H A D | open-chapter.c | 37 * structures are then passed to the volume to be recorded on storage. 276 unsigned int zone_count, struct volume *volume, 289 return uds_write_chapter(volume, chapter_index, collated_records); 275 uds_close_open_chapter(struct open_chapter_zone **chapter_zones, unsigned int zone_count, struct volume *volume, struct open_chapter_index *chapter_index, struct uds_volume_record *collated_records, u64 virtual_chapter_number) argument
|
H A D | open-chapter.h | 12 #include "volume.h" 17 * committed to the volume. 66 unsigned int zone_count, struct volume *volume,
|
H A D | index.c | 19 * 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...] |
H A D | index.h | 12 #include "volume.h" 13 #include "volume-index.h" 18 * volume or the volume index. It also manages administrative tasks such as saving and loading the 43 struct volume *volume; member in struct:uds_index
|