Searched refs:PtrOffset (Results 1 – 10 of 10) sorted by relevance
/fs/ntfs3/ |
D | attrlist.c | 25 return PtrOffset(ni->attr_list.le, le) + le16_to_cpu(le->size) <= in al_is_valid_le() 144 off = PtrOffset(ni->attr_list.le, le); in al_enumerate() 310 off = PtrOffset(al->le, le); in al_add_le() 375 off = PtrOffset(al->le, le); in al_remove_le() 401 off = PtrOffset(al->le, le); in al_delete_le()
|
D | record.c | 227 off = PtrOffset(rec, attr); in mi_enum_attr() 499 tail = used - PtrOffset(rec, attr); in mi_insert_attr() 530 u32 aoff = PtrOffset(rec, attr); in mi_remove_attr() 559 u32 aoff = PtrOffset(rec, attr); in mi_resize_attr() 619 u32 aoff = PtrOffset(rec, attr); in mi_pack_runs()
|
D | debug.h | 19 #define PtrOffset(B, O) ((size_t)((size_t)(O) - (size_t)(B))) macro
|
D | lznt.c | 350 return is_zero ? 0 : PtrOffset(cmpr, p); in compress_lznt() 452 return PtrOffset(unc, unc_chunk); in decompress_lznt()
|
D | fslog.c | 627 for (bprt = bytes_per_rt(t); PtrOffset(t, e) < bprt; in enum_rstbl() 2611 if (esize < min_de || PtrOffset(hdr, next) > used || in check_index_header() 2685 asize + PtrOffset(rec, attr) >= sbi->record_size || in check_attr() 2871 u32 o = PtrOffset(attr, hdr) + de_off; in check_if_root_index() 2926 memmove(Add2Ptr(attr, nsize), next, used - PtrOffset(rec, next)); in change_attr_size() 3397 PtrOffset(e1, Add2Ptr(hdr, used))); in do_action() 3421 memmove(e1, e2, PtrOffset(e2, Add2Ptr(hdr, used))); in do_action() 3519 PtrOffset(e1, Add2Ptr(hdr, used))); in do_action() 3549 memmove(e, e1, PtrOffset(e1, Add2Ptr(hdr, used))); in do_action() 3574 hdr->used = cpu_to_le32(dlen + PtrOffset(hdr, e)); in do_action() [all …]
|
D | index.c | 808 size_t off = PtrOffset(hdr, before); in hdr_insert_de() 831 off = PtrOffset(hdr, before); in hdr_insert_de() 851 u32 off = PtrOffset(hdr, re); in hdr_delete_de() 1417 *off = PtrOffset(&root->ihdr, e); in indx_find_raw() 1421 record_size + PtrOffset(&n->index->ihdr, e); in indx_find_raw() 1871 to_copy = PtrOffset(de_t, sp); in indx_insert_into_buffer()
|
D | ntfs.h | 734 size_t off = PtrOffset(hdr, e); in hdr_next_de()
|
D | inode.c | 1548 t16 = PtrOffset(rec, attr); in ntfs_create_inode() 1614 rec->used = cpu_to_le32(PtrOffset(rec, attr) + 8); in ntfs_create_inode()
|
D | frecord.c | 444 if (PtrOffset(ni->attr_list.le, le) >= ni->attr_list.size) in ni_remove_attr() 860 lsize = PtrOffset(ni->attr_list.le, le); in ni_create_attr_list() 2419 memmove(rbuf - 8, rbuf, used - PtrOffset(rec, rbuf)); in ni_decompress_file()
|
D | attrib.c | 251 aoff = PtrOffset(rec, attr); in attr_make_nonresident() 364 u32 aoff = PtrOffset(rec, attr); in attr_set_size_res()
|