Searched refs:LOCKING_ANDX_RANGE (Results 1 – 4 of 4) sorted by relevance
1324 LOCKING_ANDX_RANGE *buf, *cur; in cifs_push_mandatory_locks()1339 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) { in cifs_push_mandatory_locks()1344 BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) > in cifs_push_mandatory_locks()1349 sizeof(LOCKING_ANDX_RANGE); in cifs_push_mandatory_locks()1350 buf = kcalloc(max_num, sizeof(LOCKING_ANDX_RANGE), GFP_KERNEL); in cifs_push_mandatory_locks()1679 LOCKING_ANDX_RANGE *buf, *cur; in cifs_unlock_range()1693 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) in cifs_unlock_range()1696 BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) > in cifs_unlock_range()1701 sizeof(LOCKING_ANDX_RANGE); in cifs_unlock_range()1702 buf = kcalloc(max_num, sizeof(LOCKING_ANDX_RANGE), GFP_KERNEL); in cifs_unlock_range()
483 LOCKING_ANDX_RANGE *buf);
1068 } __attribute__((packed)) LOCKING_ANDX_RANGE; typedef1088 LOCKING_ANDX_RANGE Locks[1];
1885 const __u32 num_lock, LOCKING_ANDX_RANGE *buf) in cifs_lockv()1908 count = (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE); in cifs_lockv()1914 (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE); in cifs_lockv()1916 iov[1].iov_len = (num_unlock + num_lock) * sizeof(LOCKING_ANDX_RANGE); in cifs_lockv()1974 count = sizeof(LOCKING_ANDX_RANGE); in CIFSSMBLock()