smb2_lock_element  122 fs/cifs/smb2file.c 	struct smb2_lock_element *buf, *cur;
smb2_lock_element  136 fs/cifs/smb2file.c 	if (max_buf < sizeof(struct smb2_lock_element))
smb2_lock_element  139 fs/cifs/smb2file.c 	BUILD_BUG_ON(sizeof(struct smb2_lock_element) > PAGE_SIZE);
smb2_lock_element  141 fs/cifs/smb2file.c 	max_num = max_buf / sizeof(struct smb2_lock_element);
smb2_lock_element  142 fs/cifs/smb2file.c 	buf = kcalloc(max_num, sizeof(struct smb2_lock_element), GFP_KERNEL);
smb2_lock_element  217 fs/cifs/smb2file.c 		       struct smb2_lock_element *buf, unsigned int max_num)
smb2_lock_element  223 fs/cifs/smb2file.c 	struct smb2_lock_element *cur = buf;
smb2_lock_element  261 fs/cifs/smb2file.c 	struct smb2_lock_element *buf;
smb2_lock_element  272 fs/cifs/smb2file.c 	if (max_buf < sizeof(struct smb2_lock_element)) {
smb2_lock_element  277 fs/cifs/smb2file.c 	BUILD_BUG_ON(sizeof(struct smb2_lock_element) > PAGE_SIZE);
smb2_lock_element  279 fs/cifs/smb2file.c 	max_num = max_buf / sizeof(struct smb2_lock_element);
smb2_lock_element  280 fs/cifs/smb2file.c 	buf = kcalloc(max_num, sizeof(struct smb2_lock_element), GFP_KERNEL);
smb2_lock_element 4790 fs/cifs/smb2pdu.c 	   const __u32 num_lock, struct smb2_lock_element *buf)
smb2_lock_element 4817 fs/cifs/smb2pdu.c 	count = num_lock * sizeof(struct smb2_lock_element);
smb2_lock_element 4820 fs/cifs/smb2pdu.c 	iov[0].iov_len = total_len - sizeof(struct smb2_lock_element);
smb2_lock_element 4849 fs/cifs/smb2pdu.c 	struct smb2_lock_element lock;
smb2_lock_element 1248 fs/cifs/smb2pdu.h 	struct smb2_lock_element locks[1];
smb2_lock_element  236 fs/cifs/smb2proto.h 		      struct smb2_lock_element *buf);