Home
last modified time | relevance | path

Searched defs:vol (Results 1 – 25 of 95) sorted by relevance

1234

/linux/fs/ntfs/
H A Dntfs.h55 #define NTFS_B_TO_CLU(vol, b) ((b) >> (vol)->cluster_size_bits) argument
56 #define NTFS_CLU_TO_B(vol, clu) ((u64)(clu) << (vol)->cluster_size_bits) argument
57 #define NTFS_B_TO_CLU_OFS(vol, clu) ((u64)(clu) & (vol)->cluster_size_mask) argument
59 #define NTFS_MFT_NR_TO_CLU(vol, mft_no) (((u64)mft_no << (vol)->mft_record_size_bits) >> \ argument
61 #define NTFS_MFT_NR_TO_PIDX(vol, mft_no) (mft_no >> (PAGE_SHIFT - \ argument
63 #define NTFS_MFT_NR_TO_POFS(vol, mft_no) (((u64)mft_no << (vol)->mft_record_size_bits) & \ argument
66 #define NTFS_PIDX_TO_BLK(vol, idx) (((u64)idx << PAGE_SHIFT) >> \ argument
68 #define NTFS_PIDX_TO_CLU(vol, idx) (((u64)idx << PAGE_SHIFT) >> \ argument
70 #define NTFS_CLU_TO_PIDX(vol, clu) (((u64)(clu) << (vol)->cluster_size_bits) >> \ argument
72 #define NTFS_CLU_TO_POFS(vol, clu) (((u64)(clu) << (vol)->cluster_size_bits) & \ argument
[all …]
H A Dsuper.c125 struct ntfs_volume *vol = fc->s_fs_info; in ntfs_parse_param() local
268 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_reconfigure() local
335 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_handle_error() local
370 static int ntfs_write_volume_flags(struct ntfs_volume *vol, const __le16 flags) in ntfs_write_volume_flags()
420 int ntfs_set_volume_flags(struct ntfs_volume *vol, __le16 flags) in ntfs_set_volume_flags()
435 int ntfs_clear_volume_flags(struct ntfs_volume *vol, __le16 flags) in ntfs_clear_volume_flags()
442 int ntfs_write_volume_label(struct ntfs_volume *vol, char *label) in ntfs_write_volume_label()
643 static bool parse_ntfs_boot_sector(struct ntfs_volume *vol, in parse_ntfs_boot_sector()
824 static void ntfs_setup_allocators(struct ntfs_volume *vol) in ntfs_setup_allocators()
900 static bool load_and_init_mft_mirror(struct ntfs_volume *vol) in load_and_init_mft_mirror()
[all …]
H A Dfile.c81 struct ntfs_volume *vol = ni->vol; in ntfs_trim_prealloc() local
164 struct ntfs_volume *vol = ni->vol; in ntfs_file_fsync() local
312 struct ntfs_volume *vol = ni->vol; in ntfs_setattr() local
557 struct ntfs_volume *vol = ni->vol; in ntfs_expand_for_write() local
585 struct ntfs_volume *vol = ni->vol; in ntfs_file_write_iter() local
801 struct ntfs_volume *vol = NTFS_SB(file_inode(filp)->i_sb); in ntfs_ioctl_get_volume_label() local
824 struct ntfs_volume *vol = NTFS_SB(file_inode(filp)->i_sb); in ntfs_ioctl_set_volume_label() local
846 static int ntfs_ioctl_fitrim(struct ntfs_volume *vol, unsigned long arg) in ntfs_ioctl_fitrim()
910 struct ntfs_volume *vol = ni->vol; in ntfs_allocate_range() local
949 struct ntfs_volume *vol = ni->vol; in ntfs_punch_hole() local
[all …]
H A Dmft.c28 int ntfs_mft_record_check(const struct ntfs_volume *vol, struct mft_record *m, in ntfs_mft_record_check()
112 struct ntfs_volume *vol = ni->vol; in map_mft_record_folio() local
461 int ntfs_sync_mft_mirror(struct ntfs_volume *vol, const u64 mft_no, in ntfs_sync_mft_mirror()
550 struct ntfs_volume *vol = ni->vol; in write_mft_record_nolock() local
746 static bool ntfs_may_write_mft_record(struct ntfs_volume *vol, const u64 mft_no, in ntfs_may_write_mft_record()
850 static bool mft_reserved_is_free(struct ntfs_volume *vol, in mft_reserved_is_free()
976 static s64 mft_bitmap_alloc_free_rec(struct ntfs_volume *vol, in mft_bitmap_alloc_free_rec()
1178 static int ntfs_mft_bitmap_extend_allocation_nolock(struct ntfs_volume *vol) in ntfs_mft_bitmap_extend_allocation_nolock()
1480 static int ntfs_mft_bitmap_extend_initialized_nolock(struct ntfs_volume *vol) in ntfs_mft_bitmap_extend_initialized_nolock()
1613 static int ntfs_mft_data_extend_allocation_nolock(struct ntfs_volume *vol) in ntfs_mft_data_extend_allocation_nolock()
[all …]
H A Dnamei.c60 static int ntfs_check_bad_windows_name(struct ntfs_volume *vol, in ntfs_check_bad_windows_name()
173 struct ntfs_volume *vol = NTFS_SB(dir_ino->i_sb); in ntfs_lookup() local
399 struct ntfs_volume *vol = dir_ni->vol; in __ntfs_create() local
738 struct ntfs_volume *vol = NTFS_SB(dir->i_sb); in ntfs_create() local
1012 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_unlink() local
1056 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_mkdir() local
1097 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_rmdir() local
1263 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_rename() local
1406 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_symlink() local
1454 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_mknod() local
[all …]
H A Dattrib.c734 static bool ntfs_attr_value_is_valid(struct ntfs_volume *vol, in ntfs_attr_value_is_valid()
841 struct ntfs_volume *vol = ctx->ntfs_ino->vol; in ntfs_attr_find() local
979 char *ntfs_attr_name_get(const struct ntfs_volume *vol, const __le16 *uname, in ntfs_attr_name_get()
1151 struct ntfs_volume *vol; in ntfs_external_attr_find() local
1734 static struct attr_def *ntfs_attr_find_in_attrdef(const struct ntfs_volume *vol, in ntfs_attr_find_in_attrdef()
1766 int ntfs_attr_size_bounds_check(const struct ntfs_volume *vol, const __le32 type, in ntfs_attr_size_bounds_check()
1801 static int ntfs_attr_can_be_non_resident(const struct ntfs_volume *vol, in ntfs_attr_can_be_non_resident()
1834 int ntfs_attr_can_be_resident(const struct ntfs_volume *vol, const __le32 type) in ntfs_attr_can_be_resident()
1942 struct ntfs_volume *vol = ni->vol; in ntfs_attr_make_non_resident() local
3072 struct ntfs_volume *vol = ni->vol; in ntfs_attr_init() local
[all …]
H A Dvolume.h252 static inline void ntfs_dec_free_clusters(struct ntfs_volume *vol, s64 nr) in ntfs_dec_free_clusters()
259 static inline void ntfs_inc_free_mft_records(struct ntfs_volume *vol, s64 nr) in ntfs_inc_free_mft_records()
264 static inline void ntfs_dec_free_mft_records(struct ntfs_volume *vol, s64 nr) in ntfs_dec_free_mft_records()
269 static inline void ntfs_set_lcn_empty_bits(struct ntfs_volume *vol, unsigned long index, in ntfs_set_lcn_empty_bits()
281 static __always_inline void ntfs_hold_dirty_clusters(struct ntfs_volume *vol, s64 nr_clusters) in ntfs_hold_dirty_clusters()
286 static __always_inline void ntfs_release_dirty_clusters(struct ntfs_volume *vol, s64 nr_clusters) in ntfs_release_dirty_clusters()
H A Ddir.c77 struct ntfs_volume *vol = dir_ni->vol; in ntfs_lookup_inode_by_name() local
592 static inline int ntfs_filldir(struct ntfs_volume *vol, in ntfs_filldir()
723 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_readdir() local
1115 struct ntfs_volume *vol = NTFS_I(vi)->vol; in ntfs_dir_fsync() local
H A Dlcnalloc.c36 int ntfs_cluster_free_from_rl_nolock(struct ntfs_volume *vol, in ntfs_cluster_free_from_rl_nolock()
183 struct runlist_element *ntfs_cluster_alloc(struct ntfs_volume *vol, const s64 start_vcn, in ntfs_cluster_alloc()
846 struct ntfs_volume *vol; in __ntfs_cluster_free() local
H A Dbitmap.c15 int ntfs_trim_fs(struct ntfs_volume *vol, struct fstrim_range *range) in ntfs_trim_fs()
133 struct ntfs_volume *vol = ni->vol; in __ntfs_bitmap_set_bits_in_run() local
H A Dinode.c681 struct ntfs_volume *vol = NTFS_SB(vi->i_sb); in ntfs_read_locked_inode() local
1283 struct ntfs_volume *vol = NTFS_SB(vi->i_sb); in ntfs_read_locked_attr_inode() local
1523 struct ntfs_volume *vol = NTFS_SB(vi->i_sb); in ntfs_read_locked_index_inode() local
1759 static int load_attribute_list_mount(struct ntfs_volume *vol, in load_attribute_list_mount()
1861 struct ntfs_volume *vol = NTFS_SB(sb); in ntfs_read_inode_mount() local
2371 struct ntfs_volume *vol = NTFS_SB(root->d_sb); in ntfs_show_options() local
3752 struct ntfs_volume *vol = ni->vol; in __ntfs_inode_non_resident_attr_pwrite() local
H A Dwof.c149 static int ntfs_bdev_read_from_rl(struct ntfs_volume *vol, in ntfs_bdev_read_from_rl()
367 static int ntfs_read_wof_chunk(struct ntfs_volume *vol, in ntfs_read_wof_chunk()
612 struct ntfs_volume *vol, in ntfs_wof_decompress_chunk()
657 struct ntfs_volume *vol = ni->vol; in ntfs_read_wof_compressed_block() local
H A Drunlist.c735 struct runlist_element *ntfs_mapping_pairs_decompress(const struct ntfs_volume *vol, in ntfs_mapping_pairs_decompress()
1172 int ntfs_get_size_for_mapping_pairs(const struct ntfs_volume *vol, in ntfs_get_size_for_mapping_pairs()
1376 int ntfs_mapping_pairs_build(const struct ntfs_volume *vol, s8 *dst, in ntfs_mapping_pairs_build()
1557 int ntfs_rl_truncate_nolock(const struct ntfs_volume *vol, struct runlist *const runlist, in ntfs_rl_truncate_nolock()
1690 s64 ntfs_rl_get_compressed_size(struct ntfs_volume *vol, struct runlist_element *rl) in ntfs_rl_get_compressed_size()
H A Dlogfile.c457 struct ntfs_volume *vol = NTFS_SB(log_vi->i_sb); in ntfs_check_logfile() local
644 struct ntfs_volume *vol = log_ni->vol; in ntfs_empty_logfile() local
/linux/drivers/mtd/ubi/
H A Dkapi.c67 void ubi_do_get_volume_info(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_do_get_volume_info()
120 struct ubi_volume *vol; in ubi_open_volume() local
259 struct ubi_volume *vol = ubi->volumes[i]; in ubi_open_volume_nm() local
348 struct ubi_volume *vol = desc->vol; in ubi_close_volume() local
392 struct ubi_volume *vol = desc->vol; in leb_read_sanity_check() local
446 struct ubi_volume *vol = desc->vol; in ubi_leb_read() local
486 struct ubi_volume *vol = desc->vol; in ubi_leb_read_sg() local
537 struct ubi_volume *vol = desc->vol; in ubi_leb_write() local
582 struct ubi_volume *vol = desc->vol; in ubi_leb_change() local
622 struct ubi_volume *vol = desc->vol; in ubi_leb_erase() local
[all …]
H A Dvmt.c58 struct ubi_volume *vol = container_of(dev, struct ubi_volume, dev); in vol_attribute_show() local
120 struct ubi_volume *vol = container_of(dev, struct ubi_volume, dev); in vol_release() local
127 static struct fwnode_handle *find_volume_fwnode(struct ubi_volume *vol) in find_volume_fwnode()
168 struct ubi_volume *vol; in ubi_create_volume() local
363 struct ubi_volume *vol = desc->vol; in ubi_remove_volume() local
448 struct ubi_volume *vol = desc->vol; in ubi_resize_volume() local
596 struct ubi_volume *vol = re->desc->vol; in ubi_rename_volumes() local
620 int ubi_add_volume(struct ubi_device *ubi, struct ubi_volume *vol) in ubi_add_volume()
665 void ubi_free_volume(struct ubi_device *ubi, struct ubi_volume *vol) in ubi_free_volume()
685 const struct ubi_volume *vol; in self_check_volume() local
H A Dupd.c41 static int set_update_marker(struct ubi_device *ubi, struct ubi_volume *vol) in set_update_marker()
74 static int clear_update_marker(struct ubi_device *ubi, struct ubi_volume *vol, in clear_update_marker()
114 int ubi_start_update(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_start_update()
168 int ubi_start_leb_change(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_start_leb_change()
219 static int write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in write_leb()
265 int ubi_more_update_data(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_more_update_data()
380 int ubi_more_leb_change_data(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_more_leb_change_data()
H A Deba.c104 void ubi_eba_get_ldesc(struct ubi_volume *vol, int lnum, in ubi_eba_get_ldesc()
120 struct ubi_eba_table *ubi_eba_create_table(struct ubi_volume *vol, in ubi_eba_create_table()
169 void ubi_eba_copy_table(struct ubi_volume *vol, struct ubi_eba_table *dst, in ubi_eba_copy_table()
190 void ubi_eba_replace_table(struct ubi_volume *vol, struct ubi_eba_table *tbl) in ubi_eba_replace_table()
431 bool ubi_eba_is_mapped(struct ubi_volume *vol, int lnum) in ubi_eba_is_mapped()
446 int ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_eba_unmap_leb()
493 static int check_mapping(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in check_mapping()
565 static int check_mapping(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in check_mapping()
591 int ubi_eba_read_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in ubi_eba_read_leb()
743 int ubi_eba_read_leb_sg(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_eba_read_leb_sg()
[all …]
H A Dcdev.c47 struct ubi_volume *vol = desc->vol; in get_exclusive() local
73 struct ubi_volume *vol = desc->vol; in revoke_exclusive() local
120 struct ubi_volume *vol = desc->vol; in vol_cdev_release() local
146 struct ubi_volume *vol = desc->vol; in vol_cdev_llseek() local
175 struct ubi_volume *vol = desc->vol; in vol_cdev_read() local
252 struct ubi_volume *vol = desc->vol; in vol_cdev_direct_write() local
328 struct ubi_volume *vol = desc->vol; in vol_cdev_write() local
383 struct ubi_volume *vol = desc->vol; in vol_cdev_ioctl() local
H A Dvtbl.c128 struct ubi_volume *vol = re->desc->vol; in ubi_vtbl_rename_volumes() local
526 struct ubi_volume *vol; in init_volumes() local
674 static int check_av(const struct ubi_volume *vol, in check_av()
723 struct ubi_volume *vol; in check_attaching_info() local
/linux/sound/ppc/
H A Dawacs.c140 int vol[2]; in snd_pmac_awacs_get_volume() local
162 unsigned int vol[2]; in snd_pmac_awacs_put_volume() local
289 static void awacs_amp_set_master(struct awacs_amp *amp, int vol) in awacs_amp_set_master()
340 int vol[2]; in snd_pmac_awacs_put_volume_amp() local
369 int vol[2]; in snd_pmac_awacs_put_switch_amp() local
784 int vol[2]; in toggle_amp_mute() local
860 int err, vol; in snd_pmac_awacs_init() local
/linux/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835.h25 #define alsa2chip(vol) ((uint)(-(((vol) << 8) / 100))) argument
28 #define chip2alsa(vol) -(((vol) * 100) >> 8) argument
/linux/sound/pci/ice1712/
H A Dphase.c47 unsigned short vol[8]; member
266 unsigned short vol, unsigned short master) in wm_set_vol()
348 unsigned int vol = ucontrol->value.integer.value[ch]; in wm_master_vol_put() local
501 unsigned int vol; in wm_vol_put() local
/linux/sound/pci/emu10k1/
H A Demufx.c1384 #define A_ADD_VOLUME_IN(var,vol,input) \ in _snd_emu10k1_audigy_init_efx() argument
1760 static void _volume(struct snd_emu10k1_fx8010_code *icode, u32 *ptr, u32 dst, u32 src, u32 vol) in _volume()
1764 static void _volume_add(struct snd_emu10k1_fx8010_code *icode, u32 *ptr, u32 dst, u32 src, u32 vol) in _volume_add()
1769 #define VOLUME(icode, ptr, dst, src, vol) \ argument
1771 #define VOLUME_IN(icode, ptr, dst, src, vol) \ argument
1773 #define VOLUME_ADD(icode, ptr, dst, src, vol) \ argument
1775 #define VOLUME_ADDIN(icode, ptr, dst, src, vol) \ argument
1777 #define VOLUME_OUT(icode, ptr, dst, src, vol) \ argument
/linux/sound/isa/gus/
H A Dgus_volume.c15 unsigned short snd_gf1_lvol_to_gvol_raw(unsigned int vol) in snd_gf1_lvol_to_gvol_raw()

1234