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

/freebsd-10-stable/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-stable/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-stable/contrib/ntp/lib/isc/include/isc/
H A Devent.h34 #define ISC_EVENT_COMMON(ltype) \
44 ISC_LINK(ltype) ev_link
/freebsd-10-stable/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-stable/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-stable/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-stable/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-stable/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-stable/sys/kern/
H A Dvfs_cache.c474 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 Dvfs_vnops.c2100 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 Dzfs_ctldir.c598 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 Dzfs_vnops.c1438 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 Dext2_lookup.c327 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 Dudf_vnops.c1117 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 Dufs_lookup.c218 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 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-stable/sys/fs/fuse/
H A Dfuse_vnops.c907 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 Dsmbfs_smb.c92 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 Dnfs_nfsdstate.c5886 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 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-stable/sys/fs/nfsclient/
H A Dnfs_clvnops.c1047 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 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
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/zfs/
H A Dzfs_main.c4277 zfs_deleg_who_type_t ltype = l->who_perm.who_type; local
4279 int lweight = who_type2weight(ltype);

Completed in 519 milliseconds