Searched refs:lckdat (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/ |
H A D | fake_fssub.c | 390 convoff(struct vnode *vp, struct flock64 *lckdat, int whence, offset_t offset) in convoff() argument 395 if ((lckdat->l_whence == 2) || (whence == 2)) { in convoff() 401 switch (lckdat->l_whence) { in convoff() 403 lckdat->l_start += offset; in convoff() 406 lckdat->l_start += vattr.va_size; in convoff() 414 if (lckdat->l_start < 0) in convoff() 419 lckdat->l_start -= offset; in convoff() 422 lckdat->l_start -= vattr.va_size; in convoff() 430 lckdat->l_whence = (short)whence; in convoff()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | flock.c | 294 ofdlock(file_t *fp, int fcmd, flock64_t *lckdat, int flag, u_offset_t offset) in ofdlock() argument 311 VERIFY(lckdat->l_whence == 0); in ofdlock() 312 VERIFY(lckdat->l_start == 0); in ofdlock() 313 VERIFY(lckdat->l_len == 0); in ofdlock() 322 lckdat->l_pid = 0; in ofdlock() 323 lckdat->l_sysid = 0; in ofdlock() 329 ((lckdat->l_type == F_RDLCK && (flag & FREAD) == 0) || in ofdlock() 330 (lckdat->l_type == F_WRLCK && (flag & FWRITE) == 0))) in ofdlock() 336 if (lckdat->l_type == F_UNLCK || !(cmd & SETFLCK)) { in ofdlock() 363 error = flk_convert_lock_data(vp, lckdat, &lock_request->l_start, in ofdlock() [all …]
|