/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | ch.c | 366 ch_t *chp; in ch_attach() local 734 ch_t *chp; in ch_quiesce() local 780 ch_t *chp; in ch_detach() local 1407 ch_t *chp; in ch_reset() local 1487 pe_stop(chp); in ch_stop() 1493 pe_stop(chp); in ch_stop() 1501 ch_t *chp; in ch_set_mac_address() local 1868 ch_t *chp; in ch_unregister() local 1871 chp = gchp[i]; in ch_unregister() 2223 chp->ch_mtu = chp->ch_maximum_mtu; in ch_get_prop() [all …]
|
H A D | pe.c | 660 rm.chp = sa; in pe_set_promiscuous() 714 rm.chp = sa; in pe_set_mc() 907 pe_attach(ch_t *chp) in pe_attach() argument 915 bi = pe_sa_init(chp); in pe_attach() 977 update_mtu_tab(chp); in pe_attach() 983 t1_interrupts_clear(chp); in pe_attach() 1566 chp->ch_vdh = dhe; in pe_dma_handle_init() 1578 chp->ch_dh = dhe; in pe_dma_handle_init() 1603 pe_change_mtu(ch_t *chp) in pe_change_mtu() argument 1611 if (chp->ch_mtu < 68) { in pe_change_mtu() [all …]
|
H A D | glue.c | 170 pe_ioctl(ch_t *chp, queue_t *q, mblk_t *mp) in pe_ioctl() argument 220 pe->pe_reg_val = reg = t1_sge_get_ptimeout(chp); in pe_ioctl() 222 pe->pe_reg_val = reg = t1_read_reg_4(chp, pe->addr); in pe_ioctl() 237 t1_sge_set_ptimeout(chp, pe->pe_reg_val); in pe_ioctl() 240 reg = t1_read_reg_4(chp, pe->addr); in pe_ioctl() 244 t1_write_reg_4(chp, pe->addr, pe->pe_reg_val); in pe_ioctl() 278 reg = pci_config_get32(chp->ch_hpci, pe->addr); in pe_ioctl() 282 pci_config_put32(chp->ch_hpci, pe->addr, pe->pe_reg_val); in pe_ioctl() 297 sep = sge_get_stat(chp->sge); in pe_ioctl() 316 (void) t1_tpi_read(chp, te->addr, &te->val); in pe_ioctl() [all …]
|
H A D | osdep.h | 83 #define adapter_name(chp) (chp->ch_name) argument 98 struct ch *chp; member 102 #define t1_rx_mode_promisc(rmp) (rmp->chp->ch_flags & PEPROMISC) 103 #define t1_rx_mode_allmulti(rmp) (rmp->chp->ch_flags & PEALLMULTI) 104 #define t1_rx_mode_mc_cnt(rmp) (rmp->chp->ch_mc_cnt)
|
H A D | ch.h | 327 void t1_fatal_err(ch_t *chp); 338 void pe_mark_freelists(ch_t *chp);
|
H A D | sge.c | 229 ch_t *chp = (ch_t *)sge->obj; in t1_espi_workaround() local 232 if ((chp->ch_state == PERUNNING) && in t1_espi_workaround() 1172 ch_t *chp = sge->obj; in free_cmdQ_buffers() local 1207 chp->toe_free(chp->ch_toeinst, (tbuf_t *)(ce->ce_mp)); in free_cmdQ_buffers()
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | ckitem.c | 270 chp = chp->next; 289 chp = chp->next; 332 while (chp) { 335 chp = chp->next; 348 free(chp); 352 free(chp); 359 if (chp->text) { 361 chp->text++; 557 if (!chp) { 563 for (first = NULL; chp; chp = chp->next) { [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | evchannels.c | 310 evch_chan_t *chp; in evch_zonefree() local 366 kmem_free(chp->ch_name, chp->ch_namelen); in evch_zonefree() 1041 for (chp = evch_dl_next(&eg->evch_list, NULL); chp != NULL; in evch_chinitthr() 1042 chp = evch_dl_next(&eg->evch_list, chp)) { in evch_chinitthr() 1175 kmem_free(chp->ch_name, chp->ch_namelen); in evch_chunbind() 1259 if (evch_dl_getnum(&chp->ch_subscr) >= chp->ch_maxsubscr) { in evch_chsubscribe() 1419 if (chp->ch_nevents >= chp->ch_maxev) { in evch_chpublish() 1425 while (chp->ch_nevents >= chp->ch_maxev) { in evch_chpublish() 1469 for (chp = evch_dl_next(&eg->evch_list, NULL); chp != NULL; in evch_chgetnames() 1470 chp = evch_dl_next(&eg->evch_list, chp)) { in evch_chgetnames() [all …]
|
/illumos-gate/usr/src/lib/libc/port/aio/ |
H A D | aio_alloc.c | 66 chunk_t *chp = NULL; in chunk_alloc() local 73 chp = ptr; in chunk_alloc() 75 chunk_list = chp; in chunk_alloc() 76 chp->chunk_size = size; in chunk_alloc() 80 return (chp); in chunk_alloc() 95 chunk_t *chp; in _aio_worker_alloc() local 165 chunk_t *chp; in _aio_req_alloc() local 241 chunk_t *chp; in _aio_lio_alloc() local 304 chunk_t *chp; in postfork1_child_aio() local 318 for (chp = chunk_list; chp != NULL; chp = chunk_list) { in postfork1_child_aio() [all …]
|
/illumos-gate/usr/src/stand/lib/fs/common/ |
H A D | cache.c | 129 chp->aged[Frst] = cap; in get_cache() 130 chp->hits += 1; in get_cache() 137 chp->searches += 1; in get_cache() 154 cache_t *cpp = (cache_t *)chp; in reclaim_cache() 188 chp->count -= 1; in reclaim_cache() 217 if ((chp->count < chp->maxblks) && in set_cache() 224 chp->count += 1; in set_cache() 236 cap = reclaim_cache(chp, -1); in set_cache() 237 chp->purges += 1; in set_cache() 240 bzero((char *)cap, chp->size); in set_cache() [all …]
|
/illumos-gate/usr/src/lib/varpd/libvarpd/common/ |
H A D | libvarpd_client.c | 109 libvarpd_c_destroy(varpd_client_handle_t *chp) in libvarpd_c_destroy() argument 111 varpd_client_t *client = (varpd_client_t *)chp; in libvarpd_c_destroy() 116 umem_free(chp, sizeof (varpd_client_t)); in libvarpd_c_destroy() 124 varpd_client_t *client = (varpd_client_t *)chp; in libvarpd_c_instance_create() 151 varpd_client_t *client = (varpd_client_t *)chp; in libvarpd_c_instance_activate() 173 varpd_client_t *client = (varpd_client_t *)chp; in libvarpd_c_instance_destroy() 195 varpd_client_t *client = (varpd_client_t *)chp; in libvarpd_c_prop_nprops() 225 infop->vcprop_client = (varpd_client_t *)chp; in libvarpd_c_prop_handle_alloc() 410 varpd_client_t *client = (varpd_client_t *)chp; in libvarpd_c_instance_lookup() 434 varpd_client_t *client = (varpd_client_t *)chp; in libvarpd_c_instance_target_mode() [all …]
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_case.c | 165 chp->ch_hash = fmd_zalloc(sizeof (void *) * chp->ch_hashlen, FMD_SLEEP); in fmd_case_hash_create() 166 chp->ch_code_hash = fmd_zalloc(sizeof (void *) * chp->ch_hashlen, in fmd_case_hash_create() 168 chp->ch_count = 0; in fmd_case_hash_create() 170 return (chp); in fmd_case_hash_create() 182 fmd_free(chp->ch_hash, sizeof (void *) * chp->ch_hashlen); in fmd_case_hash_destroy() 183 fmd_free(chp->ch_code_hash, sizeof (void *) * chp->ch_hashlen); in fmd_case_hash_destroy() 201 cpc = chp->ch_count; in fmd_case_hash_apply() 942 chp = fmd.d_cases; in fmd_case_convict() 945 cpc = chp->ch_count; in fmd_case_convict() 1196 chp->ch_count++; in fmd_case_hash_insert() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | sysevent.c | 57 evchan_t *chp; member 160 if (ctl == NULL || ctl->chp == NULL) in sysevent_publish() 260 if (ctl == NULL || ctl->chp == NULL) in sysevent_chan_control() 297 if (ctl == NULL || ctl->chp == NULL) in sysevent_subscribe() 359 if (ctl == NULL || ctl->chp == NULL) in sysevent_unsubscribe() 379 evch_usrunsubscribe(ctl->chp, sid, 0); in sysevent_unsubscribe() 484 if (ctl == NULL || ctl->chp == NULL) in sysevent_setpropnvl() 514 evch_usrsetpropnvl(ctl->chp, nvl); in sysevent_setpropnvl() 531 if (ctl == NULL || ctl->chp == NULL) in sysevent_getpropnvl() 668 if (ctl->chp) { in sysevent_close() [all …]
|
H A D | fd.c | 1128 struct fd_char *chp; in fdstart() local 1167 chp = fjp->fj_chars; in fdstart() 1168 secpcyl = chp->fdc_nhead * chp->fdc_secptrack; in fdstart() 1169 switch (chp->fdc_sec_size) { in fdstart() 1206 head = bincyl / chp->fdc_secptrack; in fdstart() 1208 sect = (bincyl % chp->fdc_secptrack) + 1; in fdstart() 1220 ((chp->fdc_secptrack - sect + 1) << in fdstart() 1223 (chp->fdc_secptrack - sect + 1) << in fdstart()
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_init.c | 148 sctp_chunk_hdr_t *chp; in sctp_init_mp() local 162 initlen = sizeof (*chp) + sizeof (*icp); in sctp_init_mp() 191 chp = (sctp_chunk_hdr_t *)mp->b_wptr; in sctp_init_mp() 192 chp->sch_id = CHUNK_INIT; in sctp_init_mp() 193 chp->sch_flags = 0; in sctp_init_mp() 195 U16_TO_ABE16(schlen, &(chp->sch_len)); in sctp_init_mp() 199 icp = (sctp_init_chunk_t *)(chp + 1); in sctp_init_mp()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | main.c | 2136 chp->pid = pid; 2139 chp->arg = arg; 2141 children = chp; 2185 (chp != NULL ? chp->prog : "??"), pid, 2190 (chp != NULL ? chp->prog: "??"), pid, 2193 if ((chp != NULL) && (chp->done != NULL)) 2194 (*chp->done)(chp->arg, status); 2196 free(chp); 2214 for (chp = children; chp != NULL; chp = chp->next) 2235 for (chp = children; chp != NULL; chp = chp->next) in final_reap() [all …]
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | gpkglist.c | 115 struct _choice_ *chp; in gpkglist() local 171 chp = menup->choice; in gpkglist() 172 for (n = 0; chp; /* void */) { in gpkglist() 173 nwpkg[n] = strdup(chp->token); in gpkglist() 175 chp = chp->next; in gpkglist()
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_chkpnt.c | 73 snap_param_t *chp = (snap_param_t *)data; in ndmp_has_backup() local 77 strstr(name, chp->snp_name) == NULL) { in ndmp_has_backup() 82 chp->snp_found = 1; in ndmp_has_backup()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_subr.c | 825 struct chtab **chp, struct nfs4_clnt *nfscl) in clget4() argument 833 if (newcl == NULL || chp == NULL || ci == NULL) in clget4() 837 *chp = NULL; in clget4() 928 *chp = cp; in clget4() 987 *chp = cp; in clget4() 2790 chhead_t *chp, *next; in clfini4_zone() local 2798 for (chp = nfscl->nfscl_chtable4; chp != NULL; chp = next) { in clfini4_zone() 2799 ASSERT(chp->ch_list == NULL); in clfini4_zone() 2800 kmem_free(chp->ch_protofmly, strlen(chp->ch_protofmly) + 1); in clfini4_zone() 2801 next = chp->ch_next; in clfini4_zone() [all …]
|
H A D | nfs_subr.c | 310 struct chtab **chp, struct nfs_clnt *nfscl) in clget_impl() argument 322 *chp = NULL; in clget_impl() 410 *chp = cp; in clget_impl() 466 *chp = cp; in clget_impl() 472 struct chtab **chp) in clget() argument 3459 chhead_t *chp, *next; in clfini_zone() local 3467 for (chp = nfscl->nfscl_chtable; chp != NULL; chp = next) { in clfini_zone() 3468 ASSERT(chp->ch_list == NULL); in clfini_zone() 3469 kmem_free(chp->ch_protofmly, strlen(chp->ch_protofmly) + 1); in clfini_zone() 3470 next = chp->ch_next; in clfini_zone() [all …]
|
/illumos-gate/usr/src/common/smbios/ |
H A D | smb_info.c | 554 chp->smbc_sku = smb_strptr(stp, 0); in smbios_info_chassis() 560 chp->smbc_oemdata = ch.smbch_oemdata; in smbios_info_chassis() 563 chp->smbc_bustate = ch.smbch_bustate; in smbios_info_chassis() 564 chp->smbc_psstate = ch.smbch_psstate; in smbios_info_chassis() 565 chp->smbc_thstate = ch.smbch_thstate; in smbios_info_chassis() 566 chp->smbc_security = ch.smbch_security; in smbios_info_chassis() 567 chp->smbc_uheight = ch.smbch_uheight; in smbios_info_chassis() 568 chp->smbc_cords = ch.smbch_cords; in smbios_info_chassis() 569 chp->smbc_elems = ch.smbch_cn; in smbios_info_chassis() 570 chp->smbc_elemlen = ch.smbch_cm; in smbios_info_chassis() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | ses_ses.c | 626 ses_enchdr(uchar_t *buffer, int amt, uchar_t SubEncId, SesEncHdr *chp) in ses_enchdr() argument 637 gget8(buffer, off+1, chp->Subencid); in ses_enchdr() 638 gget8(buffer, off+2, chp->Ntypes); in ses_enchdr() 639 gget8(buffer, off+3, chp->VEnclen); in ses_enchdr()
|
/illumos-gate/usr/src/uts/common/pcmcia/cs/ |
H A D | cs.c | 546 client_handle_t *chp; in CardServices() local 611 chp = va_arg(arglist, client_handle_t *), in CardServices() 612 retcode = cs_register_client(chp, in CardServices() 705 chp = va_arg(arglist, client_handle_t *); in CardServices() 706 retcode = cs_get_configuration_info(chp, in CardServices() 7274 cs_get_configuration_info(client_handle_t *chp, get_configuration_info_t *gci)
|
/illumos-gate/usr/src/data/zoneinfo/ |
H A D | northamerica | 1446 # http://www.assembly.nl.ca/legislation/sr/annualstatutes/2011/1106.chp.htm
|