| /freebsd-11-stable/contrib/apr/file_io/unix/ |
| HD | flock.c | 62 int ltype; in apr_file_lock() local 65 ltype = LOCK_SH; in apr_file_lock() 67 ltype = LOCK_EX; in apr_file_lock() 69 ltype |= LOCK_NB; in apr_file_lock() 72 while ((rc = flock(thefile->filedes, ltype)) < 0 && errno == EINTR) in apr_file_lock()
|
| /freebsd-11-stable/sys/cddl/compat/opensolaris/kern/ |
| HD | opensolaris_lookup.c | 50 int error, ltype; in lookupnameat() local 55 ltype = VOP_ISLOCKED(startvp); in lookupnameat() 62 vn_lock(startvp, ltype | LK_RETRY); in lookupnameat()
|
| /freebsd-11-stable/cddl/contrib/opensolaris/common/ctf/ |
| HD | ctf_types.c | 561 ctf_type_cmp(ctf_file_t *lfp, ctf_id_t ltype, ctf_file_t *rfp, ctf_id_t rtype) in ctf_type_cmp() argument 565 if (ltype < rtype) in ctf_type_cmp() 567 else if (ltype > rtype) in ctf_type_cmp() 575 if (CTF_TYPE_ISPARENT(ltype) && lfp->ctf_parent != NULL) in ctf_type_cmp() 597 ctf_type_compat(ctf_file_t *lfp, ctf_id_t ltype, in ctf_type_compat() argument 605 if (ctf_type_cmp(lfp, ltype, rfp, rtype) == 0) in ctf_type_compat() 608 ltype = ctf_type_resolve(lfp, ltype); in ctf_type_compat() 609 lkind = ctf_type_kind(lfp, ltype); in ctf_type_compat() 615 (ltp = ctf_lookup_by_id(&lfp, ltype)) == NULL || in ctf_type_compat() 624 return (ctf_type_encoding(lfp, ltype, &le) == 0 && in ctf_type_compat() [all …]
|
| HD | ctf_create.c | 1094 ctf_id_t ltype = ctf_type_resolve(fp, lmd->dmd_type); in ctf_add_member() local 1100 if (ctf_type_encoding(fp, ltype, &linfo) != CTF_ERR) in ctf_add_member() 1102 else if ((lsize = ctf_type_size(fp, ltype)) != CTF_ERR) in ctf_add_member()
|
| /freebsd-11-stable/contrib/ntp/lib/isc/include/isc/ |
| HD | event.h | 34 #define ISC_EVENT_COMMON(ltype) \ argument 44 ISC_LINK(ltype) ev_link
|
| /freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/sys/ |
| HD | procset.h | 137 #define setprocset(psp, op, ltype, lid, rtype, rid) \ argument 139 (psp)->p_lidtype = (ltype); \
|
| /freebsd-11-stable/sys/fs/cd9660/ |
| HD | 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)
|
| /freebsd-11-stable/contrib/one-true-awk/ |
| HD | b.c | 365 f->re[info(v)].ltype = type(v); in cfoll() 890 if ((k = f->re[p[i]].ltype) != FINAL) { in cgoto() 971 if (f->re[i].ltype == CCL || f->re[i].ltype == NCCL) in freefa()
|
| HD | awk.h | 209 long ltype; /* long avoids pointer warnings on 64-bit */ member
|
| HD | FIXES | 430 ltype int to long in struct rrow to reduce some 64-bit
|
| /freebsd-11-stable/sys/fs/ext2fs/ |
| HD | ext2_lookup.c | 327 int ltype; in ext2_lookup_ino() local 680 ltype = cnp->cn_lkflags & LK_TYPE_MASK; in ext2_lookup_ino() 681 if (ltype != VOP_ISLOCKED(vdp)) { in ext2_lookup_ino() 682 if (ltype == LK_EXCLUSIVE) in ext2_lookup_ino()
|
| /freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| HD | zfs_ctldir.c | 598 zfsctl_relock_dot(vnode_t *dvp, int ltype) in zfsctl_relock_dot() argument 601 if (ltype != VOP_ISLOCKED(dvp)) { in zfsctl_relock_dot() 602 if (ltype == LK_EXCLUSIVE) in zfsctl_relock_dot() 635 int ltype; local
|
| HD | zfs_vnops.c | 1447 int ltype; in zfs_lookup_lock() local 1458 ltype = lkflags & LK_TYPE_MASK; in zfs_lookup_lock() 1459 if (ltype != VOP_ISLOCKED(dvp)) { in zfs_lookup_lock() 1460 if (ltype == LK_EXCLUSIVE) in zfs_lookup_lock() 1630 int ltype; in zfs_lookup() local 1633 ltype = VOP_ISLOCKED(dvp); in zfs_lookup() 1646 vn_lock(dvp, ltype | LK_RETRY); in zfs_lookup() 5936 int ltype; in zfs_vptocnp() local 5969 ltype = VOP_ISLOCKED(vp); in zfs_vptocnp() 5977 vn_lock(vp, ltype | LK_RETRY); in zfs_vptocnp()
|
| /freebsd-11-stable/sys/kern/ |
| HD | vfs_cache.c | 1092 int ltype; in cache_lookup_dot() local 1108 ltype = cnp->cn_lkflags & LK_TYPE_MASK; in cache_lookup_dot() 1109 if (ltype != VOP_ISLOCKED(*vpp)) { in cache_lookup_dot() 1110 if (ltype == LK_EXCLUSIVE) { in cache_lookup_dot() 1252 int error, ltype; in cache_lookup() local 1361 ltype = 0; /* silence gcc warning */ in cache_lookup() 1363 ltype = VOP_ISLOCKED(dvp); in cache_lookup() 1370 vn_lock(dvp, ltype | LK_RETRY); in cache_lookup()
|
| HD | vfs_vnops.c | 2064 int ltype, error; in vn_vget_ino_gen() local 2068 ltype = VOP_ISLOCKED(vp); in vn_vget_ino_gen() 2069 KASSERT(ltype == LK_EXCLUSIVE || ltype == LK_SHARED, in vn_vget_ino_gen() 2076 vn_lock(vp, ltype | LK_RETRY); in vn_vget_ino_gen() 2089 vn_lock(vp, ltype | LK_RETRY); in vn_vget_ino_gen()
|
| /freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| HD | dt_parser.c | 339 ctf_id_t ltype = lp->dn_type; in dt_type_promote() local 344 ctf_id_t lbase = ctf_type_resolve(lfp, ltype); in dt_type_promote() 359 ltype = lbase = DT_INT_TYPE(dtp); in dt_type_promote() 398 *otype = ltype; in dt_type_promote() 3908 ctf_id_t ltype, rtype; in dt_cook_op2() local 3914 ltype = ctf_type_resolve(lp->dn_ctfp, lp->dn_type); in dt_cook_op2() 3915 lkind = ctf_type_kind(lp->dn_ctfp, ltype); in dt_cook_op2() 4233 ctf_id_t ltype = ctf_type_resolve(lctfp, dnp->dn_type); in dt_cook_inline() local 4239 if (ctf_type_kind(lctfp, ltype) == CTF_K_POINTER) { in dt_cook_inline() 4240 ltype = ctf_type_reference(lctfp, ltype); in dt_cook_inline() [all …]
|
| /freebsd-11-stable/sys/fs/udf/ |
| HD | udf_vnops.c | 1128 int fsize, lkflags, ltype, numdirpasses; in udf_lookup() local 1214 ltype = lkflags & LK_TYPE_MASK; in udf_lookup() 1215 if (ltype != VOP_ISLOCKED(dvp)) { in udf_lookup() 1216 if (ltype == LK_EXCLUSIVE) in udf_lookup()
|
| /freebsd-11-stable/sys/ufs/ufs/ |
| HD | ufs_lookup.c | 218 int ltype; in ufs_lookup_ino() local 719 ltype = cnp->cn_lkflags & LK_TYPE_MASK; in ufs_lookup_ino() 720 if (ltype != VOP_ISLOCKED(vdp)) { in ufs_lookup_ino() 721 if (ltype == LK_EXCLUSIVE) in ufs_lookup_ino()
|
| /freebsd-11-stable/sys/fs/fuse/ |
| HD | fuse_vnops.c | 911 int ltype; in fuse_vnop_lookup() local 918 ltype = VOP_ISLOCKED(dvp); in fuse_vnop_lookup() 924 vn_lock(dvp, ltype | LK_RETRY); in fuse_vnop_lookup() 942 vn_lock(dvp, ltype | LK_RETRY); in fuse_vnop_lookup()
|
| /freebsd-11-stable/sys/fs/smbfs/ |
| HD | smbfs_smb.c | 92 u_char ltype = 0; in smbfs_smb_lockandx() local 96 ltype |= SMB_LOCKING_ANDX_SHARED_LOCK; in smbfs_smb_lockandx() 107 mb_put_uint8(mbp, ltype); /* locktype */ in smbfs_smb_lockandx()
|
| /freebsd-11-stable/sys/fs/nfsserver/ |
| HD | nfs_nfsdstate.c | 5904 int error = 0, ltype, oldltype; in nfsrv_dolocal() local 5907 ltype = F_WRLCK; in nfsrv_dolocal() 5909 ltype = F_RDLCK; in nfsrv_dolocal() 5911 ltype = F_UNLCK; in nfsrv_dolocal() 5918 if (ltype == oldltype || (oldltype == F_WRLCK && ltype == F_RDLCK)) in nfsrv_dolocal() 5921 error = nfsvno_advlock(vp, ltype, first, end, p); in nfsrv_dolocal() 5933 } else if (ltype != F_UNLCK) { in nfsrv_dolocal()
|
| /freebsd-11-stable/sys/fs/nfsclient/ |
| HD | nfs_clvnops.c | 1028 int error = 0, attrflag, dattrflag, ltype, ncticks; in nfs_lookup() local 1213 ltype = NFSVOPISLOCKED(dvp); in nfs_lookup() 1219 NFSVOPLOCK(dvp, ltype | LK_RETRY); in nfs_lookup() 1235 NFSVOPLOCK(dvp, ltype | LK_RETRY); in nfs_lookup()
|
| /freebsd-11-stable/contrib/ofed/opensm/opensm/ |
| HD | osm_torus.c | 1142 uint8_t ltype, rtype; in capture_fabric() local 1201 ltype = osm_node_get_type(lphysp->p_node); in capture_fabric() 1205 if (lphysp->port_num == 0 && ltype == IB_NODE_TYPE_SWITCH) { in capture_fabric() 1217 if ((ltype != IB_NODE_TYPE_CA && in capture_fabric() 1218 ltype != IB_NODE_TYPE_ROUTER) || in capture_fabric() 1252 ltype = osm_node_get_type(lphysp->p_node); in capture_fabric() 1255 if (ltype != IB_NODE_TYPE_SWITCH || in capture_fabric()
|
| /freebsd-11-stable/contrib/gcc/ |
| HD | c-common.c | 6814 check_missing_format_attribute (tree ltype, tree rtype) in check_missing_format_attribute() argument 6816 tree const ttr = TREE_TYPE (rtype), ttl = TREE_TYPE (ltype); in check_missing_format_attribute()
|
| /freebsd-11-stable/cddl/contrib/opensolaris/cmd/zfs/ |
| HD | zfs_main.c | 4342 zfs_deleg_who_type_t ltype = l->who_perm.who_type; in who_perm_compare() local 4344 int lweight = who_type2weight(ltype); in who_perm_compare()
|