Home
last modified time | relevance | path

Searched refs:sd_size (Results 1 – 7 of 7) sorted by relevance

/fs/ntfs3/
Dxattr.c797 size_t sd_size = 0; in ntfs_getxattr() local
810 &sd, &sd_size); in ntfs_getxattr()
814 if (!is_sd_valid(sd, sd_size)) { in ntfs_getxattr()
822 err = sd_size; in ntfs_getxattr()
823 } else if (size < sd_size) { in ntfs_getxattr()
826 err = sd_size; in ntfs_getxattr()
827 memcpy(buffer, sd, sd_size); in ntfs_getxattr()
Dinode.c1215 u32 asize, dsize, sd_size; in ntfs_create_inode() local
1326 sd_size = sizeof(s_default_security); in ntfs_create_inode()
1334 !ntfs_insert_security(sbi, sd, sd_size, in ntfs_create_inode()
1396 asize = SIZEOF_RESIDENT + ALIGN(sd_size, 8); in ntfs_create_inode()
1402 attr->res.data_size = cpu_to_le32(sd_size); in ntfs_create_inode()
1403 memcpy(Add2Ptr(attr, SIZEOF_RESIDENT), sd, sd_size); in ntfs_create_inode()
/fs/ksmbd/
Dndr.c442 ret = ndr_write_bytes(n, acl->sd_buf, acl->sd_size); in ndr_encode_v4_ntacl()
503 acl->sd_size = n->length - n->offset; in ndr_decode_v4_ntacl()
504 acl->sd_buf = kzalloc(acl->sd_size, GFP_KERNEL); in ndr_decode_v4_ntacl()
508 ret = ndr_read_bytes(n, acl->sd_buf, acl->sd_size); in ndr_decode_v4_ntacl()
Dxattr.h93 __u32 sd_size; member
Dvfs.c1467 acl.sd_size = len; in ksmbd_vfs_set_sd_xattr()
1469 rc = ksmbd_gen_sd_hash(conn, acl.sd_buf, acl.sd_size, acl.hash); in ksmbd_vfs_set_sd_xattr()
1563 if (acl.sd_size < sizeof(struct smb_ntsd)) { in ksmbd_vfs_get_sd_xattr()
1575 rc = acl.sd_size; in ksmbd_vfs_get_sd_xattr()
/fs/reiserfs/
Dinode.c1173 static int real_space_diff(struct inode *inode, int sd_size) in real_space_diff() argument
1179 return sd_size; in real_space_diff()
1193 sd_size; in real_space_diff()
1198 int sd_size) in to_real_used_space() argument
1202 (loff_t) (real_space_diff(inode, sd_size)); in to_real_used_space()
1204 return ((loff_t) real_space_diff(inode, sd_size)) + in to_real_used_space()
1209 static inline ulong to_fake_used_blocks(struct inode *inode, int sd_size) in to_fake_used_blocks() argument
1212 loff_t real_space = real_space_diff(inode, sd_size); in to_fake_used_blocks()
Dreiserfs.h1715 __le32 sd_size; /* file size */ member
1749 #define sd_v1_size(sdp) (le32_to_cpu((sdp)->sd_size))
1750 #define set_sd_v1_size(sdp,v) ((sdp)->sd_size = cpu_to_le32(v))
1799 __le64 sd_size; /* file size */ member
1827 #define sd_v2_size(sdp) (le64_to_cpu((sdp)->sd_size))
1828 #define set_sd_v2_size(sdp,v) ((sdp)->sd_size = cpu_to_le64(v))