Lines Matching refs:lck
1553 struct lock_to_push *lck, *tmp;
1575 lck = kmalloc(sizeof(struct lock_to_push), GFP_KERNEL);
1576 if (!lck) {
1580 list_add_tail(&lck->llist, &locks_to_send);
1599 lck = list_entry(el, struct lock_to_push, llist);
1600 lck->pid = hash_lockowner(flock->fl_owner);
1601 lck->netfid = cfile->fid.netfid;
1602 lck->length = length;
1603 lck->type = type;
1604 lck->offset = flock->fl_start;
1608 list_for_each_entry_safe(lck, tmp, &locks_to_send, llist) {
1611 stored_rc = CIFSSMBPosixLock(xid, tcon, lck->netfid, lck->pid,
1612 lck->offset, lck->length, NULL,
1613 lck->type, 0);
1616 list_del(&lck->llist);
1617 kfree(lck);
1624 list_for_each_entry_safe(lck, tmp, &locks_to_send, llist) {
1625 list_del(&lck->llist);
1626 kfree(lck);