Home
last modified time | relevance | path

Searched refs:roff (Results 1 – 4 of 4) sorted by relevance

/fs/ntfs3/
Dfrecord.c527 u32 roff, rs = sbi->record_size; in ni_repack() local
569 roff = le16_to_cpu(attr->nres.run_off); in ni_repack()
571 if (roff > le32_to_cpu(attr->size)) { in ni_repack()
577 Add2Ptr(attr, roff), in ni_repack()
578 le32_to_cpu(attr->size) - roff); in ni_repack()
1525 u16 roff; in ni_delete_all() local
1554 roff = le16_to_cpu(attr->nres.run_off); in ni_delete_all()
1556 if (roff > asize) in ni_delete_all()
1561 Add2Ptr(attr, roff), asize - roff); in ni_delete_all()
2233 u32 asize, roff; in ni_decompress_file() local
[all …]
Dinode.c40 u16 roff, rsize, names = 0; in ntfs_read_mft() local
136 roff = attr->non_res ? 0 : le16_to_cpu(attr->res.data_off); in ntfs_read_mft()
153 asize < sizeof(struct ATTR_STD_INFO) + roff || in ntfs_read_mft()
160 std5 = Add2Ptr(attr, roff); in ntfs_read_mft()
171 if (asize >= sizeof(struct ATTR_STD_INFO5) + roff && in ntfs_read_mft()
189 if (attr->non_res || asize < SIZEOF_ATTRIBUTE_FILENAME + roff || in ntfs_read_mft()
193 fname = Add2Ptr(attr, roff); in ntfs_read_mft()
267 root = Add2Ptr(attr, roff); in ntfs_read_mft()
383 roff = le16_to_cpu(attr->nres.run_off); in ntfs_read_mft()
385 if (roff > asize) { in ntfs_read_mft()
[all …]
Dfslog.c3038 u16 roff = le16_to_cpu(lrh->record_off); in do_action() local
3100 attr = Add2Ptr(rec, roff); in do_action()
3133 attr = Add2Ptr(rec, roff); in do_action()
3165 bytes += roff; in do_action()
3189 if (roff + dlen > record_size) in do_action()
3192 memcpy(Add2Ptr(rec, roff), data, dlen); in do_action()
3204 if (!check_if_attr(rec, lrh) || roff + dlen > record_size) in do_action()
3208 rec->used = cpu_to_le32(ALIGN(roff + dlen, 8)); in do_action()
3225 memmove(Add2Ptr(attr, asize), attr, used - roff); in do_action()
3261 memmove(attr, Add2Ptr(attr, asize), used - asize - roff); in do_action()
[all …]
Dattrib.c1844 u16 roff = le16_to_cpu(attr->nres.run_off); in attr_collapse_range() local
1846 if (roff > le32_to_cpu(attr->size)) { in attr_collapse_range()
1852 evcn1 - 1, svcn, Add2Ptr(attr, roff), in attr_collapse_range()
1853 le32_to_cpu(attr->size) - roff); in attr_collapse_range()