Searched refs:ltype (Results 1 - 24 of 24) sorted by relevance

/freebsd-10.1-release/contrib/apr/file_io/unix/
H A Dflock.c62 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 Dopensolaris_lookup.c50 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 Dprocset.h137 #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 Devent.h34 #define ISC_EVENT_COMMON(ltype) \
44 ISC_LINK(ltype) ev_link
/freebsd-10.1-release/lib/libkse/sys/
H A Dlock.c56 _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 Dctf_types.c561 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 Dctf_create.c1094 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 Dcd9660_lookup.c128 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 Dawk.h209 long ltype; /* long avoids pointer warnings on 64-bit */ member in struct:rrow
H A Db.c365 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 Dvfs_cache.c481 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 Dvfs_vnops.c2009 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 Dext2_lookup.c324 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 Dudf_vnops.c1116 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 Dufs_lookup.c244 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 Ddt_parser.c339 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 Dfuse_vnops.c897 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 Dsmbfs_smb.c92 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 Dnfs_nfsdstate.c5479 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 Dnfs_clvnops.c1047 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 Dnfs_vnops.c939 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 Dzfs_vnops.c1512 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 Dzfs_main.c4129 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 Dc-common.c6834 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

Completed in 432 milliseconds