Lines Matching defs:buf
39 __u32 *oplock, FILE_ALL_INFO *buf)
89 if (buf) {
105 move_smb2_info_to_cifs(buf, smb2_data);
121 struct smb2_lock_element *buf, *cur;
141 buf = kcalloc(max_num, sizeof(struct smb2_lock_element), GFP_KERNEL);
142 if (!buf)
145 cur = buf;
182 current->tgid, num, buf);
198 cur = buf;
206 num, buf);
215 kfree(buf);
221 struct smb2_lock_element *buf, unsigned int max_num)
227 struct smb2_lock_element *cur = buf;
239 current->tgid, num, buf);
242 cur = buf;
251 current->tgid, num, buf);
265 struct smb2_lock_element *buf;
284 buf = kcalloc(max_num, sizeof(struct smb2_lock_element), GFP_KERNEL);
285 if (!buf) {
291 stored_rc = smb2_push_mand_fdlocks(fdlocks, xid, buf, max_num);
296 kfree(buf);