Searched refs:PtrOffset (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/fs/ntfs3/ |
H A 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()
|
H A 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()
|
H A D | debug.h | 19 #define PtrOffset(B, O) ((size_t)((size_t)(O) - (size_t)(B))) macro
|
H A D | lznt.c | 350 return is_zero ? 0 : PtrOffset(cmpr, p); in compress_lznt() 452 return PtrOffset(unc, unc_chunk); in decompress_lznt()
|
H A 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() 2871 u32 o = PtrOffset(attr, hdr) + de_off; in check_if_root_index() 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() 4227 free_rsttbl_idx(dptbl, PtrOffset(dptbl, next)); in log_replay() 5010 free_rsttbl_idx(trtbl, PtrOffset(trtbl, tr)); in log_replay() [all …]
|
H A 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()
|
H A D | ntfs.h | 734 size_t off = PtrOffset(hdr, e); in hdr_next_de()
|
H A 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()
|
H A 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()
|
H A D | attrib.c | 251 aoff = PtrOffset(rec, attr); in attr_make_nonresident() 364 u32 aoff = PtrOffset(rec, attr); in attr_set_size_res()
|