Home
last modified time | relevance | path

Searched refs:hdr_size (Results 1 – 2 of 2) sorted by relevance

/fs/xfs/libxfs/
Dxfs_attr_remote.c294 int hdr_size = 0; in xfs_attr_rmtval_copyout() local
307 hdr_size = sizeof(struct xfs_attr3_rmt_hdr); in xfs_attr_rmtval_copyout()
310 memcpy(*dst, src + hdr_size, byte_cnt); in xfs_attr_rmtval_copyout()
342 int hdr_size; in xfs_attr_rmtval_copyin() local
346 hdr_size = xfs_attr3_rmt_hdr_set(mp, dst, ino, *offset, in xfs_attr_rmtval_copyin()
349 memcpy(dst + hdr_size, *src, byte_cnt); in xfs_attr_rmtval_copyin()
355 if (byte_cnt + hdr_size < blksize) { in xfs_attr_rmtval_copyin()
358 memset(dst + hdr_size + byte_cnt, 0, in xfs_attr_rmtval_copyin()
359 blksize - hdr_size - byte_cnt); in xfs_attr_rmtval_copyin()
/fs/cifs/
Dsmb2misc.c148 int hdr_size = sizeof(struct smb2_sync_hdr); in smb2_check_message() local
178 if ((len >= hdr_size) in smb2_check_message()