Searched refs:lockinfo (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dadb_openclose.c46 osa_adb_lock_ent lockinfo; member in struct:_locklist
170 * distinct lockinfo structures, things get confused: lock(A),
174 * single lockinfo structure.
176 * It is not sufficient to have a single lockinfo structure,
179 * lock files. This code used to use a single static lockinfo
183 * We now maintain a linked list of lockinfo structures, keyed by
188 * decremented, and when it is zero the lockinfo structure is
194 /* find or create the lockinfo structure for lockfilename */
197 if (strcmp(lockp->lockinfo.filename, lockfilename) == 0)
214 /* now initialize lockp->lockinfo i
[all...]
/illumos-gate/usr/src/lib/libadm/common/
H A Dputdgrp.c294 struct flock lockinfo; /* File locking structure */ local
314 lockinfo.l_type = lktype;
315 lockinfo.l_whence = 0;
316 lockinfo.l_start = 0L;
317 lockinfo.l_len = 0L;
321 while ((fcntl(fileno(oam_dgroup), F_SETLK, &lockinfo) == -1) &&
334 &lockinfo) == -1)
374 struct flock lockinfo; /* Locking structure */ local
378 lockinfo.l_type = F_UNLCK; /* Lock type */
379 lockinfo
[all...]
H A Dputdev.c318 struct flock lockinfo; /* File locking structure */ local
338 lockinfo.l_type = lktype;
339 lockinfo.l_whence = 0;
340 lockinfo.l_start = 0L;
341 lockinfo.l_len = 0L;
345 while ((fcntl(fileno(oam_devtab), F_SETLK, &lockinfo) == -1) &&
348 if (fcntl(fileno(oam_devtab), F_SETLKW, &lockinfo) == -1)
382 struct flock lockinfo; /* Locking structure */ local
386 lockinfo.l_type = F_UNLCK; /* Lock type */
387 lockinfo
[all...]
/illumos-gate/usr/src/test/os-tests/tests/file-locking/
H A Druntests.c38 typedef struct lockinfo { struct

Completed in 63 milliseconds