Home
last modified time | relevance | path

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

12345678910>>...13

/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...]
H A Deba.c99 * @vol: volume description object
107 void ubi_eba_get_ldesc(struct ubi_volume *vol, int lnum, in ubi_eba_get_ldesc() argument
111 ldesc->pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_get_ldesc()
117 * @vol: volume containing the EBA table to copy
123 struct ubi_eba_table *ubi_eba_create_table(struct ubi_volume *vol, in ubi_eba_create_table() argument
167 * ubi_eba_copy_table - copy the EBA table attached to vol into another table
168 * @vol: volume containing the EBA table to copy
172 * Copy the EBA table stored in vol into the one pointed by dst.
174 void ubi_eba_copy_table(struct ubi_volume *vol, struct ubi_eba_table *dst, in ubi_eba_copy_table() argument
180 ubi_assert(dst && vol in ubi_eba_copy_table()
195 ubi_eba_replace_table(struct ubi_volume *vol, struct ubi_eba_table *tbl) ubi_eba_replace_table() argument
436 ubi_eba_is_mapped(struct ubi_volume *vol, int lnum) ubi_eba_is_mapped() argument
451 ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum) ubi_eba_unmap_leb() argument
498 check_mapping(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, int *pnum) check_mapping() argument
570 check_mapping(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, int *pnum) check_mapping() argument
596 ubi_eba_read_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, void *buf, int offset, int len, int check) ubi_eba_read_leb() argument
748 ubi_eba_read_leb_sg(struct ubi_device *ubi, struct ubi_volume *vol, struct ubi_sgl *sgl, int lnum, int offset, int len, int check) ubi_eba_read_leb_sg() argument
807 try_recover_peb(struct ubi_volume *vol, int pnum, int lnum, const void *buf, int offset, int len, struct ubi_vid_io_buf *vidb, bool *retry) try_recover_peb() argument
907 struct ubi_volume *vol = ubi->volumes[idx]; recover_peb() local
945 try_write_vid_and_data(struct ubi_volume *vol, int lnum, struct ubi_vid_io_buf *vidb, const void *buf, int offset, int len) try_write_vid_and_data() argument
1017 ubi_eba_write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, const void *buf, int offset, int len) ubi_eba_write_leb() argument
1120 ubi_eba_write_leb_st(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, const void *buf, int len, int used_ebs) ubi_eba_write_leb_st() argument
1198 ubi_eba_atomic_leb_change(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, const void *buf, int len) ubi_eba_atomic_leb_change() argument
1316 struct ubi_volume *vol; ubi_eba_copy_leb() local
1529 struct ubi_volume *vol; self_check_eba() local
1623 struct ubi_volume *vol; ubi_eba_init() 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...]
H A Deba.c99 * @vol: volume description object
107 void ubi_eba_get_ldesc(struct ubi_volume *vol, int lnum, in ubi_eba_get_ldesc() argument
111 ldesc->pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_get_ldesc()
117 * @vol: volume containing the EBA table to copy
123 struct ubi_eba_table *ubi_eba_create_table(struct ubi_volume *vol, in ubi_eba_create_table() argument
166 * ubi_eba_copy_table - copy the EBA table attached to vol into another table
167 * @vol: volume containing the EBA table to copy
171 * Copy the EBA table stored in vol into the one pointed by dst.
173 void ubi_eba_copy_table(struct ubi_volume *vol, struct ubi_eba_table *dst, in ubi_eba_copy_table() argument
179 ubi_assert(dst && vol in ubi_eba_copy_table()
194 ubi_eba_replace_table(struct ubi_volume *vol, struct ubi_eba_table *tbl) ubi_eba_replace_table() argument
435 ubi_eba_is_mapped(struct ubi_volume *vol, int lnum) ubi_eba_is_mapped() argument
450 ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum) ubi_eba_unmap_leb() argument
497 check_mapping(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, int *pnum) check_mapping() argument
569 check_mapping(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, int *pnum) check_mapping() argument
595 ubi_eba_read_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, void *buf, int offset, int len, int check) ubi_eba_read_leb() argument
747 ubi_eba_read_leb_sg(struct ubi_device *ubi, struct ubi_volume *vol, struct ubi_sgl *sgl, int lnum, int offset, int len, int check) ubi_eba_read_leb_sg() argument
806 try_recover_peb(struct ubi_volume *vol, int pnum, int lnum, const void *buf, int offset, int len, struct ubi_vid_io_buf *vidb, bool *retry) try_recover_peb() argument
906 struct ubi_volume *vol = ubi->volumes[idx]; recover_peb() local
944 try_write_vid_and_data(struct ubi_volume *vol, int lnum, struct ubi_vid_io_buf *vidb, const void *buf, int offset, int len) try_write_vid_and_data() argument
1016 ubi_eba_write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, const void *buf, int offset, int len) ubi_eba_write_leb() argument
1119 ubi_eba_write_leb_st(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, const void *buf, int len, int used_ebs) ubi_eba_write_leb_st() argument
1197 ubi_eba_atomic_leb_change(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, const void *buf, int len) ubi_eba_atomic_leb_change() argument
1315 struct ubi_volume *vol; ubi_eba_copy_leb() local
1529 struct ubi_volume *vol; self_check_eba() local
1623 struct ubi_volume *vol; ubi_eba_init() 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...]
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...]
H A Dattrib.c109 ni->vol->cluster_size_bits; in ntfs_map_runlist_nolock()
173 rl = ntfs_mapping_pairs_decompress(ni->vol, a, ni->runlist.rl); in ntfs_map_runlist_nolock()
388 ntfs_error(ni->vol->sb, "Failed with error code %lli.", in ntfs_attr_vcn_to_lcn_nolock()
514 ntfs_error(ni->vol->sb, "Failed with error code %i.", err); in ntfs_attr_find_vcn_nolock()
580 ntfs_volume *vol = ctx->ntfs_ino->vol; in ntfs_attr_find() local
581 ntfschar *upcase = vol->upcase; in ntfs_attr_find()
582 u32 upcase_len = vol->upcase_len; in ntfs_attr_find()
699 ntfs_error(vol->sb, "Inode is corrupt. Run chkdsk."); in ntfs_attr_find()
700 NVolSetErrors(vol); in ntfs_attr_find()
720 load_attribute_list(ntfs_volume *vol, runlist *runlist, u8 *al_start, const s64 size, const s64 initialized_size) load_attribute_list() argument
873 ntfs_volume *vol; ntfs_external_attr_find() local
1316 ntfs_attr_find_in_attrdef(const ntfs_volume *vol, const ATTR_TYPE type) ntfs_attr_find_in_attrdef() argument
1352 ntfs_attr_size_bounds_check(const ntfs_volume *vol, const ATTR_TYPE type, const s64 size) ntfs_attr_size_bounds_check() argument
1388 ntfs_attr_can_be_non_resident(const ntfs_volume *vol, const ATTR_TYPE type) ntfs_attr_can_be_non_resident() argument
1420 ntfs_attr_can_be_resident(const ntfs_volume *vol, const ATTR_TYPE type) ntfs_attr_can_be_resident() argument
1549 ntfs_volume *vol = ni->vol; ntfs_attr_make_non_resident() local
1920 ntfs_volume *vol = ni->vol; ntfs_attr_extend_allocation() local
2505 ntfs_volume *vol = ni->vol; ntfs_attr_set() 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...]
H A Dattrib.c109 ni->vol->cluster_size_bits; in ntfs_map_runlist_nolock()
173 rl = ntfs_mapping_pairs_decompress(ni->vol, a, ni->runlist.rl); in ntfs_map_runlist_nolock()
388 ntfs_error(ni->vol->sb, "Failed with error code %lli.", in ntfs_attr_vcn_to_lcn_nolock()
514 ntfs_error(ni->vol->sb, "Failed with error code %i.", err); in ntfs_attr_find_vcn_nolock()
580 ntfs_volume *vol = ctx->ntfs_ino->vol; in ntfs_attr_find() local
581 ntfschar *upcase = vol->upcase; in ntfs_attr_find()
582 u32 upcase_len = vol->upcase_len; in ntfs_attr_find()
699 ntfs_error(vol->sb, "Inode is corrupt. Run chkdsk."); in ntfs_attr_find()
700 NVolSetErrors(vol); in ntfs_attr_find()
720 load_attribute_list(ntfs_volume *vol, runlist *runlist, u8 *al_start, const s64 size, const s64 initialized_size) load_attribute_list() argument
873 ntfs_volume *vol; ntfs_external_attr_find() local
1316 ntfs_attr_find_in_attrdef(const ntfs_volume *vol, const ATTR_TYPE type) ntfs_attr_find_in_attrdef() argument
1352 ntfs_attr_size_bounds_check(const ntfs_volume *vol, const ATTR_TYPE type, const s64 size) ntfs_attr_size_bounds_check() argument
1388 ntfs_attr_can_be_non_resident(const ntfs_volume *vol, const ATTR_TYPE type) ntfs_attr_can_be_non_resident() argument
1420 ntfs_attr_can_be_resident(const ntfs_volume *vol, const ATTR_TYPE type) ntfs_attr_can_be_resident() argument
1549 ntfs_volume *vol = ni->vol; ntfs_attr_make_non_resident() local
1920 ntfs_volume *vol = ni->vol; ntfs_attr_extend_allocation() local
2505 ntfs_volume *vol = ni->vol; ntfs_attr_set() local
[all...]
H A Dusnjrnl.c25 * @vol: ntfs volume on which to stamp the transaction log
27 * Stamp the transaction log ($UsnJrnl) on the ntfs volume @vol and return
33 bool ntfs_stamp_usnjrnl(ntfs_volume *vol) in ntfs_stamp_usnjrnl() argument
36 if (likely(!NVolUsnJrnlStamped(vol))) { in ntfs_stamp_usnjrnl()
41 page = ntfs_map_page(vol->usnjrnl_max_ino->i_mapping, 0); in ntfs_stamp_usnjrnl()
43 ntfs_error(vol->sb, "Failed to read from " in ntfs_stamp_usnjrnl()
56 i_size_read(vol->usnjrnl_j_ino)); in ntfs_stamp_usnjrnl()
58 cpu_to_sle64(i_size_read(vol->usnjrnl_j_ino)); in ntfs_stamp_usnjrnl()
64 NVolSetUsnJrnlStamped(vol); in ntfs_stamp_usnjrnl()
/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...]
H A Dconnect.c563 cifs_server_dbg(VFS, "%s: failed to update vol info in DFS cache: rc = %d\n", in cifs_reconnect()
1332 * Parse a devname into substrings and populate the vol->UNC and vol->prepath
1336 cifs_parse_devname(const char *devname, struct smb_vol *vol) in cifs_parse_devname() argument
1365 vol->UNC = kstrndup(devname, pos - devname, GFP_KERNEL); in cifs_parse_devname()
1366 if (!vol->UNC) in cifs_parse_devname()
1369 convert_delimiter(vol->UNC, '\\'); in cifs_parse_devname()
1379 vol->prepath = kstrdup(pos, GFP_KERNEL); in cifs_parse_devname()
1380 if (!vol->prepath) in cifs_parse_devname()
1388 struct smb_vol *vol, boo in cifs_parse_mount_options()
1387 cifs_parse_mount_options(const char *mountdata, const char *devname, struct smb_vol *vol, bool is_smb3) cifs_parse_mount_options() argument
2393 match_security(struct TCP_Server_Info *server, struct smb_vol *vol) match_security() argument
2415 match_server(struct TCP_Server_Info *server, struct smb_vol *vol) match_server() argument
2462 cifs_find_tcp_session(struct smb_vol *vol) cifs_find_tcp_session() argument
2680 match_session(struct cifs_ses *ses, struct smb_vol *vol) match_session() argument
2810 cifs_find_smb_ses(struct TCP_Server_Info *server, struct smb_vol *vol) cifs_find_smb_ses() argument
2885 cifs_set_cifscreds(struct smb_vol *vol, struct cifs_ses *ses) cifs_set_cifscreds() argument
4079 mount_get_conns(struct smb_vol *vol, struct cifs_sb_info *cifs_sb, unsigned int *xid, struct TCP_Server_Info **nserver, struct cifs_ses **nses, struct cifs_tcon **ntcon) mount_get_conns() argument
4198 build_unc_path_to_root(const struct smb_vol *vol, const struct cifs_sb_info *cifs_sb, bool useppath) build_unc_path_to_root() argument
4292 update_vol_info(const struct dfs_cache_tgt_iterator *tgt_it, struct smb_vol *fake_vol, struct smb_vol *vol) update_vol_info() argument
4317 setup_dfs_tgt_conn(const char *path, const char *full_path, const struct dfs_cache_tgt_iterator *tgt_it, struct cifs_sb_info *cifs_sb, struct smb_vol *vol, unsigned int *xid, struct TCP_Server_Info **server, struct cifs_ses **ses, struct cifs_tcon **tcon) setup_dfs_tgt_conn() argument
4369 do_dfs_failover(const char *path, const char *full_path, struct cifs_sb_info *cifs_sb, struct smb_vol *vol, struct cifs_ses *root_ses, unsigned int *xid, struct TCP_Server_Info **server, struct cifs_ses **ses, struct cifs_tcon **tcon) do_dfs_failover() argument
4520 is_path_remote(struct cifs_sb_info *cifs_sb, struct smb_vol *vol, const unsigned int xid, struct TCP_Server_Info *server, struct cifs_tcon *tcon) is_path_remote() argument
4583 check_dfs_prepath(struct cifs_sb_info *cifs_sb, struct smb_vol *vol, const unsigned int xid, struct TCP_Server_Info *server, struct cifs_tcon *tcon, char **dfs_path) check_dfs_prepath() argument
4653 cifs_mount(struct cifs_sb_info *cifs_sb, struct smb_vol *vol) cifs_mount() argument
4799 cifs_mount(struct cifs_sb_info *cifs_sb, struct smb_vol *vol) cifs_mount() argument
5089 cifs_set_vol_auth(struct smb_vol *vol, struct cifs_ses *ses) cifs_set_vol_auth() argument
[all...]

Completed in 19 milliseconds

12345678910>>...13