Searched refs:LOCKING_ANDX_RANGE (Results 1 – 4 of 4) sorted by relevance
1157 LOCKING_ANDX_RANGE *buf, *cur; in cifs_push_mandatory_locks()1172 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) { in cifs_push_mandatory_locks()1177 BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) > in cifs_push_mandatory_locks()1182 sizeof(LOCKING_ANDX_RANGE); in cifs_push_mandatory_locks()1183 buf = kcalloc(max_num, sizeof(LOCKING_ANDX_RANGE), GFP_KERNEL); in cifs_push_mandatory_locks()1502 LOCKING_ANDX_RANGE *buf, *cur; in cifs_unlock_range()1516 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) in cifs_unlock_range()1519 BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) > in cifs_unlock_range()1524 sizeof(LOCKING_ANDX_RANGE); in cifs_unlock_range()1525 buf = kcalloc(max_num, sizeof(LOCKING_ANDX_RANGE), GFP_KERNEL); in cifs_unlock_range()
440 LOCKING_ANDX_RANGE *buf);
1112 } __attribute__((packed)) LOCKING_ANDX_RANGE; typedef1132 LOCKING_ANDX_RANGE Locks[1];
2378 const __u32 num_lock, LOCKING_ANDX_RANGE *buf) in cifs_lockv()2401 count = (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE); in cifs_lockv()2407 (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE); in cifs_lockv()2409 iov[1].iov_len = (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE); in cifs_lockv()2467 count = sizeof(LOCKING_ANDX_RANGE); in CIFSSMBLock()