LOCKING_ANDX_RANGE
const __u32 num_lock, LOCKING_ANDX_RANGE *buf)
count = (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE);
(num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE);
iov[1].iov_len = (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE);
count = sizeof(LOCKING_ANDX_RANGE);
LOCKING_ANDX_RANGE *buf, *cur;
if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) {
BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) >
sizeof(LOCKING_ANDX_RANGE);
buf = kzalloc_objs(LOCKING_ANDX_RANGE, max_num);
LOCKING_ANDX_RANGE *buf, *cur;
if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE)))
BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) >
sizeof(LOCKING_ANDX_RANGE);
buf = kzalloc_objs(LOCKING_ANDX_RANGE, max_num);
LOCKING_ANDX_RANGE Locks[];
LOCKING_ANDX_RANGE *buf);