Home
last modified time | relevance | path

Searched refs:name_off (Results 1 – 13 of 13) sorted by relevance

/fs/ntfs3/
Dfrecord.c456 const __le16 *name, u8 name_len, u32 asize, u16 name_off, in ni_ins_new_attr() argument
484 attr = mi_insert_attr(mi, type, name, name_len, asize, name_off); in ni_ins_new_attr()
730 le16_to_cpu(attr->name_off)); in ni_try_remove_attr_list()
809 le->name_off = offsetof(struct ATTR_LIST_ENTRY, name); in ni_create_attr_list()
857 u16 name_off = le16_to_cpu(b->name_off); in ni_create_attr_list() local
859 attr = mi_insert_attr(mi, b->type, Add2Ptr(b, name_off), in ni_create_attr_list()
860 b->name_len, asize, name_off); in ni_create_attr_list()
916 u32 asize, CLST svcn, u16 name_off, bool force_ext, in ni_ins_attr_ext() argument
998 name_off, svcn, ins_le); in ni_ins_attr_ext()
1021 name_off, svcn, ins_le); in ni_ins_attr_ext()
[all …]
Drecord.c270 le16_to_cpu(attr->name_off) + sizeof(short) * attr->name_len > t16) { in mi_enum_attr()
279 le16_to_cpu(attr->name_off) + sizeof(short) * attr->name_len > in mi_enum_attr()
437 u16 name_off) in mi_insert_attr() argument
484 attr->name_off = cpu_to_le16(name_off); in mi_insert_attr()
487 memmove(Add2Ptr(attr, name_off), name, name_len * sizeof(short)); in mi_insert_attr()
Dntfs.h370 __le16 name_off; // 0x0A: Offset to the attribute name. member
431 return Add2Ptr(attr, le16_to_cpu(attr->name_off)); in attr_name()
516 u8 name_off; // 0x07: The offset to attribute name. member
536 memcmp(Add2Ptr(le, le->name_off), in le_cmp()
537 Add2Ptr(attr, le16_to_cpu(attr->name_off)), in le_cmp()
543 return Add2Ptr(le, le->name_off); in le_name()
Dinode.c140 if (le16_to_cpu(attr->name_off) + attr->name_len > asize) in ntfs_read_mft()
1421 attr->name_off = SIZEOF_RESIDENT_LE; in ntfs_create_inode()
1449 attr->name_off = SIZEOF_RESIDENT_LE; in ntfs_create_inode()
1460 attr->name_off = SIZEOF_NONRESIDENT_EX_LE; in ntfs_create_inode()
1465 attr->name_off = SIZEOF_NONRESIDENT_EX_LE; in ntfs_create_inode()
1471 attr->name_off = SIZEOF_NONRESIDENT_LE; in ntfs_create_inode()
1474 attr->nres.run_off = attr->name_off; in ntfs_create_inode()
1481 attr->name_off = SIZEOF_RESIDENT_LE; in ntfs_create_inode()
1529 attr->name_off = SIZEOF_NONRESIDENT_LE; in ntfs_create_inode()
1530 attr->nres.run_off = attr->name_off; in ntfs_create_inode()
Dattrlist.c154 sz < le->name_off + le->name_len * sizeof(short)) { in al_enumerate()
333 le->name_off = offsetof(struct ATTR_LIST_ENTRY, name); in al_add_le()
Dntfs_fs.h744 u16 name_off);
Dfslog.c2685 le16_to_cpu(attr->name_off) + attr->name_len * sizeof(short) > in check_attr()
2995 attr->name_off = SIZEOF_NONRESIDENT_EX_LE; in attr_create_nonres_log()
3004 attr->name_off = SIZEOF_NONRESIDENT_LE; in attr_create_nonres_log()
/fs/ksmbd/
Dsmb2misc.c110 unsigned short int name_off = in smb2_get_data_area_len() local
123 if (name_off + name_len < (u64)*off + *len) in smb2_get_data_area_len()
127 *off = name_off; in smb2_get_data_area_len()
Doplock.c1560 unsigned int remain_len, name_off, name_len, value_off, value_len, in smb2_find_context_vals() local
1576 name_off = le16_to_cpu(cc->NameOffset); in smb2_find_context_vals()
1584 name_off != offsetof(struct create_context, Buffer) || in smb2_find_context_vals()
1586 name_off + name_len > cc_len || in smb2_find_context_vals()
1588 (value_len && value_off < name_off + (name_len < 8 ? 8 : name_len)) || in smb2_find_context_vals()
1592 name = (char *)cc + name_off; in smb2_find_context_vals()
Dsmb2pdu.c1415 unsigned int name_off, name_len, secbuf_len; in session_user() local
1426 name_off = le32_to_cpu(authblob->UserName.BufferOffset); in session_user()
1429 if (secbuf_len < (u64)name_off + name_len) in session_user()
1432 name = smb_strndup_from_utf16((const char *)authblob + name_off, in session_user()
/fs/btrfs/
Dbackref.h52 u32 name_len, unsigned long name_off,
Dbackref.c1716 u32 name_len, unsigned long name_off, argument
1735 name_off, name_len);
1765 name_off = (unsigned long)(iref + 1);
2112 typedef int (iterate_irefs_t)(u64 parent, u32 name_len, unsigned long name_off,
2264 static int inode_to_path(u64 inum, u32 name_len, unsigned long name_off, argument
2279 name_off, eb, inum, fspath_min, bytes_left);
Dsend.c913 unsigned long name_off; in iterate_inode_ref() local
946 name_off = (unsigned long)(iref + 1); in iterate_inode_ref()
952 name_off = (unsigned long)&extref->name; in iterate_inode_ref()
959 name_off, eb, dir, in iterate_inode_ref()
972 name_len, name_off, in iterate_inode_ref()
983 ret = fs_path_add_from_extent_buffer(p, eb, name_off, in iterate_inode_ref()