/freebsd-10-stable/contrib/apr/file_io/unix/ |
H A D | flock.c | 62 int ltype; local 65 ltype = LOCK_SH; 67 ltype = LOCK_EX; 69 ltype |= LOCK_NB; 72 while ((rc = flock(thefile->filedes, ltype)) < 0 && errno == EINTR)
|
/freebsd-10-stable/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_lookup.c | 50 int error, ltype; local 55 ltype = VOP_ISLOCKED(startvp); 62 vn_lock(startvp, ltype | LK_RETRY);
|
/freebsd-10-stable/contrib/ntp/lib/isc/include/isc/ |
H A D | event.h | 34 #define ISC_EVENT_COMMON(ltype) \ 44 ISC_LINK(ltype) ev_link
|
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | procset.h | 137 #define setprocset(psp, op, ltype, lid, rtype, rid) \ 139 (psp)->p_lidtype = (ltype); \
|
/freebsd-10-stable/lib/libkse/sys/ |
H A D | lock.c | 56 _lock_init(struct lock *lck, enum lock_type ltype, argument 65 lck->l_type = ltype; 78 _lock_reinit(struct lock *lck, enum lock_type ltype, argument 84 return (_lock_init(lck, ltype, waitfunc, wakeupfunc, calloc));
|
/freebsd-10-stable/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_types.c | 561 ctf_type_cmp(ctf_file_t *lfp, ctf_id_t ltype, ctf_file_t *rfp, ctf_id_t rtype) argument 565 if (ltype < rtype) 567 else if (ltype > rtype) 575 if (CTF_TYPE_ISPARENT(ltype) && lfp->ctf_parent != NULL) 597 ctf_type_compat(ctf_file_t *lfp, ctf_id_t ltype, argument 605 if (ctf_type_cmp(lfp, ltype, rfp, rtype) == 0) 608 ltype = ctf_type_resolve(lfp, ltype); 609 lkind = ctf_type_kind(lfp, ltype); 615 (ltp = ctf_lookup_by_id(&lfp, ltype)) [all...] |
H A D | ctf_create.c | 1094 ctf_id_t ltype = ctf_type_resolve(fp, lmd->dmd_type); local 1100 if (ctf_type_encoding(fp, ltype, &linfo) != CTF_ERR) 1102 else if ((lsize = ctf_type_size(fp, ltype)) != CTF_ERR)
|
/freebsd-10-stable/sys/fs/cd9660/ |
H A D | cd9660_lookup.c | 128 int ltype, reclen; local 403 ltype = cnp->cn_lkflags & LK_TYPE_MASK; 404 if (ltype != VOP_ISLOCKED(vdp)) { 405 if (ltype == LK_EXCLUSIVE) 407 else /* if (ltype == LK_SHARED) */
|
/freebsd-10-stable/contrib/one-true-awk/ |
H A D | awk.h | 209 long ltype; /* long avoids pointer warnings on 64-bit */ member in struct:rrow
|
H A D | b.c | 365 f->re[info(v)].ltype = type(v); 890 if ((k = f->re[p[i]].ltype) != FINAL) { 971 if (f->re[i].ltype == CCL || f->re[i].ltype == NCCL)
|
/freebsd-10-stable/sys/kern/ |
H A D | vfs_cache.c | 474 int error, ltype, wlocked; local 641 ltype = cnp->cn_lkflags & LK_TYPE_MASK; 642 if (ltype != VOP_ISLOCKED(*vpp)) { 643 if (ltype == LK_EXCLUSIVE) { 656 ltype = 0; /* silence gcc warning */ 658 ltype = VOP_ISLOCKED(dvp); 668 vn_lock(dvp, ltype | LK_RETRY);
|
H A D | vfs_vnops.c | 2100 int ltype, error; local 2104 ltype = VOP_ISLOCKED(vp); 2105 KASSERT(ltype == LK_EXCLUSIVE || ltype == LK_SHARED, 2112 vn_lock(vp, ltype | LK_RETRY); 2125 vn_lock(vp, ltype | LK_RETRY);
|
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfs_ctldir.c | 598 zfsctl_relock_dot(vnode_t *dvp, int ltype) argument 601 if (ltype != VOP_ISLOCKED(dvp)) { 602 if (ltype == LK_EXCLUSIVE) 604 else /* if (ltype == LK_SHARED) */ 635 int ltype; local
|
H A D | zfs_vnops.c | 1438 int ltype; local 1449 ltype = lkflags & LK_TYPE_MASK; 1450 if (ltype != VOP_ISLOCKED(dvp)) { 1451 if (ltype == LK_EXCLUSIVE) 1453 else /* if (ltype == LK_SHARED) */ 1606 int ltype; local 1609 ltype = VOP_ISLOCKED(dvp); 1622 vn_lock(dvp, ltype | LK_RETRY); 5950 int ltype; local 5983 ltype [all...] |
/freebsd-10-stable/sys/fs/ext2fs/ |
H A D | ext2_lookup.c | 327 int ltype; local 680 ltype = cnp->cn_lkflags & LK_TYPE_MASK; 681 if (ltype != VOP_ISLOCKED(vdp)) { 682 if (ltype == LK_EXCLUSIVE) 684 else /* if (ltype == LK_SHARED) */
|
/freebsd-10-stable/sys/fs/udf/ |
H A D | udf_vnops.c | 1117 int fsize, lkflags, ltype, numdirpasses; local 1203 ltype = lkflags & LK_TYPE_MASK; 1204 if (ltype != VOP_ISLOCKED(dvp)) { 1205 if (ltype == LK_EXCLUSIVE) 1207 else /* if (ltype == LK_SHARED) */
|
/freebsd-10-stable/sys/ufs/ufs/ |
H A D | ufs_lookup.c | 218 int ltype; local 719 ltype = cnp->cn_lkflags & LK_TYPE_MASK; 720 if (ltype != VOP_ISLOCKED(vdp)) { 721 if (ltype == LK_EXCLUSIVE) 723 else /* if (ltype == LK_SHARED) */
|
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_parser.c | 339 ctf_id_t ltype = lp->dn_type; local 344 ctf_id_t lbase = ctf_type_resolve(lfp, ltype); 359 ltype = lbase = DT_INT_TYPE(dtp); 398 *otype = ltype; 3908 ctf_id_t ltype, rtype; local 3914 ltype = ctf_type_resolve(lp->dn_ctfp, lp->dn_type); 3915 lkind = ctf_type_kind(lp->dn_ctfp, ltype); 4233 ctf_id_t ltype = ctf_type_resolve(lctfp, dnp->dn_type); local 4239 if (ctf_type_kind(lctfp, ltype) == CTF_K_POINTER) { 4240 ltype [all...] |
/freebsd-10-stable/sys/fs/fuse/ |
H A D | fuse_vnops.c | 907 int ltype; local 914 ltype = VOP_ISLOCKED(dvp); 920 vn_lock(dvp, ltype | LK_RETRY); 938 vn_lock(dvp, ltype | LK_RETRY);
|
/freebsd-10-stable/sys/fs/smbfs/ |
H A D | smbfs_smb.c | 92 u_char ltype = 0; local 96 ltype |= SMB_LOCKING_ANDX_SHARED_LOCK; 107 mb_put_uint8(mbp, ltype); /* locktype */
|
/freebsd-10-stable/sys/fs/nfsserver/ |
H A D | nfs_nfsdstate.c | 5886 int error = 0, ltype, oldltype; local 5889 ltype = F_WRLCK; 5891 ltype = F_RDLCK; 5893 ltype = F_UNLCK; 5900 if (ltype == oldltype || (oldltype == F_WRLCK && ltype == F_RDLCK)) 5903 error = nfsvno_advlock(vp, ltype, first, end, p); 5915 } else if (ltype != F_UNLCK) {
|
/freebsd-10-stable/sys/nfsclient/ |
H A D | nfs_vnops.c | 939 int error = 0, attrflag, dattrflag, fhsize, ltype, ncticks; local 1082 ltype = VOP_ISLOCKED(dvp); 1088 vn_lock(dvp, ltype | LK_RETRY); 1105 vn_lock(dvp, ltype | LK_RETRY);
|
/freebsd-10-stable/sys/fs/nfsclient/ |
H A D | nfs_clvnops.c | 1047 int error = 0, attrflag, dattrflag, ltype, ncticks; local 1231 ltype = NFSVOPISLOCKED(dvp); 1237 NFSVOPLOCK(dvp, ltype | LK_RETRY); 1253 NFSVOPLOCK(dvp, ltype | LK_RETRY);
|
/freebsd-10-stable/contrib/gcc/ |
H A D | c-common.c | 6834 check_missing_format_attribute (tree ltype, tree rtype) 6836 tree const ttr = TREE_TYPE (rtype), ttl = TREE_TYPE (ltype); 6814 check_missing_format_attribute(tree ltype, tree rtype) argument
|
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/zfs/ |
H A D | zfs_main.c | 4277 zfs_deleg_who_type_t ltype = l->who_perm.who_type; local 4279 int lweight = who_type2weight(ltype);
|