Searched refs:LOCKING_ANDX_RANGE (Results 1 – 4 of 4) sorted by relevance
1186 LOCKING_ANDX_RANGE *buf, *cur; in cifs_push_mandatory_locks()1201 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) { in cifs_push_mandatory_locks()1206 BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) > in cifs_push_mandatory_locks()1211 sizeof(LOCKING_ANDX_RANGE); in cifs_push_mandatory_locks()1212 buf = kcalloc(max_num, sizeof(LOCKING_ANDX_RANGE), GFP_KERNEL); in cifs_push_mandatory_locks()1531 LOCKING_ANDX_RANGE *buf, *cur; in cifs_unlock_range()1545 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) in cifs_unlock_range()1548 BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) > in cifs_unlock_range()1553 sizeof(LOCKING_ANDX_RANGE); in cifs_unlock_range()1554 buf = kcalloc(max_num, sizeof(LOCKING_ANDX_RANGE), GFP_KERNEL); in cifs_unlock_range()
468 LOCKING_ANDX_RANGE *buf);
1117 } __attribute__((packed)) LOCKING_ANDX_RANGE; typedef1137 LOCKING_ANDX_RANGE Locks[1];
2390 const __u32 num_lock, LOCKING_ANDX_RANGE *buf) in cifs_lockv()2413 count = (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE); in cifs_lockv()2419 (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE); in cifs_lockv()2421 iov[1].iov_len = (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE); in cifs_lockv()2479 count = sizeof(LOCKING_ANDX_RANGE); in CIFSSMBLock()