Searched refs:LOCKING_ANDX_RANGE (Results 1 – 4 of 4) sorted by relevance
1733 LOCKING_ANDX_RANGE *buf, *cur; in cifs_push_mandatory_locks()1748 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) { in cifs_push_mandatory_locks()1753 BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) > in cifs_push_mandatory_locks()1758 sizeof(LOCKING_ANDX_RANGE); in cifs_push_mandatory_locks()1759 buf = kcalloc(max_num, sizeof(LOCKING_ANDX_RANGE), GFP_KERNEL); in cifs_push_mandatory_locks()2091 LOCKING_ANDX_RANGE *buf, *cur; in cifs_unlock_range()2103 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) in cifs_unlock_range()2106 BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) > in cifs_unlock_range()2111 sizeof(LOCKING_ANDX_RANGE); in cifs_unlock_range()2112 buf = kcalloc(max_num, sizeof(LOCKING_ANDX_RANGE), GFP_KERNEL); in cifs_unlock_range()
1070 } __attribute__((packed)) LOCKING_ANDX_RANGE; typedef1090 LOCKING_ANDX_RANGE Locks[];
514 LOCKING_ANDX_RANGE *buf);
1894 const __u32 num_lock, LOCKING_ANDX_RANGE *buf) in cifs_lockv()1917 count = (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE); in cifs_lockv()1923 (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE); in cifs_lockv()1925 iov[1].iov_len = (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE); in cifs_lockv()1983 count = sizeof(LOCKING_ANDX_RANGE); in CIFSSMBLock()