Lines Matching refs:li

759 	struct cifsLockInfo *li, *tmp;
767 list_for_each_entry_safe(li, tmp, &cifs_file->llist->locks, llist) {
768 list_del(&li->llist);
769 cifs_del_lock_waiters(li);
770 kfree(li);
1510 struct cifsLockInfo *li, *tmp;
1511 list_for_each_entry_safe(li, tmp, &lock->blist, blist) {
1512 list_del_init(&li->blist);
1513 wake_up(&li->block_q);
1528 struct cifsLockInfo *li;
1532 list_for_each_entry(li, &fdlocks->locks, llist) {
1533 if (offset + length <= li->offset ||
1534 offset >= li->offset + li->length)
1536 if (rw_check != CIFS_LOCK_OP && current->tgid == li->pid &&
1539 if (!(li->type & server->vals->shared_lock_type) ||
1545 current->tgid == li->pid) || type == li->type))
1548 (flags & FL_OFDLCK) && (li->flags & FL_OFDLCK) &&
1552 *conf_lock = li;
1736 struct cifsLockInfo *li, *tmp;
1774 list_for_each_entry_safe(li, tmp, &cfile->llist->locks, llist) {
1775 if (li->type != types[i])
1777 cur->Pid = cpu_to_le16(li->pid);
1778 cur->LengthLow = cpu_to_le32((u32)li->length);
1779 cur->LengthHigh = cpu_to_le32((u32)(li->length>>32));
1780 cur->OffsetLow = cpu_to_le32((u32)li->offset);
1781 cur->OffsetHigh = cpu_to_le32((u32)(li->offset>>32));
1785 (__u8)li->type, 0, num,
2069 struct list_head *li, *tmp;
2070 list_for_each_safe(li, tmp, source)
2071 list_move(li, dest);
2077 struct cifsLockInfo *li, *tmp;
2078 list_for_each_entry_safe(li, tmp, llist, llist) {
2079 cifs_del_lock_waiters(li);
2080 list_del(&li->llist);
2081 kfree(li);
2100 struct cifsLockInfo *li, *tmp;
2128 list_for_each_entry_safe(li, tmp, &cfile->llist->locks, llist) {
2129 if (flock->fl_start > li->offset ||
2131 (li->offset + li->length))
2133 if (current->tgid != li->pid)
2135 if (types[i] != li->type)
2142 list_del(&li->llist);
2143 cifs_del_lock_waiters(li);
2144 kfree(li);
2147 cur->Pid = cpu_to_le16(li->pid);
2148 cur->LengthLow = cpu_to_le32((u32)li->length);
2149 cur->LengthHigh = cpu_to_le32((u32)(li->length>>32));
2150 cur->OffsetLow = cpu_to_le32((u32)li->offset);
2151 cur->OffsetHigh = cpu_to_le32((u32)(li->offset>>32));
2157 list_move(&li->llist, &tmp_llist);
2161 li->type, num, 0, buf);