Searched refs:LOCKING_ANDX_RANGE (Results 1 – 4 of 4) sorted by relevance
1549 LOCKING_ANDX_RANGE *buf, *cur; in cifs_push_mandatory_locks()1564 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) { in cifs_push_mandatory_locks()1569 BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) > in cifs_push_mandatory_locks()1574 sizeof(LOCKING_ANDX_RANGE); in cifs_push_mandatory_locks()1575 buf = kcalloc(max_num, sizeof(LOCKING_ANDX_RANGE), GFP_KERNEL); in cifs_push_mandatory_locks()1904 LOCKING_ANDX_RANGE *buf, *cur; in cifs_unlock_range()1918 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) in cifs_unlock_range()1921 BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) > in cifs_unlock_range()1926 sizeof(LOCKING_ANDX_RANGE); in cifs_unlock_range()1927 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[];
516 LOCKING_ANDX_RANGE *buf);
1852 const __u32 num_lock, LOCKING_ANDX_RANGE *buf) in cifs_lockv()1875 count = (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE); in cifs_lockv()1881 (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE); in cifs_lockv()1883 iov[1].iov_len = (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE); in cifs_lockv()1941 count = sizeof(LOCKING_ANDX_RANGE); in CIFSSMBLock()