/illumos-gate/usr/src/uts/common/io/ |
H A D | ecpp.c | 592 struct ecppunit *pp; in ecpp_attach() local 755 struct ecppunit *pp; in ecpp_detach() local 841 ecpp_get_props(struct ecppunit *pp) in ecpp_get_props() 988 struct ecppunit *pp; in ecpp_getinfo() local 1021 struct ecppunit *pp; in ecpp_open() local 1134 struct ecppunit *pp; in ecpp_close() local 1235 struct ecppunit *pp; in ecpp_wput() local 1501 struct ecppunit *pp; in ecpp_putioc() local 1873 struct ecppunit *pp = (struct ecppunit *)q->q_ptr; in ecpp_rsrv() local 1891 struct ecppunit *pp = (struct ecppunit *)q->q_ptr; in ecpp_wsrv() local [all …]
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_conf.c | 65 set_bool(fmd_conf_param_t *pp, const char *s) in set_bool() 78 get_bool(const fmd_conf_param_t *pp, void *ptr) in get_bool() 84 set_i32x(fmd_conf_param_t *pp, const char *s, int64_t min, int64_t max) in set_i32x() 103 set_i8(fmd_conf_param_t *pp, const char *s) in set_i8() 109 set_i16(fmd_conf_param_t *pp, const char *s) in set_i16() 115 set_i32(fmd_conf_param_t *pp, const char *s) in set_i32() 121 get_i32(const fmd_conf_param_t *pp, void *ptr) in get_i32() 127 set_ui32x(fmd_conf_param_t *pp, const char *s, uint64_t max) in set_ui32x() 146 set_ui8(fmd_conf_param_t *pp, const char *s) in set_ui8() 152 set_ui16(fmd_conf_param_t *pp, const char *s) in set_ui16() [all …]
|
/illumos-gate/usr/src/compat/bhyve/sys/ |
H A D | endian.h | 21 be16dec(const void *pp) in be16dec() 29 be32dec(const void *pp) in be32dec() 37 be64dec(const void *pp) in be64dec() 45 le16dec(const void *pp) in le16dec() 53 le32dec(const void *pp) in le32dec() 61 le64dec(const void *pp) in le64dec() 69 be16enc(void *pp, uint16_t u) in be16enc() 78 be32enc(void *pp, uint32_t u) in be32enc() 89 be64enc(void *pp, uint64_t u) in be64enc() 98 le16enc(void *pp, uint16_t u) in le16enc() [all …]
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | page_lock.c | 91 #define PAGE_IO_MUTEX(pp) \ argument 101 #define PAGE_SE_MUTEX(pp) &pse_mutex[ \ argument 243 page_lock(page_t *pp, se_t se, kmutex_t *lock, reclaim_t reclaim) in page_lock() 294 page_lock_es(page_t *pp, se_t se, kmutex_t *lock, reclaim_t reclaim, int es) in page_lock_es() 477 page_lock_clr_exclwanted(page_t *pp) in page_lock_clr_exclwanted() 502 page_try_reclaim_lock(page_t *pp, se_t se, int es) in page_try_reclaim_lock() 572 page_trylock(page_t *pp, se_t se) in page_trylock() 613 page_unlock_nocapture(page_t *pp) in page_unlock_nocapture() 646 page_unlock(page_t *pp) in page_unlock() 701 page_tryupgrade(page_t *pp) in page_tryupgrade() [all …]
|
H A D | page.h | 132 #define PAGE_LLOCK_HASH(pp) \ argument 139 #define page_struct_lock(pp) \ argument 141 #define page_struct_unlock(pp) \ argument 660 #define PAGE_LOCKED(pp) (((pp)->p_selock & ~SE_EWANTED) != 0) argument 661 #define PAGE_SHARED(pp) (((pp)->p_selock & ~SE_EWANTED) > 0) argument 662 #define PAGE_EXCL(pp) ((pp)->p_selock < 0) argument 663 #define PAGE_LOCKED_SE(pp, se) \ argument 937 #define PP_ISFREE(pp) ((pp)->p_state & P_FREE) argument 938 #define PP_ISAGED(pp) (((pp)->p_state & P_FREE) && \ argument 940 #define PP_ISNORELOC(pp) ((pp)->p_state & P_NORELOC) argument [all …]
|
H A D | vm_page.c | 575 page_t *pp, in add_physmem() 743 page_t *pp; in page_lookup_create() local 952 page_t *pp; in page_lookup_nowait() local 1020 page_t *pp; in page_find() local 1084 page_t *pp; in page_exists_physcontig() local 1317 page_t *pp; in page_exists_forreal() local 1778 page_t *pp; in page_create_get_something() local 2011 page_t *pplist = NULL, *pp; in page_alloc_pages() local 2152 page_t *pp; in page_create_va_large() local 2391 page_t *pp; in page_create_va() local [all …]
|
H A D | hat.h | 473 #define hat_ismod(pp) (hat_page_getattr(pp, P_MOD)) argument 474 #define hat_isref(pp) (hat_page_getattr(pp, P_REF)) argument 475 #define hat_isro(pp) (hat_page_getattr(pp, P_RO)) argument 477 #define hat_setmod(pp) (hat_page_setattr(pp, P_MOD)) argument 478 #define hat_setmod_only(pp) (hat_page_setattr(pp, P_MOD|P_NSH)) argument 479 #define hat_setref(pp) (hat_page_setattr(pp, P_REF)) argument 480 #define hat_setrefmod(pp) (hat_page_setattr(pp, P_REF|P_MOD)) argument 482 #define hat_clrmod(pp) (hat_page_clrattr(pp, P_MOD)) argument 483 #define hat_clrref(pp) (hat_page_clrattr(pp, P_REF)) argument 484 #define hat_clrrefmod(pp) (hat_page_clrattr(pp, P_REF|P_MOD)) argument [all …]
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.proc.c | 58 struct process *pp; in pchild() local 170 struct process *pp; in pnote() local 196 struct process *fp, *pp; in pwait() local 225 pjwait(struct process *pp) in pjwait() 312 struct process *pp; in dowait() local 337 struct process *pp; in pflushall() local 353 pflush(struct process *pp) in pflush() 389 pclrcurr(struct process *pp) in pclrcurr() 418 struct process *pp; in palloc() local 599 struct process *pp, *tp; in pendjob() local [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/ |
H A D | usbser.c | 477 usbser_port_t *pp; in usbser_open() local 536 usbser_port_t *pp = (usbser_port_t *)rq->q_ptr; in usbser_close() local 584 usbser_port_t *pp = (usbser_port_t *)q->q_ptr; in usbser_rsrv() local 614 usbser_port_t *pp = (usbser_port_t *)q->q_ptr; in usbser_wput() local 647 usbser_port_t *pp = (usbser_port_t *)q->q_ptr; in usbser_wsrv() local 816 usbser_port_t *pp; in usbser_attach_ports() local 933 usbser_port_t *pp; in usbser_detach_ports() local 1079 usbser_port_t *pp; in usbser_disconnect_ports() local 1198 usbser_port_t *pp; in usbser_suspend_ports() local 1288 usbser_port_t *pp; in usbser_restore_ports_state() local [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/ |
H A D | ehci_xfer.c | 411 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_unpack_endpoint() local 537 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_insert_qh() local 571 ehci_pipe_private_t *pp) in ehci_insert_async_qh() 670 ehci_pipe_private_t *pp) in ehci_insert_intr_qh() 737 ehci_pipe_private_t *pp, in ehci_modify_qh_status_bit() 847 ehci_pipe_private_t *pp, in ehci_halt_hs_qh() 887 ehci_pipe_private_t *pp, in ehci_halt_fls_ctrl_and_bulk_qh() 1120 ehci_pipe_private_t *pp, in ehci_remove_qh() 1159 ehci_pipe_private_t *pp, in ehci_remove_async_qh() 1223 ehci_pipe_private_t *pp, in ehci_remove_intr_qh() [all …]
|
H A D | ehci_isoch.c | 146 ehci_pipe_private_t *pp; in ehci_isoc_cleanup() local 208 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_isoc_pipe_cleanup() local 268 ehci_pipe_private_t *pp) in ehci_wait_for_isoc_completion() 306 ehci_pipe_private_t *pp = (ehci_pipe_private_t *)ph->p_hcd_private; in ehci_allocate_isoc_resources() local 447 ehci_pipe_private_t *pp, in ehci_insert_isoc_req() 536 ehci_pipe_private_t *pp, in ehci_insert_itd_req() 700 ehci_pipe_private_t *pp, in ehci_insert_sitd_req() 843 ehci_pipe_private_t *pp) in ehci_remove_isoc_itds() 887 ehci_pipe_private_t *pp) in ehci_mark_reclaim_isoc() 978 ehci_pipe_private_t *pp) in ehci_reclaim_isoc() [all …]
|
H A D | ehci_intr.c | 292 ehci_pipe_private_t *pp = NULL; /* Pipe private field */ in ehci_traverse_active_qtd_list() local 429 ehci_pipe_private_t *pp; in ehci_parse_error() local 483 ehci_pipe_private_t *pp, in ehci_check_for_error() 632 ehci_pipe_private_t *pp, in ehci_check_for_short_xfer() 778 ehci_pipe_private_t *pp; in ehci_handle_error() local 925 ehci_pipe_private_t *pp; /* Pipe private field */ in ehci_handle_normal_qtd() local 953 ehci_pipe_private_t *pp, in ehci_handle_ctrl_qtd() 1042 ehci_pipe_private_t *pp, in ehci_handle_bulk_qtd() 1100 ehci_pipe_private_t *pp, in ehci_handle_intr_qtd() 1205 ehci_pipe_private_t *pp = tw->tw_pipe_private; in ehci_handle_one_xfer_completion() local [all …]
|
H A D | ehci_polled.c | 245 ehci_pipe_private_t *pp; in ehci_hcdi_polled_input_enter() local 315 ehci_pipe_private_t *pp; in ehci_hcdi_polled_input_exit() local 451 ehci_pipe_private_t *pp; in ehci_hcdi_polled_output_init() local 511 ehci_pipe_private_t *pp; in ehci_hcdi_polled_output_fini() local 578 ehci_pipe_private_t *pp; in ehci_hcdi_polled_write() local 689 ehci_pipe_private_t *pp; in ehci_polled_init() local 876 ehci_pipe_private_t *pp; in ehci_polled_fini() local 956 ehci_pipe_private_t *pp = NULL; /* Normal mode Pipe */ in ehci_polled_save_state() local 1173 ehci_pipe_private_t *pp = NULL; /* Normal mode Pipe */ in ehci_polled_restore_state() local 1361 ehci_pipe_private_t *pp; in ehci_polled_process_active_intr_qtd_list() local [all …]
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | endian.h | 100 be16dec(const void *pp) in be16dec() 108 be32dec(const void *pp) in be32dec() 116 be64dec(const void *pp) in be64dec() 124 le16dec(const void *pp) in le16dec() 132 le32dec(const void *pp) in le32dec() 140 le64dec(const void *pp) in le64dec() 148 be16enc(void *pp, uint16_t u) in be16enc() 157 be32enc(void *pp, uint32_t u) in be32enc() 168 be64enc(void *pp, uint64_t u) in be64enc() 177 le16enc(void *pp, uint16_t u) in le16enc() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | port_subr.c | 93 port_pollwkup(port_t *pp) in port_pollwkup() 118 port_pollwkdone(port_t *pp) in port_pollwkdone() 200 port_t *pp; in port_send_event() local 249 port_t *pp; in port_alloc_event() local 317 port_alloc_event_local(port_t *pp, int source, int flags, in port_alloc_event_local() 353 port_alloc_event_block(port_t *pp, int source, int flags, in port_alloc_event_block() 438 port_t *pp; in port_free_event() local 490 port_t *pp = pkevp->portkev_port; in port_free_event_local() local 616 port_remove_fd_object(portfd_t *pfd, port_t *pp, port_fdcache_t *pcp) in port_remove_fd_object() 666 port_t *pp; in port_close_pfd() local [all …]
|
/illumos-gate/usr/src/lib/scsi/libses/common/ |
H A D | ses_snap.c | 32 ses_snap_page_t *pp; in ses_snap_find_page() local 43 grow_snap_page(ses_snap_page_t *pp, size_t min) in grow_snap_page() 64 ses_snap_page_t *pp; in alloc_snap_page() local 81 free_snap_page(ses_snap_page_t *pp) in free_snap_page() 96 ses_snap_page_t *pp, *np; in free_all_snap_pages() local 119 ses_snap_page_t *pp, *up, **loc; in ses_snap_ctl_page() local 178 ses_snap_page_t *pp; in read_status_page() local 276 send_control_page(ses_snap_t *sp, ses_snap_page_t *pp) in send_control_page() 322 ses_snap_page_t *pp, *np; in pages_skel_create() local 448 ses_snap_page_t *pp; in ses_snap_new() local [all …]
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | hment.c | 107 #define MLIST_MUTEX(pp) \ argument 278 x86_hm_held(page_t *pp) in x86_hm_held() 287 x86_hm_enter(page_t *pp) in x86_hm_enter() 295 x86_hm_exit(page_t *pp) in x86_hm_exit() 306 hment_insert(hment_t *hm, page_t *pp) in hment_insert() 349 hment_prepare(htable_t *htable, uint_t entry, page_t *pp) in hment_prepare() 447 hment_assign(htable_t *htable, uint_t entry, page_t *pp, hment_t *hm) in hment_assign() 487 hment_walk(page_t *pp, htable_t **ht, uint_t *entry, hment_t *prev) in hment_walk() 525 hment_remove(page_t *pp, htable_t *ht, uint_t entry) in hment_remove() 666 hment_mapcnt(page_t *pp) in hment_mapcnt() [all …]
|
/illumos-gate/usr/src/lib/scsi/libsmp/common/ |
H A D | smp_plugin.c | 146 smp_plugin_t *pp; in smp_get_funcdef() local 164 smp_plugin_register(smp_plugin_t *pp, int version, in smp_plugin_register() 176 smp_plugin_setspecific(smp_plugin_t *pp, void *data) in smp_plugin_setspecific() 182 smp_plugin_getspecific(smp_plugin_t *pp) in smp_plugin_getspecific() 198 smp_plugin_destroy(smp_plugin_t *pp) in smp_plugin_destroy() 212 smp_plugin_t *pp, **loc; in smp_plugin_loadone() local 416 smp_plugin_t *pp; in smp_plugin_unload() local
|
/illumos-gate/usr/src/uts/common/sys/usb/clients/usbser/ |
H A D | usbser_var.h | 235 #define USBSER_PORT_ACCESS_OK(pp) ((pp)->port_state == USBSER_PORT_OPEN) argument 240 #define USBSER_PORT_IS_BUSY(pp) ((pp)->port_act != 0) argument 243 #define USBSER_PORT_IS_BUSY_NON_RX(pp) \ argument 250 #define USBSER_IS_OPENING(pp) \ argument 258 #define USBSER_NO_OTHER_OPEN(pp, minor) \ argument 267 #define USBSER_OPEN_IN_OTHER_MODE(pp, minor) \ argument 355 #define USBSER_DS_SET_PORT_PARAMS(pp, params) \ argument 359 #define USBSER_DS_SET_MODEM_CTL(pp, mask, val) \ argument 363 #define USBSER_DS_GET_MODEM_CTL(pp, mask, valp) \ argument 367 #define USBSER_DS_BREAK_CTL(pp, val) \ argument [all …]
|
/illumos-gate/usr/src/uts/sun4u/vm/ |
H A D | mach_kpm.c | 80 hat_kpm_mapin(struct page *pp, struct kpme *kpme) in hat_kpm_mapin() 129 hat_kpm_mapout(struct page *pp, struct kpme *kpme, caddr_t vaddr) in hat_kpm_mapout() 223 hat_kpm_page2va(struct page *pp, int checkswap) in hat_kpm_page2va() 270 #define PP2KPMPG(pp, kp) { \ argument 284 #define PP2KPMSPG(pp, ksp) { \ argument 312 page_t *pp; in hat_kpm_fault() local 603 page_t *pp; in sfmmu_kpm_vatopfn() local 620 sfmmu_kpme_lookup(struct kpme *kpme, page_t *pp) in sfmmu_kpme_lookup() 636 sfmmu_kpme_add(struct kpme *kpme, page_t *pp) in sfmmu_kpme_add() 657 sfmmu_kpme_sub(struct kpme *kpme, page_t *pp) in sfmmu_kpme_sub() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | path.c | 297 register Pathcomp_t *pp=first, *old=0, *ppnext; in path_delete() local 321 static char *path_lib(Shell_t *shp,Pathcomp_t *pp, char *path) in path_lib() 370 static void path_checkdup(Shell_t *shp,register Pathcomp_t *pp) in path_checkdup() 411 Pathcomp_t *path_nextcomp(Shell_t *shp,register Pathcomp_t *pp, const char *name, Pathcomp_t *last) in path_nextcomp() 456 Pathcomp_t *pp = (void*)path_addpath(shp,(Pathcomp_t*)0,(std_path),PATH_PATH); in defpath_init() local 463 Pathcomp_t *pp; in path_init() local 487 register Pathcomp_t *pp=0; in path_get() local 507 static int path_opentype(Shell_t *shp,const char *name, register Pathcomp_t *pp, int fun) in path_opentype() 549 int path_open(Shell_t *shp,const char *name, register Pathcomp_t *pp) in path_open() 663 Pathcomp_t *pp=0; in path_search() local [all …]
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_avl.c | 59 #define POOL_TO_MARKER(pp) (((uintptr_t)(pp) | 1)) argument 67 uu_avl_pool_t *pp, *next, *prev; in uu_avl_pool_create() local 112 uu_avl_pool_destroy(uu_avl_pool_t *pp) in uu_avl_pool_destroy() 136 uu_avl_node_init(void *base, uu_avl_node_t *np, uu_avl_pool_t *pp) in uu_avl_node_init() 161 uu_avl_node_fini(void *base, uu_avl_node_t *np, uu_avl_pool_t *pp) in uu_avl_node_fini() 209 uu_avl_create(uu_avl_pool_t *pp, void *parent, uint32_t flags) in uu_avl_create() 250 uu_avl_pool_t *pp = ap->ua_pool; in uu_avl_destroy() local 423 uu_avl_pool_t *pp = ap->ua_pool; in uu_avl_remove() local 461 uu_avl_pool_t *pp = ap->ua_pool; in uu_avl_teardown() local 495 uu_avl_pool_t *pp = ap->ua_pool; in uu_avl_insert() local [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ecppvar.h | 55 #define ECPP_MAP_REGS(pp) (pp)->hw->map_regs(pp) argument 56 #define ECPP_UNMAP_REGS(pp) (pp)->hw->unmap_regs(pp) argument 57 #define ECPP_CONFIG_CHIP(pp) (pp)->hw->config_chip(pp) argument 58 #define ECPP_CONFIG_MODE(pp) (pp)->hw->config_mode(pp) argument 59 #define ECPP_MASK_INTR(pp) (pp)->hw->mask_intr(pp) argument 60 #define ECPP_UNMASK_INTR(pp) (pp)->hw->unmask_intr(pp) argument 61 #define ECPP_DMA_START(pp) (pp)->hw->dma_start(pp) argument 62 #define ECPP_DMA_STOP(pp, cnt) (pp)->hw->dma_stop(pp, cnt) argument 63 #define ECPP_DMA_GETCNT(pp) (pp)->hw->dma_getcnt(pp) argument 413 #define DSR_READ(pp) PP_GETB((pp)->i_handle, &(pp)->i_reg->dsr) argument [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/ |
H A D | ohci.c | 2070 ohci_pipe_private_t *pp; in ohci_cleanup() local 2460 ohci_pipe_private_t *pp; in ohci_hcdi_pipe_open() local 2667 ohci_pipe_private_t *pp = (ohci_pipe_private_t *)ph->p_hcd_private; in ohci_hcdi_pipe_close() local 2749 ohci_pipe_private_t *pp = (ohci_pipe_private_t *)ph->p_hcd_private; in ohci_hcdi_pipe_reset() local 2785 ohci_pipe_private_t *pp = (ohci_pipe_private_t *)ph->p_hcd_private; in ohci_hcdi_pipe_reset_data_toggle() local 2814 ohci_pipe_private_t *pp = (ohci_pipe_private_t *)ph->p_hcd_private; in ohci_hcdi_pipe_ctrl_xfer() local 2919 ohci_pipe_private_t *pp = (ohci_pipe_private_t *)ph->p_hcd_private; in ohci_hcdi_pipe_bulk_xfer() local 3405 ohci_pipe_private_t *pp = (ohci_pipe_private_t *)ph->p_hcd_private; in ohci_deallocate_bandwidth() local 3894 ohci_pipe_private_t *pp = (ohci_pipe_private_t *)ph->p_hcd_private; in ohci_insert_ed() local 3927 ohci_pipe_private_t *pp) in ohci_insert_ctrl_ed() [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/ |
H A D | uhciutil.c | 1164 uhci_pipe_private_t *pp = in uhci_deallocate_bandwidth() local 1410 uhci_pipe_private_t *pp = (uhci_pipe_private_t *)ph->p_hcd_private; in uhci_insert_qh() local 1440 uhci_insert_ctrl_qh(uhci_state_t *uhcip, uhci_pipe_private_t *pp) in uhci_insert_ctrl_qh() 1468 uhci_insert_bulk_qh(uhci_state_t *uhcip, uhci_pipe_private_t *pp) in uhci_insert_bulk_qh() 1499 uhci_insert_intr_qh(uhci_state_t *uhcip, uhci_pipe_private_t *pp) in uhci_insert_intr_qh() 1541 uhci_pipe_private_t *pp = (uhci_pipe_private_t *)ph->p_hcd_private; in uhci_insert_intr_td() local 1737 uhci_pipe_private_t *pp, in uhci_create_transfer_wrapper() 1870 uhci_pipe_private_t *pp, in uhci_insert_hc_td() 1946 uhci_pipe_private_t *pp, in uhci_fill_in_td() 2090 uhci_pipe_private_t *pp) in uhci_modify_td_active_bits() [all …]
|