Lines Matching refs:attr_list
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()
26 ni->attr_list.size; in al_is_valid_le()
31 run_close(&ni->attr_list.run); in al_destroy()
32 kfree(ni->attr_list.le); in al_destroy()
33 ni->attr_list.le = NULL; in al_destroy()
34 ni->attr_list.size = 0; in al_destroy()
35 ni->attr_list.dirty = false; in al_destroy()
50 if (ni->attr_list.size) in ntfs_load_attr_list()
70 run_init(&ni->attr_list.run); in ntfs_load_attr_list()
77 err = run_unpack_ex(&ni->attr_list.run, ni->mi.sbi, ni->mi.rno, in ntfs_load_attr_list()
100 err = ntfs_read_run_nb(ni->mi.sbi, &ni->attr_list.run, 0, le, in ntfs_load_attr_list()
106 ni->attr_list.size = lsize; in ntfs_load_attr_list()
107 ni->attr_list.le = le; in ntfs_load_attr_list()
112 ni->attr_list.le = le; in ntfs_load_attr_list()
132 le = ni->attr_list.le; in al_enumerate()
143 off = PtrOffset(ni->attr_list.le, le); in al_enumerate()
144 if (off + sizeof(struct ATTR_LIST_ENTRY) > ni->attr_list.size) { in al_enumerate()
153 off + sz > ni->attr_list.size || in al_enumerate()
278 return prev ? Add2Ptr(prev, le16_to_cpu(prev->size)) : ni->attr_list.le; in al_find_le_to_insert()
297 typeof(ni->attr_list) *al = &ni->attr_list; in al_add_le()
368 typeof(ni->attr_list) *al = &ni->attr_list; in al_remove_le()
395 typeof(ni->attr_list) *al = &ni->attr_list; in al_delete_le()
443 typeof(ni->attr_list) *al = &ni->attr_list; in al_update()