Home
last modified time | relevance | path

Searched refs:pnp (Results 1 – 22 of 22) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dpathname.c67 pn_alloc(struct pathname *pnp) in pn_alloc() argument
69 pn_alloc_sz(pnp, MAXPATHLEN); in pn_alloc()
72 pn_alloc_sz(struct pathname *pnp, size_t sz) in pn_alloc_sz() argument
74 pnp->pn_buf = kmem_alloc(sz, KM_SLEEP); in pn_alloc_sz()
75 pnp->pn_bufsize = sz; in pn_alloc_sz()
82 pn_free(struct pathname *pnp) in pn_free() argument
85 kmem_free(pnp->pn_buf, pnp->pn_bufsize); in pn_free()
86 pnp->pn_buf = NULL; in pn_free()
87 pnp->pn_bufsize = 0; in pn_free()
/freebsd/usr.sbin/kldxref/
H A Dkldxref.c522 struct Gmod_pnp_match_info *pnp, const char *descr) in record_pnp_info() argument
533 cval, descr, pnp->num_entry, pnp->entry_len); in record_pnp_info()
543 record_int(pnp->num_entry); in record_pnp_info()
544 len = pnp->num_entry * pnp->entry_len; in record_pnp_info()
545 error = elf_read_relocated_data(ef, pnp->table, len, &table); in record_pnp_info()
556 for (i = 0; i < pnp->num_entry; i++) { in record_pnp_info()
562 walker += pnp->entry_len; in record_pnp_info()
576 struct Gmod_pnp_match_info pnp; in parse_entry() local
613 check(elf_read_mod_pnp_match_info(ef, data, &pnp)); in parse_entry()
614 check(elf_read_string(ef, pnp.descr, descr, sizeof(descr))); in parse_entry()
[all …]
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_parser.c1677 const dt_node_t *pnp = &isp->dis_args[argc]; in dt_node_decl() local
1683 pnp->dn_ctfp, pnp->dn_type) == 0) in dt_node_decl()
1694 dt_node_type_name(pnp, n2, sizeof (n2))); in dt_node_decl()
2347 dt_node_t *pnp; in dt_node_inline() local
2350 for (pnp = ddp->dd_node; pnp != NULL; pnp = pnp->dn_list) in dt_node_inline()
2366 for (i = 0, pnp = ddp->dd_node; in dt_node_inline()
2367 pnp != NULL; pnp = pnp->dn_list, i++) { in dt_node_inline()
2369 if (pnp->dn_string == NULL) in dt_node_inline()
2375 pidp = dt_idhash_insert(inp->din_hash, pnp->dn_string, in dt_node_inline()
2387 dt_ident_type_assign(pidp, pnp->dn_ctfp, pnp->dn_type); in dt_node_inline()
[all …]
H A Ddt_pragma.c505 dt_pragma(dt_node_t *pnp) in dt_pragma() argument
511 for (dnp = pnp; dnp != NULL; dnp = dnp->dn_list) { in dt_pragma()
563 dt_node_list_free(&pnp); in dt_pragma()
H A Ddt_cc.c1602 dt_compile_one_clause(dtrace_hdl_t *dtp, dt_node_t *cnp, dt_node_t *pnp) in dt_compile_one_clause() argument
1608 yylineno = pnp->dn_line; in dt_compile_one_clause()
1609 dt_setcontext(dtp, pnp->dn_desc); in dt_compile_one_clause()
1615 if ((edp = dt_ecbdesc_create(dtp, pnp->dn_desc)) == NULL) in dt_compile_one_clause()
1666 dt_node_t *pnp; in dt_compile_clause() local
1668 for (pnp = cnp->dn_pdescs; pnp != NULL; pnp = pnp->dn_list) in dt_compile_clause()
1669 dt_compile_one_clause(dtp, cnp, pnp); in dt_compile_clause()
H A Ddt_provider.c199 dt_node_t *args = NULL, *pnp = NULL, *dnp; in dt_probe_alloc_args() local
202 for (i = 0; i < argc; i++, pnp = dnp) { in dt_probe_alloc_args()
212 pnp->dn_list = dnp; in dt_probe_alloc_args()
H A Ddt_cg.c1328 dt_node_t *pnp; in dt_cg_inline() local
1335 for (i = 0, pnp = dnp->dn_args; in dt_cg_inline()
1336 pnp != NULL; pnp = pnp->dn_list, i++) { in dt_cg_inline()
1339 pinp->din_root = pnp; in dt_cg_inline()
H A Ddt_dof.c253 dt_node_t **pnp; in dof_add_difo() local
256 pnp = dp->dtdo_xlmtab; in dof_add_difo()
266 dt_node_t *dnp = *pnp++; in dof_add_difo()
/freebsd/lib/libkldelf/
H A Delf.c651 struct Gmod_pnp_match_info *pnp) in elf_read_mod_pnp_match_info() argument
666 memset(pnp, 0, sizeof(*pnp)); in elf_read_mod_pnp_match_info()
668 pnp->descr = elf_address_from_pointer(efile, p + offset); in elf_read_mod_pnp_match_info()
670 pnp->bus = elf_address_from_pointer(efile, p + offset); in elf_read_mod_pnp_match_info()
672 pnp->table = elf_address_from_pointer(efile, p + offset); in elf_read_mod_pnp_match_info()
675 pnp->entry_len = elf_int(efile, p + offset); in elf_read_mod_pnp_match_info()
677 pnp->num_entry = elf_int(efile, p + offset); in elf_read_mod_pnp_match_info()
H A Dkldelf.h307 struct Gmod_pnp_match_info *pnp);
/freebsd/sys/dev/hid/
H A Dhidbus.h129 #define HID_PNP(pnp) \ argument
130 .match_flag_pnp = 1, .idPnP = (pnp)
H A Dietp.c142 #define IETP_IIC_DEV(pnp) \ argument
143 { HID_TLC(HUP_GENERIC_DESKTOP, HUG_MOUSE), HID_BUS(BUS_I2C), HID_PNP(pnp) }
/freebsd/sys/fs/p9fs/
H A Dp9fs_subr.c135 struct p9fs_node *np, *pnp, *tmp; in p9fs_prepare_to_close() local
143 pnp = np->parent; in p9fs_prepare_to_close()
145 vrele(P9FS_NTOV(pnp)); in p9fs_prepare_to_close()
/freebsd/share/man/man4/man4.i386/
H A DMakefile10 pnp.4 \
/freebsd/stand/common/
H A Disapnp.h280 struct pnp_device *pnp; member
/freebsd/stand/
H A Dloader.mk84 SRCS+= pnp.c
/freebsd/usr.sbin/bsnmpd/modules/snmp_lm75/
H A DBEGEMOT-LM75-MIB.txt139 "LM75 Sensor pnp information."
/freebsd/stand/i386/libi386/
H A Dpxe.h310 } pnp; member
/freebsd/sys/isa/
H A Dpnp.c28 * from: pnp.c,v 1.11 1999/05/06 22:11:19 peter Exp
58 #define PNP_QUIRK_WRITE_REG 1 /* Need to write a pnp register */
728 * autoconfiguration of pnp devices. This routine just runs the
762 "pnp",
767 DRIVER_MODULE(pnp, isa, pnp_driver, 0, 0);
/freebsd/sys/kern/
H A Ddevice_if.m166 * special drivers, including the isahint driver and the pnp driver to
H A Dbus_if.m659 * @brief Returns the pnp info for this device.
/freebsd/sys/conf/
H A Dfiles3741 isa/pnp.c optional isa isapnp