Searched refs:LOCKING_ANDX_RANGE (Results 1 – 4 of 4) sorted by relevance
1457 LOCKING_ANDX_RANGE *buf, *cur; in cifs_push_mandatory_locks()1472 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) { in cifs_push_mandatory_locks()1477 BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) > in cifs_push_mandatory_locks()1482 sizeof(LOCKING_ANDX_RANGE); in cifs_push_mandatory_locks()1483 buf = kcalloc(max_num, sizeof(LOCKING_ANDX_RANGE), GFP_KERNEL); in cifs_push_mandatory_locks()1812 LOCKING_ANDX_RANGE *buf, *cur; in cifs_unlock_range()1826 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) in cifs_unlock_range()1829 BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) > in cifs_unlock_range()1834 sizeof(LOCKING_ANDX_RANGE); in cifs_unlock_range()1835 buf = kcalloc(max_num, sizeof(LOCKING_ANDX_RANGE), GFP_KERNEL); in cifs_unlock_range()
508 LOCKING_ANDX_RANGE *buf);
1070 } __attribute__((packed)) LOCKING_ANDX_RANGE; typedef1090 LOCKING_ANDX_RANGE Locks[];
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()