Lines Matching refs:attr_list
193 if (!ni->attr_list.size || in ni_find_attr()
253 if (!ni->attr_list.size) { in ni_enum_attr_ex()
289 if (!ni->attr_list.size) { in ni_load_attr()
340 if (!ni->attr_list.size) in ni_load_all_mi()
396 if (base_only || type == ATTR_LIST || !ni->attr_list.size) { in ni_remove_attr()
442 if (PtrOffset(ni->attr_list.le, le) >= ni->attr_list.size) in ni_remove_attr()
466 if (type != ATTR_LIST && !le && ni->attr_list.size) { in ni_ins_new_attr()
501 ni->attr_list.dirty = true; in ni_ins_new_attr()
612 ni->attr_list.dirty = true; in ni_repack()
653 struct ATTRIB *attr, *attr_list, *attr_ins; in ni_try_remove_attr_list() local
660 if (!ni->attr_list.dirty) in ni_try_remove_attr_list()
667 attr_list = mi_find_attr(&ni->mi, NULL, ATTR_LIST, NULL, 0, NULL); in ni_try_remove_attr_list()
668 if (!attr_list) in ni_try_remove_attr_list()
671 asize = le32_to_cpu(attr_list->size); in ni_try_remove_attr_list()
702 mi_remove_attr(NULL, &ni->mi, attr_list); in ni_try_remove_attr_list()
750 run_deallocate(sbi, &ni->attr_list.run, true); in ni_try_remove_attr_list()
751 run_close(&ni->attr_list.run); in ni_try_remove_attr_list()
752 ni->attr_list.size = 0; in ni_try_remove_attr_list()
753 kfree(ni->attr_list.le); in ni_try_remove_attr_list()
754 ni->attr_list.le = NULL; in ni_try_remove_attr_list()
755 ni->attr_list.dirty = false; in ni_try_remove_attr_list()
797 ni->attr_list.le = le; in ni_create_attr_list()
811 if (le != ni->attr_list.le) in ni_create_attr_list()
812 le->ref = ni->attr_list.le->ref; in ni_create_attr_list()
832 lsize = PtrOffset(ni->attr_list.le, le); in ni_create_attr_list()
833 ni->attr_list.size = lsize; in ni_create_attr_list()
894 memcpy(resident_data_ex(attr, lsize), ni->attr_list.le, lsize); in ni_create_attr_list()
896 ni->attr_list.dirty = false; in ni_create_attr_list()
902 kfree(ni->attr_list.le); in ni_create_attr_list()
903 ni->attr_list.le = NULL; in ni_create_attr_list()
904 ni->attr_list.size = 0; in ni_create_attr_list()
948 if (!ni->attr_list.size) { in ni_ins_attr_ext()
1150 if (ni->attr_list.size) { in ni_insert_attr()
1564 if (ni->attr_list.size) { in ni_delete_all()
1565 run_deallocate(ni->mi.sbi, &ni->attr_list.run, true); in ni_delete_all()
3053 if (ni->mi.dirty || ni->attr_list.dirty || in ni_is_dirty()
3261 if (ni->attr_list.size && ni->attr_list.dirty) { in ni_write_inode()