Home
last modified time | relevance | path

Searched refs:plp (Results 1 – 25 of 30) sorted by path

12

/illumos-gate/usr/src/cmd/boot/installboot/i386/
H A Dinstallboot.c1117 struct partlist **plp) in allocate_slice() argument
1121 *plp = NULL; in allocate_slice()
1140 *plp = pl; in allocate_slice()
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dadopt.c74 PKT_LIST *plp = NULL; in dhcp_adopt() local
91 plp = alloc_pkt_entry(strlen(kcache->dk_ack) / 2, B_FALSE); in dhcp_adopt()
92 if (plp == NULL) in dhcp_adopt()
95 dhcpmsg(MSG_DEBUG, "dhcp_adopt: allocated ACK of %d bytes", plp->len); in dhcp_adopt()
97 if (hexascii_to_octet(kcache->dk_ack, plp->len * 2, plp->pkt, in dhcp_adopt()
98 &plp->len) != 0) { in dhcp_adopt()
103 if (dhcp_options_scan(plp, B_TRUE) != 0) { in dhcp_adopt()
180 if (!dhcp_bound(dsmp, plp)) { in dhcp_adopt()
193 free_pkt_entry(plp); in dhcp_adopt()
H A Dagent.c79 const PKT_LIST *plp, uint_t codenum, boolean_t *did_alloc);
975 PKT_LIST *plp[2]; in ipc_event() local
986 error = read_hostconf(dsmp->dsm_name, plp, 2, dsmp->dsm_isv6); in ipc_event()
987 ack = error > 0 ? plp[0] : NULL; in ipc_event()
988 oack = error > 1 ? plp[1] : NULL; in ipc_event()
1163 dhcp_get_ack_or_state(const dhcp_smach_t *dsmp, const PKT_LIST *plp, in dhcp_get_ack_or_state() argument
1174 opt = plp->opts[codenum]; in dhcp_get_ack_or_state()
H A Dpacket.c121 if (plp->isv6) in pkt_recv_type()
800 free(plp); in free_pkt_entry()
814 PKT_LIST *plp; in free_pkt_list() local
817 remque(plp); in free_pkt_list()
1247 PKT_LIST *plp; in alloc_pkt_entry() local
1249 if ((plp = calloc(1, sizeof (*plp))) == NULL || in alloc_pkt_entry()
1251 free(plp); in alloc_pkt_entry()
1252 plp = NULL; in alloc_pkt_entry()
1258 return (plp); in alloc_pkt_entry()
1353 PKT_LIST *plp; in recv_pkt() local
[all …]
H A Drequest.c651 free_pkt_entry(plp); in accept_v4_acknak()
669 free_pkt_entry(plp); in accept_v4_acknak()
715 free_pkt_entry(plp); in accept_v6_message()
729 free_pkt_entry(plp); in accept_v6_message()
749 free_pkt_entry(plp); in accept_v6_message()
960 free_pkt_entry(plp); in accept_v6_message()
981 PKT_LIST *plp; in dhcp_acknak_global() local
994 if (plp == NULL) in dhcp_acknak_global()
1059 free_pkt_entry(plp); in dhcp_acknak_global()
1104 PKT_LIST *plp; in dhcp_packet_lif() local
[all …]
H A Dutil.c678 PKT_LIST *plp[2]; in write_lease_to_hostconf() local
682 plp[0] = dsmp->dsm_ack; in write_lease_to_hostconf()
683 plp[1] = dsmp->dsm_orig_ack; in write_lease_to_hostconf()
684 if (write_hostconf(dsmp->dsm_name, plp, 2, in write_lease_to_hostconf()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c310 struct ppp_ls *plp; in handle_pppoe_input() local
336 plp = (struct ppp_ls *)ctrl->buf; in handle_pppoe_input()
337 plp->magic = PPPLSMAGIC; in handle_pppoe_input()
338 plp->ppp_message = PPP_LINKSTAT_HANGUP; in handle_pppoe_input()
339 ctrl->len = sizeof (*plp); in handle_pppoe_input()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c1697 struct ppp_ls *plp; local
1755 plp = (struct ppp_ls *)ctrlbuf;
1756 if (plp->magic != PPPLSMAGIC) {
1759 plp->magic);
1763 lastlink_status = plp->ppp_message;
1765 switch (plp->ppp_message) {
1778 (void) handle_unbind(plp->ppp_message);
1781 (void) handle_bind(plp->ppp_message);
1785 (void) handle_unbind(plp->ppp_message);
1788 (void) handle_bind(plp->ppp_message);
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_asru.c1149 fmd_asru_link_t *alp, **plp, *alpnext; in fmd_asru_hash_delete_case() local
1177 plp = &ahp->ah_case_hash[h]; in fmd_asru_hash_delete_case()
1178 for (alp = *plp; alp != NULL; alp = alpnext) { in fmd_asru_hash_delete_case()
1181 *plp = alp->al_case_next; in fmd_asru_hash_delete_case()
1237 plp = &alp->al_case_next; in fmd_asru_hash_delete_case()
/illumos-gate/usr/src/cmd/init/
H A Dinit.c3583 struct pidlist *plp; in sigpoll() local
3611 if (plp == NULL) { in sigpoll()
3618 tp = plp + 1; in sigpoll()
3628 plp = Plfree; in sigpoll()
3629 Plfree = plp->pl_next; in sigpoll()
3632 plp->pl_dflag = 0; in sigpoll()
3633 plp->pl_next = NULL; in sigpoll()
3638 Plhead = plp; in sigpoll()
3651 Plhead = plp; in sigpoll()
3653 plp->pl_next = in sigpoll()
[all …]
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dload_pool.c24 int load_pool(plp, iocfunc) in load_pool() argument
25 ip_pool_t *plp; in load_pool()
41 op.iplo_unit = plp->ipo_unit;
44 strncpy(op.iplo_name, plp->ipo_name, sizeof(op.iplo_name));
48 strncpy(pool.ipo_name, plp->ipo_name, sizeof(pool.ipo_name));
49 if (*plp->ipo_name == '\0')
61 pool.ipo_list = plp->ipo_list;
66 for (a = plp->ipo_list; a != NULL; a = a->ipn_next)
67 load_poolnode(plp->ipo_unit, plp->ipo_name, a, iocfunc);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c2636 pt_lookup_t *plp = data; in pt_lookup_cb() local
2641 if (Pxlookup_by_name(P, plp->pl_lmid, object, plp->pl_name, &sym, in pt_lookup_cb()
2651 if (!plp->pl_found) { in pt_lookup_cb()
2652 plp->pl_found = TRUE; in pt_lookup_cb()
2653 *plp->pl_symp = sym; in pt_lookup_cb()
2655 plp->pl_sip->sym_id = si.prs_id; in pt_lookup_cb()
2669 if (tlsbase(plp->pl_tgt, plp->pl_tid, plp->pl_lmid, object, in pt_lookup_cb()
2676 plp->pl_found = TRUE; in pt_lookup_cb()
2677 *plp->pl_symp = sym; in pt_lookup_cb()
2678 plp->pl_sip->sym_table = si.prs_table; in pt_lookup_cb()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/
H A Dlibtopo.c790 topo_proplist_t *plp; in tpl_walk_step() local
802 plp = (topo_proplist_t *)wsp->walk_data; in tpl_walk_step()
807 wsp->walk_addr = (uintptr_t)plp->tp_list.l_next; in tpl_walk_step()
/illumos-gate/usr/src/common/net/dhcp/
H A Dscan.c227 dhcpv6_pkt_option(const PKT_LIST *plp, const dhcpv6_option_t *oldopt, in dhcpv6_pkt_option() argument
232 if (plp == NULL || plp->pkt == NULL || plp->len < sizeof (*d6m)) in dhcpv6_pkt_option()
234 d6m = (const dhcpv6_message_t *)plp->pkt; in dhcpv6_pkt_option()
235 return (dhcpv6_find_option(d6m + 1, plp->len - sizeof (*d6m), oldopt, in dhcpv6_pkt_option()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dhc.c1477 (void) topo_prop_getprop(node, plp->pl_pgroup, plp->pl_pname, in hc_prop_get()
1478 plp->pl_args, &plp->pl_prop, &err); in hc_prop_get()
1516 plp->pl_args = NULL; in hc_fmri_prop_get()
1520 plp->pl_prop = NULL; in hc_fmri_prop_get()
1535 *out = plp->pl_prop; in hc_fmri_prop_get()
1550 (void) topo_prop_getpgrp(node, plp->pl_pgroup, &plp->pl_prop, &err); in hc_pgrp_get()
1577 plp->pl_prop = NULL; in hc_fmri_pgrp_get()
1592 *out = plp->pl_prop; in hc_fmri_pgrp_get()
1607 (void) topo_prop_setprop(node, plp->pl_pgroup, plp->pl_prop, in hc_prop_setprop()
1608 plp->pl_flag, plp->pl_args, &err); in hc_prop_setprop()
[all …]
H A Dtopo_2xml.c362 topo_proplist_t *plp; in txml_print_pgroup() local
371 for (plp = topo_list_next(&pg->tpg_pvals); plp != NULL; in txml_print_pgroup()
372 plp = topo_list_next(plp)) { in txml_print_pgroup()
373 txml_print_prop(thp, fp, node, pip->tpi_name, plp->tp_pval); in txml_print_pgroup()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c1192 cache_link_t *plp; in link2minor() local
1237 if ((plp = link_hash(hdp, cp, 0)) != NULL && plp->minor != NULL) { in link2minor()
1238 return (plp->minor); in link2minor()
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcp_hostconf.c98 PKT_LIST *plp = NULL; in read_hostconf() local
128 plp = NULL; in read_hostconf()
134 retval = read(fd, &plp->len, sizeof (plp->len)); in read_hostconf()
142 free(plp); in read_hostconf()
147 if ((pkt = malloc(plp->len)) == NULL) in read_hostconf()
150 if (read(fd, pkt, plp->len) != plp->len) in read_hostconf()
153 plp->pkt = pkt; in read_hostconf()
155 plpp[pcnt] = plp; in read_hostconf()
179 optmax = (uchar_t *)pkt + plp->len; in read_hostconf()
271 plp->opts[CD_LEASE_TIME]->len == in read_hostconf()
[all …]
/illumos-gate/usr/src/lib/libelfsign/common/
H A Delfcertlib.c199 char *pathlist[3], **plp; in elfcertlib_getcert() local
210 plp = pathlist; in elfcertlib_getcert()
213 *plp++ = cert_pathname; in elfcertlib_getcert()
216 *plp++ = (char *)_PATH_ELFSIGN_CRYPTO_CERTS; in elfcertlib_getcert()
222 *plp++ = (char *)_PATH_ELFSIGN_ETC_CERTS; in elfcertlib_getcert()
224 *plp = NULL; in elfcertlib_getcert()
230 for (plp = pathlist; *plp; plp++) { in elfcertlib_getcert()
257 KMF_CERT_FILENAME_ATTR, *plp, strlen (*plp)); in elfcertlib_getcert()
288 if (*plp == NULL) { in elfcertlib_getcert()
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkupdate.c1028 struct valuelist *plp, *plp_next; in res_destroyprotolist() local
1030 for (plp = protolist; plp != NULL; plp = plp_next) { in res_destroyprotolist()
1031 plp_next = plp->next; in res_destroyprotolist()
1032 free(plp->name); in res_destroyprotolist()
1033 free(plp); in res_destroyprotolist()
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Dlemon.c819 struct plink *plp; local
836 for(plp=cfp->bplp; plp; plp=plp->next){
854 struct plink *plp; local
869 for(plp=cfp->fplp; plp; plp=plp->next){
2472 void Plink_delete(plp) in Plink_delete() argument
2473 struct plink *plp; in Plink_delete()
2477 while( plp ){
2481 plp = nextpl;
2614 struct plink *plp;
2617 while( plp ){
[all …]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c4594 zfs_expand_proplist(zfs_handle_t *zhp, zprop_list_t **plp, boolean_t received, in zfs_expand_proplist() argument
4605 if (zprop_expand_list(hdl, plp, ZFS_TYPE_DATASET) != 0) in zfs_expand_proplist()
4610 entry = *plp; in zfs_expand_proplist()
4617 start = plp; in zfs_expand_proplist()
4656 for (entry = *plp; entry != NULL; entry = entry->pl_next) { in zfs_expand_proplist()
H A Dlibzfs_impl.h215 int zprop_expand_list(libzfs_handle_t *hdl, zprop_list_t **plp,
H A Dlibzfs_pool.c781 zpool_expand_proplist(zpool_handle_t *zhp, zprop_list_t **plp) in zpool_expand_proplist() argument
788 boolean_t firstexpand = (NULL == *plp); in zpool_expand_proplist()
790 if (zprop_expand_list(hdl, plp, ZFS_TYPE_POOL) != 0) in zpool_expand_proplist()
793 last = plp; in zpool_expand_proplist()
797 if ((*plp)->pl_all) in zpool_expand_proplist()
800 if ((*plp)->pl_all && firstexpand) { in zpool_expand_proplist()
833 entry = *plp; in zpool_expand_proplist()
857 for (entry = *plp; entry != NULL; entry = entry->pl_next) { in zpool_expand_proplist()
H A Dlibzfs_util.c1588 zprop_expand_list(libzfs_handle_t *hdl, zprop_list_t **plp, zfs_type_t type) in zprop_expand_list() argument
1594 if (*plp == NULL) { in zprop_expand_list()
1600 last = plp; in zprop_expand_list()
1622 entry->pl_next = *plp; in zprop_expand_list()
1623 *plp = entry; in zprop_expand_list()

12