Searched refs:sd_size (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/fs/ntfs3/ |
D | xattr.c | 758 size_t sd_size = 0; in ntfs_getxattr() local 771 &sd, &sd_size); in ntfs_getxattr() 775 if (!is_sd_valid(sd, sd_size)) { in ntfs_getxattr() 783 err = sd_size; in ntfs_getxattr() 784 } else if (size < sd_size) { in ntfs_getxattr() 787 err = sd_size; in ntfs_getxattr() 788 memcpy(buffer, sd, sd_size); in ntfs_getxattr()
|
D | inode.c | 1192 u32 asize, dsize, sd_size; in ntfs_create_inode() local 1303 sd_size = sizeof(s_default_security); in ntfs_create_inode() 1311 !ntfs_insert_security(sbi, sd, sd_size, in ntfs_create_inode() 1373 asize = SIZEOF_RESIDENT + ALIGN(sd_size, 8); in ntfs_create_inode() 1379 attr->res.data_size = cpu_to_le32(sd_size); in ntfs_create_inode() 1380 memcpy(Add2Ptr(attr, SIZEOF_RESIDENT), sd, sd_size); in ntfs_create_inode()
|
/linux-6.1.9/fs/ksmbd/ |
D | ndr.c | 446 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()
|
D | xattr.h | 93 __u32 sd_size; member
|
D | vfs.c | 1456 acl.sd_size = len; in ksmbd_vfs_set_sd_xattr() 1458 rc = ksmbd_gen_sd_hash(conn, acl.sd_buf, acl.sd_size, acl.hash); in ksmbd_vfs_set_sd_xattr() 1552 if (acl.sd_size < sizeof(struct smb_ntsd)) { in ksmbd_vfs_get_sd_xattr() 1564 rc = acl.sd_size; in ksmbd_vfs_get_sd_xattr()
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_lan_hmc.c | 288 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.1.9/fs/reiserfs/ |
D | inode.c | 1165 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()
|
D | reiserfs.h | 1715 __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))
|