/freebsd-10.1-release/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.1-release/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.1-release/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.1-release/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.1-release/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.1-release/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.1-release/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.1-release/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.1-release/sys/kern/ |
H A D | vfs_cache.c | 481 int error, ltype, wlocked; local 649 ltype = cnp->cn_lkflags & LK_TYPE_MASK; 650 if (ltype != VOP_ISLOCKED(*vpp)) { 651 if (ltype == LK_EXCLUSIVE) { 664 ltype = 0; /* silence gcc warning */ 666 ltype = VOP_ISLOCKED(dvp); 676 vn_lock(dvp, ltype | LK_RETRY);
|
H A D | vfs_vnops.c | 2009 int ltype, error; local 2013 ltype = VOP_ISLOCKED(vp); 2014 KASSERT(ltype == LK_EXCLUSIVE || ltype == LK_SHARED, 2021 vn_lock(vp, ltype | LK_RETRY); 2034 vn_lock(vp, ltype | LK_RETRY);
|
/freebsd-10.1-release/sys/fs/ext2fs/ |
H A D | ext2_lookup.c | 324 int ltype; local 678 ltype = cnp->cn_lkflags & LK_TYPE_MASK; 679 if (ltype != VOP_ISLOCKED(vdp)) { 680 if (ltype == LK_EXCLUSIVE) 682 else /* if (ltype == LK_SHARED) */
|
/freebsd-10.1-release/sys/fs/udf/ |
H A D | udf_vnops.c | 1116 int fsize, lkflags, ltype, numdirpasses; local 1202 ltype = lkflags & LK_TYPE_MASK; 1203 if (ltype != VOP_ISLOCKED(dvp)) { 1204 if (ltype == LK_EXCLUSIVE) 1206 else /* if (ltype == LK_SHARED) */
|
/freebsd-10.1-release/sys/ufs/ufs/ |
H A D | ufs_lookup.c | 244 int ltype; local 732 ltype = cnp->cn_lkflags & LK_TYPE_MASK; 733 if (ltype != VOP_ISLOCKED(vdp)) { 734 if (ltype == LK_EXCLUSIVE) 736 else /* if (ltype == LK_SHARED) */
|
/freebsd-10.1-release/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.1-release/sys/fs/fuse/ |
H A D | fuse_vnops.c | 897 int ltype; local 904 ltype = VOP_ISLOCKED(dvp); 910 vn_lock(dvp, ltype | LK_RETRY); 928 vn_lock(dvp, ltype | LK_RETRY);
|
/freebsd-10.1-release/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.1-release/sys/fs/nfsserver/ |
H A D | nfs_nfsdstate.c | 5479 int error = 0, ltype, oldltype; local 5482 ltype = F_WRLCK; 5484 ltype = F_RDLCK; 5486 ltype = F_UNLCK; 5493 if (ltype == oldltype || (oldltype == F_WRLCK && ltype == F_RDLCK)) 5496 error = nfsvno_advlock(vp, ltype, first, end, p); 5508 } else if (ltype != F_UNLCK) {
|
/freebsd-10.1-release/sys/fs/nfsclient/ |
H A D | nfs_clvnops.c | 1047 int error = 0, attrflag, dattrflag, ltype, ncticks; local 1232 ltype = NFSVOPISLOCKED(dvp); 1238 NFSVOPLOCK(dvp, ltype | LK_RETRY); 1254 NFSVOPLOCK(dvp, ltype | LK_RETRY);
|
/freebsd-10.1-release/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.1-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfs_vnops.c | 1512 int ltype = 0; local 1515 ltype = VOP_ISLOCKED(dvp); 1521 vn_lock(dvp, ltype | LK_RETRY);
|
/freebsd-10.1-release/cddl/contrib/opensolaris/cmd/zfs/ |
H A D | zfs_main.c | 4129 zfs_deleg_who_type_t ltype = l->who_perm.who_type; local 4131 int lweight = who_type2weight(ltype);
|
/freebsd-10.1-release/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
|