Home
last modified time | relevance | path

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

/linux-6.6.21/fs/ntfs3/
Dxattr.c786 size_t sd_size = 0; in ntfs_getxattr() local
799 &sd, &sd_size); in ntfs_getxattr()
803 if (!is_sd_valid(sd, sd_size)) { in ntfs_getxattr()
811 err = sd_size; in ntfs_getxattr()
812 } else if (size < sd_size) { in ntfs_getxattr()
815 err = sd_size; in ntfs_getxattr()
816 memcpy(buffer, sd, sd_size); in ntfs_getxattr()
Dinode.c1229 u32 asize, dsize, sd_size; in ntfs_create_inode() local
1349 sd_size = sizeof(s_default_security); in ntfs_create_inode()
1357 !ntfs_insert_security(sbi, sd, sd_size, in ntfs_create_inode()
1425 asize = SIZEOF_RESIDENT + ALIGN(sd_size, 8); in ntfs_create_inode()
1431 attr->res.data_size = cpu_to_le32(sd_size); in ntfs_create_inode()
1432 memcpy(Add2Ptr(attr, SIZEOF_RESIDENT), sd, sd_size); in ntfs_create_inode()
/linux-6.6.21/fs/smb/server/
Dndr.c446 ret = ndr_write_bytes(n, acl->sd_buf, acl->sd_size); in ndr_encode_v4_ntacl()
507 acl->sd_size = n->length - n->offset; in ndr_decode_v4_ntacl()
508 acl->sd_buf = kzalloc(acl->sd_size, GFP_KERNEL); in ndr_decode_v4_ntacl()
512 ret = ndr_read_bytes(n, acl->sd_buf, acl->sd_size); in ndr_decode_v4_ntacl()
Dxattr.h93 __u32 sd_size; member
Dvfs.c1470 acl.sd_size = len; in ksmbd_vfs_set_sd_xattr()
1472 rc = ksmbd_gen_sd_hash(conn, acl.sd_buf, acl.sd_size, acl.hash); in ksmbd_vfs_set_sd_xattr()
1566 if (acl.sd_size < sizeof(struct smb_ntsd)) { in ksmbd_vfs_get_sd_xattr()
1578 rc = acl.sd_size; in ksmbd_vfs_get_sd_xattr()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_lan_hmc.c288 u64 sd_size; in i40e_create_lan_hmc_object() local
340 sd_size = I40E_HMC_DIRECT_BP_SIZE; in i40e_create_lan_hmc_object()
342 sd_size = info->direct_mode_sz; in i40e_create_lan_hmc_object()
351 sd_size); in i40e_create_lan_hmc_object()
/linux-6.6.21/fs/reiserfs/
Dinode.c1165 static int real_space_diff(struct inode *inode, int sd_size) in real_space_diff() argument
1171 return sd_size; in real_space_diff()
1185 sd_size; in real_space_diff()
1190 int sd_size) in to_real_used_space() argument
1194 (loff_t) (real_space_diff(inode, sd_size)); in to_real_used_space()
1196 return ((loff_t) real_space_diff(inode, sd_size)) + in to_real_used_space()
1201 static inline ulong to_fake_used_blocks(struct inode *inode, int sd_size) in to_fake_used_blocks() argument
1204 loff_t real_space = real_space_diff(inode, sd_size); in to_fake_used_blocks()
Dreiserfs.h1714 __le32 sd_size; /* file size */ member
1748 #define sd_v1_size(sdp) (le32_to_cpu((sdp)->sd_size))
1749 #define set_sd_v1_size(sdp,v) ((sdp)->sd_size = cpu_to_le32(v))
1798 __le64 sd_size; /* file size */ member
1826 #define sd_v2_size(sdp) (le64_to_cpu((sdp)->sd_size))
1827 #define set_sd_v2_size(sdp,v) ((sdp)->sd_size = cpu_to_le64(v))