Home
last modified time | relevance | path

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

12

/freebsd-12.1/lib/libsecureboot/openpgp/
H A Ddecode.c84 decode_tag(unsigned char *ptr, int *isnew, int *ltype) in decode_tag() argument
88 if (!ptr || !isnew || !ltype) in decode_tag()
96 *ltype = -1; /* irrelevant */ in decode_tag()
99 *ltype = tag & OPENPGP_TAG_OLD_TYPE; in decode_tag()
145 decode_len(unsigned char **pptr, int ltype) in decode_len() argument
150 if (ltype < 0) in decode_len()
158 switch (ltype) { in decode_len()
261 int isnew, ltype; in decode_packet() local
268 tag = decode_tag(ptr, &isnew, &ltype); in decode_packet()
274 len = rc = decode_len(&ptr, ltype); in decode_packet()
H A Ddecode.h52 int decode_tag(unsigned char *ptr, int *isnew, int *ltype);
H A Dopgp_key.c184 int isnew, ltype; in load_key_buf() local
186 tag = decode_tag(ptr, &isnew, &ltype); in load_key_buf()
/freebsd-12.1/contrib/apr/file_io/unix/
H A Dflock.c62 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-12.1/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_lookup.c50 int error, ltype; in lookupnameat() local
55 ltype = VOP_ISLOCKED(startvp); in lookupnameat()
62 vn_lock(startvp, ltype | LK_RETRY); in lookupnameat()
/freebsd-12.1/cddl/contrib/opensolaris/common/ctf/
H A Dctf_types.c565 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()
628 return (ctf_type_compat(lfp, ctf_type_reference(lfp, ltype), in ctf_type_compat()
[all …]
H A Dctf_create.c1094 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-12.1/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dprocset.h137 #define setprocset(psp, op, ltype, lid, rtype, rid) \ argument
139 (psp)->p_lidtype = (ltype); \
/freebsd-12.1/contrib/ntp/lib/isc/include/isc/
H A Devent.h34 #define ISC_EVENT_COMMON(ltype) \ argument
44 ISC_LINK(ltype) ev_link
/freebsd-12.1/sys/fs/cd9660/
H A Dcd9660_lookup.c130 int ltype, reclen; local
405 ltype = cnp->cn_lkflags & LK_TYPE_MASK;
406 if (ltype != VOP_ISLOCKED(vdp)) {
407 if (ltype == LK_EXCLUSIVE)
/freebsd-12.1/contrib/one-true-awk/
H A Db.c365 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()
H A Dawk.h215 long ltype; /* long avoids pointer warnings on 64-bit */ member
/freebsd-12.1/sys/fs/ext2fs/
H A Dext2_lookup.c346 int ltype; in ext2_lookup_ino() local
696 ltype = cnp->cn_lkflags & LK_TYPE_MASK; in ext2_lookup_ino()
697 if (ltype != VOP_ISLOCKED(vdp)) { in ext2_lookup_ino()
698 if (ltype == LK_EXCLUSIVE) in ext2_lookup_ino()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_ctldir.c598 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
H A Dzfs_vnops.c1441 int ltype; in zfs_lookup_lock() local
1452 ltype = lkflags & LK_TYPE_MASK; in zfs_lookup_lock()
1453 if (ltype != VOP_ISLOCKED(dvp)) { in zfs_lookup_lock()
1454 if (ltype == LK_EXCLUSIVE) in zfs_lookup_lock()
1617 int ltype; in zfs_lookup() local
1620 ltype = VOP_ISLOCKED(dvp); in zfs_lookup()
1633 vn_lock(dvp, ltype | LK_RETRY); in zfs_lookup()
5922 int ltype; in zfs_vptocnp() local
5955 ltype = VOP_ISLOCKED(vp); in zfs_vptocnp()
5963 vn_lock(vp, ltype | LK_RETRY); in zfs_vptocnp()
/freebsd-12.1/sys/kern/
H A Dvfs_cache.c1100 int ltype; in cache_lookup_dot() local
1116 ltype = cnp->cn_lkflags & LK_TYPE_MASK; in cache_lookup_dot()
1117 if (ltype != VOP_ISLOCKED(*vpp)) { in cache_lookup_dot()
1118 if (ltype == LK_EXCLUSIVE) { in cache_lookup_dot()
1260 int error, ltype; in cache_lookup() local
1369 ltype = 0; /* silence gcc warning */ in cache_lookup()
1371 ltype = VOP_ISLOCKED(dvp); in cache_lookup()
1378 vn_lock(dvp, ltype | LK_RETRY); in cache_lookup()
H A Dvfs_vnops.c2057 int ltype, error; in vn_vget_ino_gen() local
2061 ltype = VOP_ISLOCKED(vp); in vn_vget_ino_gen()
2062 KASSERT(ltype == LK_EXCLUSIVE || ltype == LK_SHARED, in vn_vget_ino_gen()
2069 vn_lock(vp, ltype | LK_RETRY); in vn_vget_ino_gen()
2082 vn_lock(vp, ltype | LK_RETRY); in vn_vget_ino_gen()
/freebsd-12.1/sys/ufs/ufs/
H A Dufs_lookup.c220 int ltype; in ufs_lookup_ino() local
721 ltype = cnp->cn_lkflags & LK_TYPE_MASK; in ufs_lookup_ino()
722 if (ltype != VOP_ISLOCKED(vdp)) { in ufs_lookup_ino()
723 if (ltype == LK_EXCLUSIVE) in ufs_lookup_ino()
/freebsd-12.1/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_parser.c339 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()
3911 ctf_id_t ltype, rtype; in dt_cook_op2() local
3917 ltype = ctf_type_resolve(lp->dn_ctfp, lp->dn_type); in dt_cook_op2()
3918 lkind = ctf_type_kind(lp->dn_ctfp, ltype); in dt_cook_op2()
4242 if (ctf_type_kind(lctfp, ltype) == CTF_K_POINTER) { in dt_cook_inline()
4243 ltype = ctf_type_reference(lctfp, ltype); in dt_cook_inline()
4244 ltype = ctf_type_resolve(lctfp, ltype); in dt_cook_inline()
[all …]
/freebsd-12.1/sys/fs/udf/
H A Dudf_vnops.c1133 int fsize, lkflags, ltype, numdirpasses; in udf_lookup() local
1219 ltype = lkflags & LK_TYPE_MASK; in udf_lookup()
1220 if (ltype != VOP_ISLOCKED(dvp)) { in udf_lookup()
1221 if (ltype == LK_EXCLUSIVE) in udf_lookup()
/freebsd-12.1/sys/fs/smbfs/
H A Dsmbfs_smb.c94 u_char ltype = 0; in smbfs_smb_lockandx() local
98 ltype |= SMB_LOCKING_ANDX_SHARED_LOCK; in smbfs_smb_lockandx()
109 mb_put_uint8(mbp, ltype); /* locktype */ in smbfs_smb_lockandx()
/freebsd-12.1/sys/fs/nfsclient/
H A Dnfs_clvnops.c1053 int error = 0, attrflag, dattrflag, ltype, ncticks; in nfs_lookup() local
1237 ltype = NFSVOPISLOCKED(dvp); in nfs_lookup()
1243 NFSVOPLOCK(dvp, ltype | LK_RETRY); in nfs_lookup()
1259 NFSVOPLOCK(dvp, ltype | LK_RETRY); in nfs_lookup()
/freebsd-12.1/sys/fs/nfsserver/
H A Dnfs_nfsdstate.c6013 int error = 0, ltype, oldltype; in nfsrv_dolocal() local
6016 ltype = F_WRLCK; in nfsrv_dolocal()
6018 ltype = F_RDLCK; in nfsrv_dolocal()
6020 ltype = F_UNLCK; in nfsrv_dolocal()
6027 if (ltype == oldltype || (oldltype == F_WRLCK && ltype == F_RDLCK)) in nfsrv_dolocal()
6030 error = nfsvno_advlock(vp, ltype, first, end, p); in nfsrv_dolocal()
6042 } else if (ltype != F_UNLCK) { in nfsrv_dolocal()
/freebsd-12.1/contrib/ofed/opensm/opensm/
H A Dosm_torus.c1142 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-12.1/contrib/gcc/
H A Dc-common.c6814 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()

12