/fs/ntfs3/ |
D | attrlist.c | 20 struct ATTR_LIST_ENTRY *le) in al_is_valid_le() argument 22 if (!le || !ni->attr_list.le || !ni->attr_list.size) in al_is_valid_le() 25 return PtrOffset(ni->attr_list.le, le) + le16_to_cpu(le->size) <= in al_is_valid_le() 32 kfree(ni->attr_list.le); in al_destroy() 33 ni->attr_list.le = NULL; in al_destroy() 48 void *le = NULL; in ntfs_load_attr_list() local 56 le = kvmalloc(al_aligned(lsize), GFP_KERNEL); in ntfs_load_attr_list() 57 if (!le) { in ntfs_load_attr_list() 61 memcpy(le, resident_data(attr), lsize); in ntfs_load_attr_list() 94 le = kvmalloc(al_aligned(lsize), GFP_KERNEL); in ntfs_load_attr_list() [all …]
|
D | frecord.c | 163 int ni_load_mi(struct ntfs_inode *ni, const struct ATTR_LIST_ENTRY *le, in ni_load_mi() argument 168 if (!le) { in ni_load_mi() 173 rno = ino_get(&le->ref); in ni_load_mi() 191 struct ATTR_LIST_ENTRY *le; in ni_find_attr() local 206 le = al_find_ex(ni, le_o ? *le_o : NULL, type, name, name_len, vcn); in ni_find_attr() 207 if (!le) in ni_find_attr() 211 *le_o = le; in ni_find_attr() 214 if (ni_load_mi(ni, le, &m)) in ni_find_attr() 218 attr = mi_find_attr(m, NULL, type, name, name_len, &le->id); in ni_find_attr() 247 struct ATTR_LIST_ENTRY **le, in ni_enum_attr_ex() argument [all …]
|
D | attrib.c | 238 struct ATTR_LIST_ENTRY *le, struct mft_inode *mi, in attr_make_nonresident() argument 322 if (le) in attr_make_nonresident() 323 al_remove_le(ni, le); in attr_make_nonresident() 363 struct ATTR_LIST_ENTRY *le, struct mft_inode *mi, in attr_set_size_res() argument 381 return attr_make_nonresident(ni, attr, le, mi, new_size, in attr_set_size_res() 422 struct ATTR_LIST_ENTRY *le, *le_b; in attr_set_size() local 482 le = le_b; in attr_set_size() 488 le = le_b; in attr_set_size() 489 attr = ni_find_attr(ni, attr_b, &le, type, name, name_len, &vcn, in attr_set_size() 716 } else if (le && le->vcn) { in attr_set_size() [all …]
|
D | ntfs_fs.h | 385 struct ATTR_LIST_ENTRY *le; // 1K aligned memory. member 420 struct ATTR_LIST_ENTRY *le, struct mft_inode *mi, 453 struct ATTR_LIST_ENTRY *le); 455 struct ATTR_LIST_ENTRY *le, 458 struct ATTR_LIST_ENTRY *le, 464 bool al_remove_le(struct ntfs_inode *ni, struct ATTR_LIST_ENTRY *le); 510 int ni_load_mi(struct ntfs_inode *ni, const struct ATTR_LIST_ENTRY *le, 518 struct ATTR_LIST_ENTRY **le, 534 struct mft_inode **mi, struct ATTR_LIST_ENTRY **le); 538 struct ATTR_LIST_ENTRY **le); [all …]
|
D | ntfs.h | 531 static inline int le_cmp(const struct ATTR_LIST_ENTRY *le, in le_cmp() argument 534 return le->type != attr->type || le->name_len != attr->name_len || in le_cmp() 535 (!le->name_len && in le_cmp() 536 memcmp(Add2Ptr(le, le->name_off), in le_cmp() 538 le->name_len * sizeof(short))); in le_cmp() 541 static inline __le16 const *le_name(const struct ATTR_LIST_ENTRY *le) in le_name() argument 543 return Add2Ptr(le, le->name_off); in le_name()
|
D | xattr.c | 77 struct ATTR_LIST_ENTRY *le = NULL; in ntfs_read_ea() local 88 ni_find_attr(ni, NULL, &le, ATTR_EA_INFO, NULL, 0, NULL, NULL); in ntfs_read_ea() 90 ni_find_attr(ni, attr_info, &le, ATTR_EA, NULL, 0, NULL, NULL); in ntfs_read_ea() 322 struct ATTR_LIST_ENTRY *le; in ntfs_set_ea() local 460 le = NULL; in ntfs_set_ea() 461 attr = ni_find_attr(ni, NULL, &le, ATTR_EA_INFO, NULL, 0, NULL, &mi); in ntfs_set_ea() 469 ni_remove_attr_le(ni, attr, mi, le); in ntfs_set_ea() 480 le = NULL; in ntfs_set_ea() 481 attr = ni_find_attr(ni, NULL, &le, ATTR_EA, NULL, 0, NULL, &mi); in ntfs_set_ea() 489 ni_remove_attr_le(ni, attr, mi, le); in ntfs_set_ea()
|
D | index.c | 211 struct ATTR_LIST_ENTRY *le = NULL; in bmp_buf_get() local 219 b = ni_find_attr(ni, NULL, &le, ATTR_BITMAP, in->name, in->name_len, in bmp_buf_get() 477 struct ATTR_LIST_ENTRY *le = NULL; in indx_find_free() local 481 b = ni_find_attr(ni, NULL, &le, ATTR_BITMAP, in->name, in->name_len, in indx_find_free() 524 struct ATTR_LIST_ENTRY *le = NULL; in indx_used_bit() local 529 b = ni_find_attr(ni, NULL, &le, ATTR_BITMAP, in->name, in->name_len, in indx_used_bit() 998 struct ATTR_LIST_ENTRY *le = NULL; in indx_get_root() local 1002 a = ni_find_attr(ni, NULL, &le, ATTR_ROOT, in->name, in->name_len, NULL, in indx_get_root() 2024 struct ATTR_LIST_ENTRY *le = NULL; in indx_shrink() local 2027 b = ni_find_attr(ni, NULL, &le, ATTR_BITMAP, in->name, in->name_len, in indx_shrink()
|
D | fsntfs.c | 1835 struct ATTR_LIST_ENTRY *le; in ntfs_security_init() local 1860 le = NULL; in ntfs_security_init() 1862 attr = ni_find_attr(ni, NULL, &le, ATTR_ROOT, SDH_NAME, in ntfs_security_init() 1883 attr = ni_find_attr(ni, attr, &le, ATTR_ROOT, SII_NAME, in ntfs_security_init() 2259 struct ATTR_LIST_ENTRY *le; in ntfs_reparse_init() local 2265 le = NULL; in ntfs_reparse_init() 2266 attr = ni_find_attr(ni, NULL, &le, ATTR_ROOT, SR_NAME, in ntfs_reparse_init() 2297 struct ATTR_LIST_ENTRY *le; in ntfs_objid_init() local 2303 le = NULL; in ntfs_objid_init() 2304 attr = ni_find_attr(ni, NULL, &le, ATTR_ROOT, SO_NAME, in ntfs_objid_init()
|
D | namei.c | 351 struct ATTR_LIST_ENTRY *le = NULL; in ntfs3_get_parent() local 355 while ((attr = ni_find_attr(ni, attr, &le, ATTR_NAME, NULL, 0, NULL, in ntfs3_get_parent()
|
D | inode.c | 33 struct ATTR_LIST_ENTRY *le; in ntfs_read_mft() local 112 le = NULL; in ntfs_read_mft() 122 attr = ni_enum_attr_ex(ni, attr, &le, NULL); in ntfs_read_mft() 126 if (le && le->vcn) { in ntfs_read_mft() 177 if (attr->name_len || le || ino == MFT_REC_LOG) in ntfs_read_mft() 184 le = NULL; in ntfs_read_mft()
|
/fs/cachefiles/ |
D | key.c | 75 u32 le = le32_to_cpu(*(__le32 *)(key + i)); in cachefiles_cook_key() local 78 nle += 1 + how_many_hex_digits(le); in cachefiles_cook_key()
|