Home
last modified time | relevance | path

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

12

/freebsd-head/lib/libsecureboot/openpgp/
HDdecode.c82 decode_tag(unsigned char *ptr, int *isnew, int *ltype) in decode_tag() argument
86 if (!ptr || !isnew || !ltype) in decode_tag()
94 *ltype = -1; /* irrelevant */ in decode_tag()
97 *ltype = tag & OPENPGP_TAG_OLD_TYPE; in decode_tag()
143 decode_len(unsigned char **pptr, int ltype) in decode_len() argument
148 if (ltype < 0) in decode_len()
156 switch (ltype) { in decode_len()
259 int isnew, ltype; in decode_packet() local
266 tag = decode_tag(ptr, &isnew, &ltype); in decode_packet()
272 len = rc = decode_len(&ptr, ltype); in decode_packet()
HDdecode.h51 int decode_tag(unsigned char *ptr, int *isnew, int *ltype);
HDopgp_key.c182 int isnew, ltype; in load_key_buf() local
184 tag = decode_tag(ptr, &isnew, &ltype); in load_key_buf()
/freebsd-head/cddl/contrib/opensolaris/common/ctf/
HDctf_types.c706 ctf_type_cmp(ctf_file_t *lfp, ctf_id_t ltype, ctf_file_t *rfp, ctf_id_t rtype) in ctf_type_cmp() argument
710 if (ltype < rtype) in ctf_type_cmp()
712 else if (ltype > rtype) in ctf_type_cmp()
720 if (LCTF_TYPE_ISPARENT(lfp, ltype) && lfp->ctf_parent != NULL) in ctf_type_cmp()
742 ctf_type_compat(ctf_file_t *lfp, ctf_id_t ltype, in ctf_type_compat() argument
750 if (ctf_type_cmp(lfp, ltype, rfp, rtype) == 0) in ctf_type_compat()
753 ltype = ctf_type_resolve(lfp, ltype); in ctf_type_compat()
754 lkind = ctf_type_kind(lfp, ltype); in ctf_type_compat()
760 (ltp = ctf_lookup_by_id(&lfp, ltype)) == NULL || in ctf_type_compat()
768 return (ctf_type_encoding(lfp, ltype, &le) == 0 && in ctf_type_compat()
[all …]
HDctf_create.c1199 ctf_id_t ltype = ctf_type_resolve(fp, lmd->dmd_type); in ctf_add_member() local
1205 if (ctf_type_encoding(fp, ltype, &linfo) != CTF_ERR) in ctf_add_member()
1207 else if ((lsize = ctf_type_size(fp, ltype)) != CTF_ERR) in ctf_add_member()
/freebsd-head/sys/cddl/contrib/opensolaris/uts/common/sys/
HDprocset.h137 #define setprocset(psp, op, ltype, lid, rtype, rid) \ argument
139 (psp)->p_lidtype = (ltype); \
/freebsd-head/contrib/ntp/libntp/lib/isc/include/isc/
HDevent.h34 #define ISC_EVENT_COMMON(ltype) \ argument
44 ISC_LINK(ltype) ev_link
/freebsd-head/sys/fs/cd9660/
HDcd9660_lookup.c119 int ltype, reclen; in cd9660_lookup() local
394 ltype = cnp->cn_lkflags & LK_TYPE_MASK; in cd9660_lookup()
395 if (ltype != VOP_ISLOCKED(vdp)) { in cd9660_lookup()
396 if (ltype == LK_EXCLUSIVE) in cd9660_lookup()
/freebsd-head/contrib/llvm-project/lldb/bindings/lua/
HDlua-typemaps.swig24 %typemap(in,checkfn="lua_isinteger") TYPE *INPUT($*ltype temp), TYPE &INPUT($*ltype temp)
25 %{ temp = ($*ltype)lua_tointeger(L,$input);
27 %typemap(in, numinputs=0) TYPE *OUTPUT ($*ltype temp)
37 %typemap(in,checkfn="lua_isinteger") const TYPE *INPUT($*ltype temp)
38 %{ temp = ($*ltype)lua_tointeger(L,$input);
/freebsd-head/sys/fs/ext2fs/
HDext2_lookup.c337 int ltype; in ext2_lookup_ino() local
683 ltype = cnp->cn_lkflags & LK_TYPE_MASK; in ext2_lookup_ino()
684 if (ltype != VOP_ISLOCKED(vdp)) { in ext2_lookup_ino()
685 if (ltype == LK_EXCLUSIVE) in ext2_lookup_ino()
/freebsd-head/contrib/one-true-awk/
HDawk.h247 long ltype; /* long avoids pointer warnings on 64-bit */ member
HDb.c495 f->re[info(v)].ltype = type(v); in cfoll()
1497 if ((k = f->re[p[i]].ltype) != FINAL) { in cgoto()
1573 if (f->re[i].ltype == CCL || f->re[i].ltype == NCCL) in freefa()
/freebsd-head/cddl/contrib/opensolaris/lib/libdtrace/common/
HDdt_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()
3934 ctf_id_t ltype, rtype; in dt_cook_op2() local
3940 ltype = ctf_type_resolve(lp->dn_ctfp, lp->dn_type); in dt_cook_op2()
3941 lkind = ctf_type_kind(lp->dn_ctfp, ltype); in dt_cook_op2()
4259 ctf_id_t ltype = ctf_type_resolve(lctfp, dnp->dn_type); in dt_cook_inline() local
4265 if (ctf_type_kind(lctfp, ltype) == CTF_K_POINTER) { in dt_cook_inline()
4266 ltype = ctf_type_reference(lctfp, ltype); in dt_cook_inline()
[all …]
/freebsd-head/sys/fs/udf/
HDudf_vnops.c1125 int fsize, lkflags, ltype, numdirpasses; in udf_lookup() local
1210 ltype = lkflags & LK_TYPE_MASK; in udf_lookup()
1211 if (ltype != VOP_ISLOCKED(dvp)) { in udf_lookup()
1212 if (ltype == LK_EXCLUSIVE) in udf_lookup()
/freebsd-head/sys/ufs/ufs/
HDufs_lookup.c214 int ltype; in ufs_lookup_ino() local
717 ltype = cnp->cn_lkflags & LK_TYPE_MASK; in ufs_lookup_ino()
718 if (ltype != VOP_ISLOCKED(vdp)) { in ufs_lookup_ino()
719 if (ltype == LK_EXCLUSIVE) in ufs_lookup_ino()
/freebsd-head/sys/contrib/openzfs/module/os/freebsd/zfs/
HDzfs_ctldir.c613 zfsctl_relock_dot(vnode_t *dvp, int ltype) in zfsctl_relock_dot() argument
616 if (ltype != VOP_ISLOCKED(dvp)) { in zfsctl_relock_dot()
617 if (ltype == LK_EXCLUSIVE) in zfsctl_relock_dot()
HDzfs_vnops_os.c580 int ltype; in zfs_lookup_lock() local
588 ltype = lkflags & LK_TYPE_MASK; in zfs_lookup_lock()
589 if (ltype != VOP_ISLOCKED(dvp)) { in zfs_lookup_lock()
590 if (ltype == LK_EXCLUSIVE) in zfs_lookup_lock()
764 int ltype; in zfs_lookup() local
767 ltype = VOP_ISLOCKED(dvp); in zfs_lookup()
780 vn_lock(dvp, ltype | LK_RETRY); in zfs_lookup()
6053 int ltype; in zfs_vptocnp() local
6087 ltype = VOP_ISLOCKED(vp); in zfs_vptocnp()
6095 vn_lock(vp, ltype | LK_RETRY); in zfs_vptocnp()
/freebsd-head/sys/fs/smbfs/
HDsmbfs_smb.c92 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-head/sys/kern/
HDvfs_vnops.c2420 int ltype, error; in vn_vget_ino_gen() local
2424 ltype = VOP_ISLOCKED(vp); in vn_vget_ino_gen()
2425 KASSERT(ltype == LK_EXCLUSIVE || ltype == LK_SHARED, in vn_vget_ino_gen()
2432 vn_lock(vp, ltype | LK_RETRY); in vn_vget_ino_gen()
2445 vn_lock(vp, ltype | LK_RETRY); in vn_vget_ino_gen()
HDvfs_cache.c1923 int ltype; in cache_lookup_dot() local
1936 ltype = cnp->cn_lkflags & LK_TYPE_MASK; in cache_lookup_dot()
1937 if (ltype != VOP_ISLOCKED(*vpp)) { in cache_lookup_dot()
1938 if (ltype == LK_EXCLUSIVE) { in cache_lookup_dot()
1960 int error, ltype; in cache_lookup_dotdot() local
1997 ltype = VOP_ISLOCKED(dvp); in cache_lookup_dotdot()
2002 vn_lock(dvp, ltype | LK_RETRY); in cache_lookup_dotdot()
/freebsd-head/sys/fs/nfsserver/
HDnfs_nfsdstate.c6104 int error = 0, ltype, oldltype; in nfsrv_dolocal() local
6107 ltype = F_WRLCK; in nfsrv_dolocal()
6109 ltype = F_RDLCK; in nfsrv_dolocal()
6111 ltype = F_UNLCK; in nfsrv_dolocal()
6118 if (ltype == oldltype || (oldltype == F_WRLCK && ltype == F_RDLCK)) in nfsrv_dolocal()
6121 error = nfsvno_advlock(vp, ltype, first, end, p); in nfsrv_dolocal()
6133 } else if (ltype != F_UNLCK) { in nfsrv_dolocal()
/freebsd-head/sys/fs/nfsclient/
HDnfs_clvnops.c1248 int error = 0, attrflag, dattrflag, ltype, ncticks; in nfs_lookup() local
1521 ltype = NFSVOPISLOCKED(dvp); in nfs_lookup()
1527 NFSVOPLOCK(dvp, ltype | LK_RETRY); in nfs_lookup()
1543 NFSVOPLOCK(dvp, ltype | LK_RETRY); in nfs_lookup()
/freebsd-head/contrib/ofed/opensm/opensm/
HDosm_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-head/contrib/llvm-project/openmp/runtime/src/
HDkmp_affinity.cpp1754 hwloc_obj_type_t ltype = lower->type; in __kmp_hwloc_get_sub_id() local
1758 obj = hwloc_get_obj_by_type(t, ltype, lindex); in __kmp_hwloc_get_sub_id()
1767 obj = hwloc_get_obj_by_type(t, ltype, lindex); in __kmp_hwloc_get_sub_id()
/freebsd-head/sys/contrib/openzfs/cmd/zfs/
HDzfs_main.c5489 zfs_deleg_who_type_t ltype = l->who_perm.who_type; in who_perm_compare() local
5491 int lweight = who_type2weight(ltype); in who_perm_compare()

12