Home
last modified time | relevance | path

Searched refs:vol (Results 1 - 25 of 458) sorted by relevance

12345678910>>...19

/kernel/linux/linux-5.10/drivers/mtd/ubi/
H A Dupd.c36 * @vol: volume description object
38 * This function sets the update marker flag for volume @vol. Returns zero
41 static int set_update_marker(struct ubi_device *ubi, struct ubi_volume *vol) in set_update_marker() argument
46 dbg_gen("set update marker for volume %d", vol->vol_id); in set_update_marker()
48 if (vol->upd_marker) { in set_update_marker()
49 ubi_assert(ubi->vtbl[vol->vol_id].upd_marker); in set_update_marker()
54 vtbl_rec = ubi->vtbl[vol->vol_id]; in set_update_marker()
58 err = ubi_change_vtbl_record(ubi, vol->vol_id, &vtbl_rec); in set_update_marker()
59 vol->upd_marker = 1; in set_update_marker()
67 * @vol
74 clear_update_marker(struct ubi_device *ubi, struct ubi_volume *vol, long long bytes) clear_update_marker() argument
114 ubi_start_update(struct ubi_device *ubi, struct ubi_volume *vol, long long bytes) ubi_start_update() argument
168 ubi_start_leb_change(struct ubi_device *ubi, struct ubi_volume *vol, const struct ubi_leb_change_req *req) ubi_start_leb_change() argument
219 write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, void *buf, int len, int used_ebs) write_leb() argument
265 ubi_more_update_data(struct ubi_device *ubi, struct ubi_volume *vol, const void __user *buf, int count) ubi_more_update_data() argument
380 ubi_more_leb_change_data(struct ubi_device *ubi, struct ubi_volume *vol, const void __user *buf, int count) ubi_more_leb_change_data() argument
[all...]
H A Dvmt.c58 struct ubi_volume *vol = container_of(dev, struct ubi_volume, dev); in vol_attribute_show() local
59 struct ubi_device *ubi = vol->ubi; in vol_attribute_show()
62 if (!ubi->volumes[vol->vol_id]) { in vol_attribute_show()
67 vol->ref_count += 1; in vol_attribute_show()
71 ret = sprintf(buf, "%d\n", vol->reserved_pebs); in vol_attribute_show()
75 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in vol_attribute_show()
81 ret = sprintf(buf, "%s\n", vol->name); in vol_attribute_show()
83 ret = sprintf(buf, "%d\n", vol->corrupted); in vol_attribute_show()
85 ret = sprintf(buf, "%d\n", vol->alignment); in vol_attribute_show()
87 ret = sprintf(buf, "%d\n", vol in vol_attribute_show()
120 struct ubi_volume *vol = container_of(dev, struct ubi_volume, dev); vol_release() local
141 struct ubi_volume *vol; ubi_create_volume() local
335 struct ubi_volume *vol = desc->vol; ubi_remove_volume() local
407 struct ubi_volume *vol = desc->vol; ubi_resize_volume() local
555 struct ubi_volume *vol = re->desc->vol; ubi_rename_volumes() local
579 ubi_add_volume(struct ubi_device *ubi, struct ubi_volume *vol) ubi_add_volume() argument
623 ubi_free_volume(struct ubi_device *ubi, struct ubi_volume *vol) ubi_free_volume() argument
643 const struct ubi_volume *vol; self_check_volume() local
[all...]
H A Dkapi.c64 * @vol: volume description object
67 void ubi_do_get_volume_info(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_do_get_volume_info() argument
70 vi->vol_id = vol->vol_id; in ubi_do_get_volume_info()
72 vi->size = vol->reserved_pebs; in ubi_do_get_volume_info()
73 vi->used_bytes = vol->used_bytes; in ubi_do_get_volume_info()
74 vi->vol_type = vol->vol_type; in ubi_do_get_volume_info()
75 vi->corrupted = vol->corrupted; in ubi_do_get_volume_info()
76 vi->upd_marker = vol->upd_marker; in ubi_do_get_volume_info()
77 vi->alignment = vol->alignment; in ubi_do_get_volume_info()
78 vi->usable_leb_size = vol in ubi_do_get_volume_info()
119 struct ubi_volume *vol; ubi_open_volume() local
258 struct ubi_volume *vol = ubi->volumes[i]; ubi_open_volume_nm() local
327 struct ubi_volume *vol = desc->vol; ubi_close_volume() local
371 struct ubi_volume *vol = desc->vol; leb_read_sanity_check() local
425 struct ubi_volume *vol = desc->vol; ubi_leb_read() local
465 struct ubi_volume *vol = desc->vol; ubi_leb_read_sg() local
516 struct ubi_volume *vol = desc->vol; ubi_leb_write() local
561 struct ubi_volume *vol = desc->vol; ubi_leb_change() local
601 struct ubi_volume *vol = desc->vol; ubi_leb_erase() local
662 struct ubi_volume *vol = desc->vol; ubi_leb_unmap() local
698 struct ubi_volume *vol = desc->vol; ubi_leb_map() local
737 struct ubi_volume *vol = desc->vol; ubi_is_mapped() local
[all...]
H A Dcdev.c47 struct ubi_volume *vol = desc->vol; in get_exclusive() local
49 spin_lock(&vol->ubi->volumes_lock); in get_exclusive()
50 users = vol->readers + vol->writers + vol->exclusive + vol->metaonly; in get_exclusive()
53 ubi_err(vol->ubi, "%d users for volume %d", users, vol->vol_id); in get_exclusive()
56 vol in get_exclusive()
73 struct ubi_volume *vol = desc->vol; revoke_exclusive() local
120 struct ubi_volume *vol = desc->vol; vol_cdev_release() local
146 struct ubi_volume *vol = desc->vol; vol_cdev_llseek() local
175 struct ubi_volume *vol = desc->vol; vol_cdev_read() local
252 struct ubi_volume *vol = desc->vol; vol_cdev_direct_write() local
328 struct ubi_volume *vol = desc->vol; vol_cdev_write() local
383 struct ubi_volume *vol = desc->vol; vol_cdev_ioctl() local
[all...]
H A Dvtbl.c128 struct ubi_volume *vol = re->desc->vol; in ubi_vtbl_rename_volumes() local
129 struct ubi_vtbl_record *vtbl_rec = &ubi->vtbl[vol->vol_id]; in ubi_vtbl_rename_volumes()
526 struct ubi_volume *vol; in init_volumes() local
534 vol = kzalloc(sizeof(struct ubi_volume), GFP_KERNEL); in init_volumes()
535 if (!vol) in init_volumes()
538 vol->reserved_pebs = be32_to_cpu(vtbl[i].reserved_pebs); in init_volumes()
539 vol->alignment = be32_to_cpu(vtbl[i].alignment); in init_volumes()
540 vol->data_pad = be32_to_cpu(vtbl[i].data_pad); in init_volumes()
541 vol in init_volumes()
674 check_av(const struct ubi_volume *vol, const struct ubi_ainf_volume *av) check_av() argument
723 struct ubi_volume *vol; check_attaching_info() local
[all...]
/kernel/linux/linux-6.6/drivers/mtd/ubi/
H A Dupd.c36 * @vol: volume description object
38 * This function sets the update marker flag for volume @vol. Returns zero
41 static int set_update_marker(struct ubi_device *ubi, struct ubi_volume *vol) in set_update_marker() argument
46 dbg_gen("set update marker for volume %d", vol->vol_id); in set_update_marker()
48 if (vol->upd_marker) { in set_update_marker()
49 ubi_assert(ubi->vtbl[vol->vol_id].upd_marker); in set_update_marker()
54 vtbl_rec = ubi->vtbl[vol->vol_id]; in set_update_marker()
58 err = ubi_change_vtbl_record(ubi, vol->vol_id, &vtbl_rec); in set_update_marker()
59 vol->upd_marker = 1; in set_update_marker()
67 * @vol
74 clear_update_marker(struct ubi_device *ubi, struct ubi_volume *vol, long long bytes) clear_update_marker() argument
114 ubi_start_update(struct ubi_device *ubi, struct ubi_volume *vol, long long bytes) ubi_start_update() argument
168 ubi_start_leb_change(struct ubi_device *ubi, struct ubi_volume *vol, const struct ubi_leb_change_req *req) ubi_start_leb_change() argument
219 write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, void *buf, int len, int used_ebs) write_leb() argument
265 ubi_more_update_data(struct ubi_device *ubi, struct ubi_volume *vol, const void __user *buf, int count) ubi_more_update_data() argument
380 ubi_more_leb_change_data(struct ubi_device *ubi, struct ubi_volume *vol, const void __user *buf, int count) ubi_more_leb_change_data() argument
[all...]
H A Dkapi.c64 * @vol: volume description object
67 void ubi_do_get_volume_info(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_do_get_volume_info() argument
70 vi->vol_id = vol->vol_id; in ubi_do_get_volume_info()
72 vi->size = vol->reserved_pebs; in ubi_do_get_volume_info()
73 vi->used_bytes = vol->used_bytes; in ubi_do_get_volume_info()
74 vi->vol_type = vol->vol_type; in ubi_do_get_volume_info()
75 vi->corrupted = vol->corrupted; in ubi_do_get_volume_info()
76 vi->upd_marker = vol->upd_marker; in ubi_do_get_volume_info()
77 vi->alignment = vol->alignment; in ubi_do_get_volume_info()
78 vi->usable_leb_size = vol in ubi_do_get_volume_info()
120 struct ubi_volume *vol; ubi_open_volume() local
259 struct ubi_volume *vol = ubi->volumes[i]; ubi_open_volume_nm() local
328 struct ubi_volume *vol = desc->vol; ubi_close_volume() local
372 struct ubi_volume *vol = desc->vol; leb_read_sanity_check() local
426 struct ubi_volume *vol = desc->vol; ubi_leb_read() local
466 struct ubi_volume *vol = desc->vol; ubi_leb_read_sg() local
517 struct ubi_volume *vol = desc->vol; ubi_leb_write() local
562 struct ubi_volume *vol = desc->vol; ubi_leb_change() local
602 struct ubi_volume *vol = desc->vol; ubi_leb_erase() local
663 struct ubi_volume *vol = desc->vol; ubi_leb_unmap() local
699 struct ubi_volume *vol = desc->vol; ubi_leb_map() local
738 struct ubi_volume *vol = desc->vol; ubi_is_mapped() local
[all...]
H A Dvmt.c58 struct ubi_volume *vol = container_of(dev, struct ubi_volume, dev); in vol_attribute_show() local
59 struct ubi_device *ubi = vol->ubi; in vol_attribute_show()
62 if (!ubi->volumes[vol->vol_id]) { in vol_attribute_show()
67 vol->ref_count += 1; in vol_attribute_show()
71 ret = sprintf(buf, "%d\n", vol->reserved_pebs); in vol_attribute_show()
75 if (vol->vol_type == UBI_DYNAMIC_VOLUME) in vol_attribute_show()
81 ret = sprintf(buf, "%s\n", vol->name); in vol_attribute_show()
83 ret = sprintf(buf, "%d\n", vol->corrupted); in vol_attribute_show()
85 ret = sprintf(buf, "%d\n", vol->alignment); in vol_attribute_show()
87 ret = sprintf(buf, "%d\n", vol in vol_attribute_show()
120 struct ubi_volume *vol = container_of(dev, struct ubi_volume, dev); vol_release() local
141 struct ubi_volume *vol; ubi_create_volume() local
335 struct ubi_volume *vol = desc->vol; ubi_remove_volume() local
407 struct ubi_volume *vol = desc->vol; ubi_resize_volume() local
546 struct ubi_volume *vol = re->desc->vol; ubi_rename_volumes() local
570 ubi_add_volume(struct ubi_device *ubi, struct ubi_volume *vol) ubi_add_volume() argument
614 ubi_free_volume(struct ubi_device *ubi, struct ubi_volume *vol) ubi_free_volume() argument
634 const struct ubi_volume *vol; self_check_volume() local
[all...]
H A Dcdev.c47 struct ubi_volume *vol = desc->vol; in get_exclusive() local
49 spin_lock(&vol->ubi->volumes_lock); in get_exclusive()
50 users = vol->readers + vol->writers + vol->exclusive + vol->metaonly; in get_exclusive()
53 ubi_err(vol->ubi, "%d users for volume %d", users, vol->vol_id); in get_exclusive()
56 vol in get_exclusive()
73 struct ubi_volume *vol = desc->vol; revoke_exclusive() local
120 struct ubi_volume *vol = desc->vol; vol_cdev_release() local
146 struct ubi_volume *vol = desc->vol; vol_cdev_llseek() local
175 struct ubi_volume *vol = desc->vol; vol_cdev_read() local
252 struct ubi_volume *vol = desc->vol; vol_cdev_direct_write() local
328 struct ubi_volume *vol = desc->vol; vol_cdev_write() local
383 struct ubi_volume *vol = desc->vol; vol_cdev_ioctl() local
[all...]
H A Dvtbl.c128 struct ubi_volume *vol = re->desc->vol; in ubi_vtbl_rename_volumes() local
129 struct ubi_vtbl_record *vtbl_rec = &ubi->vtbl[vol->vol_id]; in ubi_vtbl_rename_volumes()
526 struct ubi_volume *vol; in init_volumes() local
534 vol = kzalloc(sizeof(struct ubi_volume), GFP_KERNEL); in init_volumes()
535 if (!vol) in init_volumes()
538 vol->reserved_pebs = be32_to_cpu(vtbl[i].reserved_pebs); in init_volumes()
539 vol->alignment = be32_to_cpu(vtbl[i].alignment); in init_volumes()
540 vol->data_pad = be32_to_cpu(vtbl[i].data_pad); in init_volumes()
541 vol in init_volumes()
674 check_av(const struct ubi_volume *vol, const struct ubi_ainf_volume *av) check_av() argument
723 struct ubi_volume *vol; check_attaching_info() local
[all...]
/kernel/linux/linux-6.6/fs/ntfs/
H A Dsuper.c90 * @vol: ntfs volume
93 * Parse the recognized options in @opt for the ntfs volume described by @vol.
95 static bool parse_options(ntfs_volume *vol, char *opt) in parse_options() argument
200 ntfs_warning(vol->sb, "Ignoring obsolete option %s.", in parse_options()
204 ntfs_warning(vol->sb, "Option iocharset is " in parse_options()
215 ntfs_error(vol->sb, "NLS character set " in parse_options()
219 ntfs_error(vol->sb, "NLS character set %s not " in parse_options()
228 ntfs_warning(vol->sb, "Option utf8 is no longer " in parse_options()
242 ntfs_error(vol->sb, "Unrecognized mount option %s.", p); in parse_options()
255 ntfs_warning(vol in parse_options()
369 ntfs_write_volume_flags(ntfs_volume *vol, const VOLUME_FLAGS flags) ntfs_write_volume_flags() argument
424 ntfs_set_volume_flags(ntfs_volume *vol, VOLUME_FLAGS flags) ntfs_set_volume_flags() argument
439 ntfs_clear_volume_flags(ntfs_volume *vol, VOLUME_FLAGS flags) ntfs_clear_volume_flags() argument
462 ntfs_volume *vol = NTFS_SB(sb); ntfs_remount() local
760 parse_ntfs_boot_sector(ntfs_volume *vol, const NTFS_BOOT_SECTOR *b) parse_ntfs_boot_sector() argument
942 ntfs_setup_allocators(ntfs_volume *vol) ntfs_setup_allocators() argument
1028 load_and_init_mft_mirror(ntfs_volume *vol) load_and_init_mft_mirror() argument
1081 check_mft_mirror(ntfs_volume *vol) check_mft_mirror() argument
1210 load_and_check_logfile(ntfs_volume *vol, RESTART_PAGE_HEADER **rp) load_and_check_logfile() argument
1260 check_windows_hibernation_status(ntfs_volume *vol) check_windows_hibernation_status() argument
1357 load_and_init_quota(ntfs_volume *vol) load_and_init_quota() argument
1433 load_and_init_usnjrnl(ntfs_volume *vol) load_and_init_usnjrnl() argument
1586 load_and_init_attrdef(ntfs_volume *vol) load_and_init_attrdef() argument
1651 load_and_init_upcase(ntfs_volume *vol) load_and_init_upcase() argument
1766 load_system_files(ntfs_volume *vol) load_system_files() argument
2259 ntfs_volume *vol = NTFS_SB(sb); ntfs_put_super() local
2454 get_nr_free_clusters(ntfs_volume *vol) get_nr_free_clusters() argument
2534 __get_nr_free_mft_records(ntfs_volume *vol, s64 nr_free, const pgoff_t max_index) __get_nr_free_mft_records() argument
2604 ntfs_volume *vol = NTFS_SB(sb); ntfs_statfs() local
2707 ntfs_volume *vol; ntfs_fill_super() local
[all...]
H A Dlcnalloc.c24 * @vol: mounted ntfs volume on which to free the clusters
27 * Free all the clusters described by the runlist @rl on the volume @vol. In
36 int ntfs_cluster_free_from_rl_nolock(ntfs_volume *vol, in ntfs_cluster_free_from_rl_nolock() argument
39 struct inode *lcnbmp_vi = vol->lcnbmp_ino; in ntfs_cluster_free_from_rl_nolock()
60 * @vol: mounted ntfs volume on which to allocate the clusters
69 * @vol. @zone is either DATA_ZONE for allocation of normal clusters or
132 runlist_element *ntfs_cluster_alloc(ntfs_volume *vol, const VCN start_vcn, in ntfs_cluster_alloc() argument
154 BUG_ON(!vol); in ntfs_cluster_alloc()
155 lcnbmp_vi = vol->lcnbmp_ino; in ntfs_cluster_alloc()
167 down_write(&vol in ntfs_cluster_alloc()
839 ntfs_volume *vol; __ntfs_cluster_free() local
[all...]
H A Dmft.c39 ntfs_volume *vol = ni->vol; in map_mft_record_page() local
40 struct inode *mft_vi = vol->mft_ino; in map_mft_record_page()
52 index = (u64)ni->mft_no << vol->mft_record_size_bits >> in map_mft_record_page()
54 ofs = (ni->mft_no << vol->mft_record_size_bits) & ~PAGE_MASK; in map_mft_record_page()
63 vol->mft_record_size) { in map_mft_record_page()
65 ntfs_error(vol->sb, "Attempt to read mft record 0x%lx, " in map_mft_record_page()
82 ntfs_error(vol->sb, "Mft record 0x%lx is corrupt. " in map_mft_record_page()
86 NVolSetErrors(vol); in map_mft_record_page()
162 ntfs_error(ni->vol in map_mft_record()
427 ntfs_sync_mft_mirror_umount(ntfs_volume *vol, const unsigned long mft_no, MFT_RECORD *m) ntfs_sync_mft_mirror_umount() argument
454 ntfs_sync_mft_mirror(ntfs_volume *vol, const unsigned long mft_no, MFT_RECORD *m, int sync) ntfs_sync_mft_mirror() argument
662 ntfs_volume *vol = ni->vol; write_mft_record_nolock() local
920 ntfs_may_write_mft_record(ntfs_volume *vol, const unsigned long mft_no, const MFT_RECORD *m, ntfs_inode **locked_ni) ntfs_may_write_mft_record() argument
1126 ntfs_mft_bitmap_find_and_alloc_free_rec_nolock(ntfs_volume *vol, ntfs_inode *base_ni) ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() argument
1273 ntfs_mft_bitmap_extend_allocation_nolock(ntfs_volume *vol) ntfs_mft_bitmap_extend_allocation_nolock() argument
1572 ntfs_mft_bitmap_extend_initialized_nolock(ntfs_volume *vol) ntfs_mft_bitmap_extend_initialized_nolock() argument
1709 ntfs_mft_data_extend_allocation_nolock(ntfs_volume *vol) ntfs_mft_data_extend_allocation_nolock() argument
2009 ntfs_mft_record_layout(const ntfs_volume *vol, const s64 mft_no, MFT_RECORD *m) ntfs_mft_record_layout() argument
2088 ntfs_mft_record_format(const ntfs_volume *vol, const s64 mft_no) ntfs_mft_record_format() argument
2240 ntfs_mft_record_alloc(ntfs_volume *vol, const int mode, ntfs_inode *base_ni, MFT_RECORD **mrec) ntfs_mft_record_alloc() argument
2777 ntfs_volume *vol = ni->vol; ntfs_extent_mft_record_free() local
[all...]
/kernel/linux/linux-5.10/fs/ntfs/
H A Dsuper.c82 * @vol: ntfs volume
85 * Parse the recognized options in @opt for the ntfs volume described by @vol.
87 static bool parse_options(ntfs_volume *vol, char *opt) in parse_options() argument
192 ntfs_warning(vol->sb, "Ignoring obsolete option %s.", in parse_options()
196 ntfs_warning(vol->sb, "Option iocharset is " in parse_options()
207 ntfs_error(vol->sb, "NLS character set " in parse_options()
211 ntfs_error(vol->sb, "NLS character set %s not " in parse_options()
220 ntfs_warning(vol->sb, "Option utf8 is no longer " in parse_options()
234 ntfs_error(vol->sb, "Unrecognized mount option %s.", p); in parse_options()
247 ntfs_warning(vol in parse_options()
361 ntfs_write_volume_flags(ntfs_volume *vol, const VOLUME_FLAGS flags) ntfs_write_volume_flags() argument
416 ntfs_set_volume_flags(ntfs_volume *vol, VOLUME_FLAGS flags) ntfs_set_volume_flags() argument
431 ntfs_clear_volume_flags(ntfs_volume *vol, VOLUME_FLAGS flags) ntfs_clear_volume_flags() argument
454 ntfs_volume *vol = NTFS_SB(sb); ntfs_remount() local
752 parse_ntfs_boot_sector(ntfs_volume *vol, const NTFS_BOOT_SECTOR *b) parse_ntfs_boot_sector() argument
934 ntfs_setup_allocators(ntfs_volume *vol) ntfs_setup_allocators() argument
1020 load_and_init_mft_mirror(ntfs_volume *vol) load_and_init_mft_mirror() argument
1073 check_mft_mirror(ntfs_volume *vol) check_mft_mirror() argument
1202 load_and_check_logfile(ntfs_volume *vol, RESTART_PAGE_HEADER **rp) load_and_check_logfile() argument
1252 check_windows_hibernation_status(ntfs_volume *vol) check_windows_hibernation_status() argument
1349 load_and_init_quota(ntfs_volume *vol) load_and_init_quota() argument
1425 load_and_init_usnjrnl(ntfs_volume *vol) load_and_init_usnjrnl() argument
1578 load_and_init_attrdef(ntfs_volume *vol) load_and_init_attrdef() argument
1643 load_and_init_upcase(ntfs_volume *vol) load_and_init_upcase() argument
1758 load_system_files(ntfs_volume *vol) load_system_files() argument
2251 ntfs_volume *vol = NTFS_SB(sb); ntfs_put_super() local
2446 get_nr_free_clusters(ntfs_volume *vol) get_nr_free_clusters() argument
2526 __get_nr_free_mft_records(ntfs_volume *vol, s64 nr_free, const pgoff_t max_index) __get_nr_free_mft_records() argument
2596 ntfs_volume *vol = NTFS_SB(sb); ntfs_statfs() local
2699 ntfs_volume *vol; ntfs_fill_super() local
[all...]
H A Dlcnalloc.c24 * @vol: mounted ntfs volume on which to free the clusters
27 * Free all the clusters described by the runlist @rl on the volume @vol. In
36 int ntfs_cluster_free_from_rl_nolock(ntfs_volume *vol, in ntfs_cluster_free_from_rl_nolock() argument
39 struct inode *lcnbmp_vi = vol->lcnbmp_ino; in ntfs_cluster_free_from_rl_nolock()
60 * @vol: mounted ntfs volume on which to allocate the clusters
69 * @vol. @zone is either DATA_ZONE for allocation of normal clusters or
132 runlist_element *ntfs_cluster_alloc(ntfs_volume *vol, const VCN start_vcn, in ntfs_cluster_alloc() argument
154 BUG_ON(!vol); in ntfs_cluster_alloc()
155 lcnbmp_vi = vol->lcnbmp_ino; in ntfs_cluster_alloc()
167 down_write(&vol in ntfs_cluster_alloc()
839 ntfs_volume *vol; __ntfs_cluster_free() local
[all...]
H A Dmft.c39 ntfs_volume *vol = ni->vol; in map_mft_record_page() local
40 struct inode *mft_vi = vol->mft_ino; in map_mft_record_page()
52 index = (u64)ni->mft_no << vol->mft_record_size_bits >> in map_mft_record_page()
54 ofs = (ni->mft_no << vol->mft_record_size_bits) & ~PAGE_MASK; in map_mft_record_page()
63 vol->mft_record_size) { in map_mft_record_page()
65 ntfs_error(vol->sb, "Attempt to read mft record 0x%lx, " in map_mft_record_page()
82 ntfs_error(vol->sb, "Mft record 0x%lx is corrupt. " in map_mft_record_page()
86 NVolSetErrors(vol); in map_mft_record_page()
162 ntfs_error(ni->vol in map_mft_record()
427 ntfs_sync_mft_mirror_umount(ntfs_volume *vol, const unsigned long mft_no, MFT_RECORD *m) ntfs_sync_mft_mirror_umount() argument
454 ntfs_sync_mft_mirror(ntfs_volume *vol, const unsigned long mft_no, MFT_RECORD *m, int sync) ntfs_sync_mft_mirror() argument
662 ntfs_volume *vol = ni->vol; write_mft_record_nolock() local
920 ntfs_may_write_mft_record(ntfs_volume *vol, const unsigned long mft_no, const MFT_RECORD *m, ntfs_inode **locked_ni) ntfs_may_write_mft_record() argument
1126 ntfs_mft_bitmap_find_and_alloc_free_rec_nolock(ntfs_volume *vol, ntfs_inode *base_ni) ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() argument
1273 ntfs_mft_bitmap_extend_allocation_nolock(ntfs_volume *vol) ntfs_mft_bitmap_extend_allocation_nolock() argument
1572 ntfs_mft_bitmap_extend_initialized_nolock(ntfs_volume *vol) ntfs_mft_bitmap_extend_initialized_nolock() argument
1709 ntfs_mft_data_extend_allocation_nolock(ntfs_volume *vol) ntfs_mft_data_extend_allocation_nolock() argument
2007 ntfs_mft_record_layout(const ntfs_volume *vol, const s64 mft_no, MFT_RECORD *m) ntfs_mft_record_layout() argument
2086 ntfs_mft_record_format(const ntfs_volume *vol, const s64 mft_no) ntfs_mft_record_format() argument
2238 ntfs_mft_record_alloc(ntfs_volume *vol, const int mode, ntfs_inode *base_ni, MFT_RECORD **mrec) ntfs_mft_record_alloc() argument
2776 ntfs_volume *vol = ni->vol; ntfs_extent_mft_record_free() local
[all...]
H A Dquota.c18 * @vol: ntfs volume on which to mark the quotas out of date
20 * Mark the quotas out of date on the ntfs volume @vol and return 'true' on
23 bool ntfs_mark_quotas_out_of_date(ntfs_volume *vol) in ntfs_mark_quotas_out_of_date() argument
31 if (NVolQuotaOutOfDate(vol)) in ntfs_mark_quotas_out_of_date()
33 if (!vol->quota_ino || !vol->quota_q_ino) { in ntfs_mark_quotas_out_of_date()
34 ntfs_error(vol->sb, "Quota inodes are not open."); in ntfs_mark_quotas_out_of_date()
37 inode_lock(vol->quota_q_ino); in ntfs_mark_quotas_out_of_date()
38 ictx = ntfs_index_ctx_get(NTFS_I(vol->quota_q_ino)); in ntfs_mark_quotas_out_of_date()
40 ntfs_error(vol in ntfs_mark_quotas_out_of_date()
[all...]
/third_party/ntfs-3g/libntfs-3g/
H A Dvolume.c246 * @vol: ntfs volume whose $MFT to load
248 * Load $MFT from @vol and setup @vol with it. After calling this function the
249 * volume @vol is ready for use by all read access functions provided by the
254 static int ntfs_mft_load(ntfs_volume *vol) in ntfs_mft_load() argument
264 vol->mft_ni = ntfs_inode_allocate(vol); in ntfs_mft_load()
265 mb = ntfs_malloc(vol->mft_record_size); in ntfs_mft_load()
266 if (!vol->mft_ni || !mb) { in ntfs_mft_load()
270 vol in ntfs_mft_load()
448 ntfs_mftmirr_load(ntfs_volume *vol) ntfs_mftmirr_load() argument
506 ntfs_volume *vol; ntfs_volume_startup() local
678 ntfs_volume_check_logfile(ntfs_volume *vol) ntfs_volume_check_logfile() argument
738 ntfs_hiberfile_open(ntfs_volume *vol) ntfs_hiberfile_open() argument
796 ntfs_volume_check_hiberfile(ntfs_volume *vol, int verbose) ntfs_volume_check_hiberfile() argument
866 fix_txf_data(ntfs_volume *vol) fix_txf_data() argument
941 ntfs_volume *vol; ntfs_device_mount() local
1343 ntfs_set_shown_files(ntfs_volume *vol, BOOL show_sys_files, BOOL show_hid_files, BOOL hide_dot_files) ntfs_set_shown_files() argument
1371 ntfs_set_ignore_case(ntfs_volume *vol) ntfs_set_ignore_case() argument
1419 ntfs_volume *vol; ntfs_mount() local
1467 ntfs_umount(ntfs_volume *vol, const BOOL force __attribute__((unused))) ntfs_umount() argument
1649 ntfs_version_is_supported(ntfs_volume *vol) ntfs_version_is_supported() argument
1689 ntfs_logfile_reset(ntfs_volume *vol) ntfs_logfile_reset() argument
1738 ntfs_volume_write_flags(ntfs_volume *vol, const le16 flags) ntfs_volume_write_flags() argument
1879 ntfs_volume_get_free_space(ntfs_volume *vol) ntfs_volume_get_free_space() argument
1914 ntfs_volume_rename(ntfs_volume *vol, const ntfschar *label, int label_len) ntfs_volume_rename() argument
[all...]
H A Dbootsect.c185 * @vol: ntfs_volume to setup
188 * Parse the ntfs bootsector @bs and setup the ntfs volume @vol with the
193 int ntfs_boot_sector_parse(ntfs_volume *vol, const NTFS_BOOT_SECTOR *bs) in ntfs_boot_sector_parse() argument
202 vol->sector_size = le16_to_cpu(bs->bpb.bytes_per_sector); in ntfs_boot_sector_parse()
203 vol->sector_size_bits = ffs(vol->sector_size) - 1; in ntfs_boot_sector_parse()
204 ntfs_log_debug("SectorSize = 0x%x\n", vol->sector_size); in ntfs_boot_sector_parse()
205 ntfs_log_debug("SectorSizeBits = %u\n", vol->sector_size_bits); in ntfs_boot_sector_parse()
228 if (vol->dev->d_ops->seek(vol in ntfs_boot_sector_parse()
[all...]
H A Dlcnalloc.c74 static void ntfs_cluster_update_zone_pos(ntfs_volume *vol, u8 zone, LCN tc) in ntfs_cluster_update_zone_pos() argument
79 ntfs_cluster_set_zone_pos(vol->mft_lcn, vol->mft_zone_end, in ntfs_cluster_update_zone_pos()
80 &vol->mft_zone_pos, tc); in ntfs_cluster_update_zone_pos()
82 ntfs_cluster_set_zone_pos(vol->mft_zone_end, vol->nr_clusters, in ntfs_cluster_update_zone_pos()
83 &vol->data1_zone_pos, tc); in ntfs_cluster_update_zone_pos()
85 ntfs_cluster_set_zone_pos(0, vol->mft_zone_start, in ntfs_cluster_update_zone_pos()
86 &vol->data2_zone_pos, tc); in ntfs_cluster_update_zone_pos()
95 static void update_full_status(ntfs_volume *vol, LC argument
171 bitmap_writeback(ntfs_volume *vol, s64 pos, s64 size, void *b, u8 *writeback) bitmap_writeback() argument
235 ntfs_cluster_alloc(ntfs_volume *vol, VCN start_vcn, s64 count, LCN start_lcn, const NTFS_CLUSTER_ALLOCATION_ZONES zone) ntfs_cluster_alloc() argument
578 ntfs_cluster_free_from_rl(ntfs_volume *vol, runlist *rl) ntfs_cluster_free_from_rl() argument
620 ntfs_cluster_free_basic(ntfs_volume *vol, s64 lcn, s64 count) ntfs_cluster_free_basic() argument
667 ntfs_cluster_free(ntfs_volume *vol, ntfs_attr *na, VCN start_vcn, s64 count) ntfs_cluster_free() argument
[all...]
/third_party/ffmpeg/libavfilter/
H A Daf_volume.c115 VolumeContext *vol = ctx->priv; in init() local
117 vol->fdsp = avpriv_float_dsp_alloc(0); in init()
118 if (!vol->fdsp) in init()
121 return set_expr(&vol->volume_pexpr, vol->volume_expr, ctx); in init()
126 VolumeContext *vol = ctx->priv; in uninit() local
127 av_expr_free(vol->volume_pexpr); in uninit()
128 av_opt_free(vol); in uninit()
129 av_freep(&vol->fdsp); in uninit()
134 VolumeContext *vol in query_formats() local
213 volume_init(VolumeContext *vol) volume_init() argument
248 VolumeContext *vol = ctx->priv; set_volume() local
281 VolumeContext *vol = ctx->priv; config_output() local
313 VolumeContext *vol = ctx->priv; process_command() local
329 VolumeContext *vol = inlink->dst->priv; filter_frame() local
[all...]
/kernel/linux/linux-5.10/fs/cifs/
H A Dfs_context.c28 cifs_parse_smb_version(char *value, struct smb_vol *vol, bool is_smb3) in cifs_parse_smb_version() argument
44 vol->ops = &smb1_operations; in cifs_parse_smb_version()
45 vol->vals = &smb1_values; in cifs_parse_smb_version()
56 vol->ops = &smb20_operations; in cifs_parse_smb_version()
57 vol->vals = &smb20_values; in cifs_parse_smb_version()
68 vol->ops = &smb21_operations; in cifs_parse_smb_version()
69 vol->vals = &smb21_values; in cifs_parse_smb_version()
72 vol->ops = &smb30_operations; in cifs_parse_smb_version()
73 vol->vals = &smb30_values; in cifs_parse_smb_version()
76 vol in cifs_parse_smb_version()
115 cifs_parse_security_flavors(char *value, struct smb_vol *vol) cifs_parse_security_flavors() argument
181 cifs_parse_cache_flavor(char *value, struct smb_vol *vol) cifs_parse_cache_flavor() argument
[all...]
/third_party/ntfs-3g/ntfsprogs/
H A Dntfsfix.c110 ntfs_volume *vol; member
222 static int OLD_ntfs_volume_set_flags(ntfs_volume *vol, const le16 flags) in OLD_ntfs_volume_set_flags() argument
230 if (!vol) { in OLD_ntfs_volume_set_flags()
234 if (ntfs_file_record_read(vol, FILE_Volume, &m, NULL)) { in OLD_ntfs_volume_set_flags()
279 vol->flags = c->flags = flags; in OLD_ntfs_volume_set_flags()
280 if (ntfs_mft_record_write(vol, FILE_Volume, m)) { in OLD_ntfs_volume_set_flags()
295 static int set_dirty_flag(ntfs_volume *vol) in set_dirty_flag() argument
301 if (vol->flags & VOLUME_IS_DIRTY) in set_dirty_flag()
308 flags = vol->flags | VOLUME_IS_DIRTY; in set_dirty_flag()
309 if (!opt.no_action && OLD_ntfs_volume_set_flags(vol, flag in set_dirty_flag()
330 empty_journal(ntfs_volume *vol) empty_journal() argument
380 clear_badclus(ntfs_volume *vol) clear_badclus() argument
449 fix_mftmirr(ntfs_volume *vol) fix_mftmirr() argument
604 rewrite_upcase(ntfs_volume *vol, ntfs_attr *na) rewrite_upcase() argument
658 fix_upcase(ntfs_volume *vol) fix_upcase() argument
817 ntfs_volume *vol; short_mft_selfloc_condition() local
874 ntfs_volume *vol; attrlist_selfloc_condition() local
958 ntfs_volume *vol; self_mapped_selfloc_condition() local
1017 ntfs_volume *vol; spare_record_selfloc_condition() local
1053 ntfs_volume *vol; fix_selfloc_conditions() local
1181 fix_self_located_mft(ntfs_volume *vol) fix_self_located_mft() argument
1227 try_fix_boot(ntfs_volume *vol, char *full_bs, s64 read_sector, s64 fix_sectors, s32 sector_size) try_fix_boot() argument
1288 try_alternate_boot(ntfs_volume *vol, char *full_bs, s32 sector_size, s64 shown_sectors) try_alternate_boot() argument
1361 check_alternate_boot(ntfs_volume *vol) check_alternate_boot() argument
1443 ntfs_volume *vol; fix_startup() local
1557 ntfs_volume *vol; fix_mount() local
1614 ntfs_volume *vol; main() local
[all...]
H A Dntfsresize.c206 ntfs_volume *vol; member
617 static void print_advise(ntfs_volume *vol, s64 supp_lcn) in print_advise() argument
621 old_b = vol->nr_clusters * vol->cluster_size; in print_advise()
628 if (supp_lcn > vol->nr_clusters) { in print_advise()
635 new_b = supp_lcn * vol->cluster_size; in print_advise()
637 freed_b = (vol->nr_clusters - supp_lcn + 1) * vol->cluster_size; in print_advise()
802 print_advise(resize->vol, lcn + lcn_length - 1); in collect_relocation_info()
827 static void build_lcn_usage_bitmap(ntfs_volume *vol, ntfsck_ argument
912 walk_attributes(ntfs_volume *vol, ntfsck_t *fsck) walk_attributes() argument
933 compare_bitmaps(ntfs_volume *vol, struct bitmap *a) compare_bitmaps() argument
1057 build_allocation_bitmap(ntfs_volume *vol, ntfsck_t *fsck) build_allocation_bitmap() argument
1318 expand_attribute_runlist(ntfs_volume *vol, struct DELAYED *delayed) expand_attribute_runlist() argument
1613 ntfs_volume *vol; replace_attribute_runlist() local
1882 lseek_to_cluster(ntfs_volume *vol, s64 lcn) lseek_to_cluster() argument
1896 ntfs_volume *vol = resize->vol; copy_clusters() local
2204 ntfs_volume *vol = resize->vol; relocate_inode() local
2336 print_hint(ntfs_volume *vol, const char *s, struct llcn_t llcn) print_hint() argument
2358 ntfs_volume *vol = resize->vol; advise_on_resize() local
2431 ntfs_volume *vol = resize->vol; truncate_badclust_bad_attr() local
2470 ntfs_volume *vol = resize->vol; realloc_bitmap_data_attr() local
2511 ntfs_volume *vol = resize->vol; truncate_bitmap_data_attr() local
2572 lookup_data_attr(ntfs_volume *vol, MFT_REF mref, const char *aname, ntfs_attr_search_ctx **ctx) lookup_data_attr() argument
2611 check_bad_sectors(ntfs_volume *vol) check_bad_sectors() argument
2687 ntfs_volume *vol = resize->vol; truncate_bitmap_file() local
2752 ntfs_volume *vol = r->vol; update_bootsector() local
2855 print_disk_usage(ntfs_volume *vol, s64 nr_used_clusters) print_disk_usage() argument
2928 ntfs_volume *vol = NULL; mount_volume() local
2983 prepare_volume_fixup(ntfs_volume *vol) prepare_volume_fixup() argument
3044 check_cluster_allocation(ntfs_volume *vol, ntfsck_t *fsck) check_cluster_allocation() argument
3095 ntfs_volume *vol; global() member
3158 ntfs_volume *vol; get_unnamed_attr() local
3195 ntfs_volume *vol; read_and_get_attr() local
3250 ntfs_volume *vol; get_mft_bitmap() local
3445 can_expand(expand_t *expand, ntfs_volume *vol) can_expand() argument
3635 ntfs_volume *vol; write_bootsector() local
3668 ntfs_volume *vol; write_bitmap() local
3713 ntfs_volume *vol; copy_mftmirr() local
3768 ntfs_volume *vol; copy_boot() local
3834 delayed_expand(ntfs_volume *vol, struct DELAYED *delayed, struct progress_bar *progress) delayed_expand() argument
3906 ntfs_volume *vol; update_runlist() local
4078 ntfs_volume *vol; rebase_runlists_meta() local
4212 ntfs_volume *vol; rebase_inode() local
4278 ntfs_volume *vol; rebase_all_inodes() local
4353 ntfs_volume *vol; get_volume_data() local
4404 ntfs_volume *vol; really_expand() local
4490 ntfs_volume *vol; expand_to_beginning() local
4541 ntfs_volume *vol = NULL; main() local
[all...]
H A Dntfslabel.c238 static int change_serial(ntfs_volume *vol, u64 sector, le64 serial_number, in change_serial() argument
246 if ((ntfs_pread(vol->dev, sector << vol->sector_size_bits, in change_serial()
247 vol->sector_size, bs) == vol->sector_size)) { in change_serial()
251 memcpy(oldbs, bs, vol->sector_size); in change_serial()
254 same = !memcmp(oldbs, bs, vol->sector_size); in change_serial()
265 || (ntfs_pwrite(vol->dev, in change_serial()
266 sector << vol->sector_size_bits, in change_serial()
267 vol in change_serial()
279 set_new_serial(ntfs_volume *vol) set_new_serial() argument
320 print_serial(ntfs_volume *vol) print_serial() argument
348 print_label(ntfs_volume *vol, unsigned long mnt_flags) print_label() argument
375 change_label(ntfs_volume *vol, char *label) change_label() argument
415 ntfs_volume *vol; main() local
[all...]

Completed in 436 milliseconds

12345678910>>...19