Lines Matching refs:client

80 	struct nlm4_holder client; /* lock holder */  member
340 fl->client.exclusive, fl->client.svid, in dump_filelock()
341 fl->client.l_offset, fl->client.l_len); in dump_filelock()
345 dump_netobj(&fl->client.oh); in dump_filelock()
352 fl->flags, fl->client.svid, fl->client_name); in dump_filelock()
410 newfl->client.oh.n_bytes = malloc(lockowner->n_len); in allocate_file_lock()
411 if (newfl->client.oh.n_bytes == NULL) { in allocate_file_lock()
415 newfl->client.oh.n_len = lockowner->n_len; in allocate_file_lock()
416 bcopy(lockowner->n_bytes, newfl->client.oh.n_bytes, lockowner->n_len); in allocate_file_lock()
420 free(newfl->client.oh.n_bytes); in allocate_file_lock()
430 free(newfl->client.oh.n_bytes); in allocate_file_lock()
450 fl->client.exclusive = exclusive; in fill_file_lock()
451 fl->client.svid = svid; in fill_file_lock()
452 fl->client.l_offset = offset; in fill_file_lock()
453 fl->client.l_len = len; in fill_file_lock()
468 free(fl->client.oh.n_bytes); in deallocate_file_lock()
705 retval = (fl0->client.svid == fl1->client.svid &&
706 same_netobj(&(fl0->client.oh), &(fl1->client.oh)));
752 if (!regions_overlap(fl->client.l_offset, fl->client.l_len, in get_lock_matching_unlock()
753 ifl->client.l_offset, ifl->client.l_len)) in get_lock_matching_unlock()
758 fl->client.l_offset,fl->client.l_len, in get_lock_matching_unlock()
759 ifl->client.l_offset,ifl->client.l_len); in get_lock_matching_unlock()
831 if (!regions_overlap(fl->client.l_offset, fl->client.l_len, in test_nfslock()
832 ifl->client.l_offset, ifl->client.l_len)) in test_nfslock()
837 fl->client.l_offset,fl->client.l_len, in test_nfslock()
838 ifl->client.l_offset,ifl->client.l_len); in test_nfslock()
841 if (!(fl->client.exclusive || ifl->client.exclusive)) in test_nfslock()
845 fl->client.exclusive, in test_nfslock()
846 ifl->client.exclusive); in test_nfslock()
939 spstatus = region_compare(exist_lock->client.l_offset, exist_lock->client.l_len,
940 unlock_lock->client.l_offset, unlock_lock->client.l_len,
944 …*left_lock = allocate_file_lock(&exist_lock->client.oh, &exist_lock->client_cookie, exist_lock->ad…
951 exist_lock->client.exclusive, exist_lock->client.svid,
958 …*right_lock = allocate_file_lock(&exist_lock->client.oh, &exist_lock->client_cookie, exist_lock->a…
968 exist_lock->client.exclusive, exist_lock->client.svid,
1103 nmf->exclusive = fl->client.exclusive; in lock_hwlock()
1213 fl->client.exclusive == ifl->client.exclusive && in duplicate_block()
1214 fl->client.l_offset == ifl->client.l_offset && in duplicate_block()
1215 fl->client.l_len == ifl->client.l_len && in duplicate_block()
1900 copy_nlm4_lock_to_nlm4_holder(lock, exclusive, &test_fl.client); in testlock()
1913 return (&conflicting_fl->client); in testlock()
2005 copy_nlm4_lock_to_nlm4_holder(lock, 0, &fl.client); in unlock()
2218 res.exclusive = fl->client.exclusive;
2222 res.alock.oh = fl->client.oh;
2223 res.alock.svid = fl->client.svid;
2224 res.alock.l_offset = fl->client.l_offset;
2225 res.alock.l_len = fl->client.l_len;
2241 res.exclusive = fl->client.exclusive;
2245 res.alock.oh = fl->client.oh;
2246 res.alock.svid = fl->client.svid;
2247 res.alock.l_offset = fl->client.l_offset;
2248 res.alock.l_len = fl->client.l_len;