/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/ |
H A D | ifconfig.c | 1324 if (ioctl(s, SIOCSLIFADDR, (caddr_t)&lifr) < 0) in setifrevarp() 1458 if (ioctl(s, SIOCSLIFADDR, (caddr_t)&lifr) < 0) in setifbroadaddr() 1494 if (ioctl(s, SIOCGLIFFLAGS, (caddr_t)&lifr) < 0) in setifflags() 1564 if (ioctl(s, SIOCSLIFFLAGS, (caddr_t)&lifr) < 0) in setifflags() 1593 if (ioctl(s, SIOCSLIFMTU, (caddr_t)&lifr) < 0) in setifmtu() 1604 if (ioctl(s, SIOCSLIFINDEX, (caddr_t)&lifr) < 0) in setifindex() 1889 if (ioctl(s, SIOCLIFADDIF, (caddr_t)&lifr) < 0) in addif() 1964 if (ioctl(s, SIOCSLIFADDR, (caddr_t)&lifr) < 0) in addif() 2467 (caddr_t)&lifr); in ip_domux2fd() 2869 if (ioctl(s, SIOCGLIFMTU, (caddr_t)&lifr) >= 0) in ifstatus() [all …]
|
/illumos-gate/usr/src/cmd/auditconfig/ |
H A D | auditconfig.c | 1000 eauditon(A_GETSTAT, (caddr_t)&as, 0); in do_chkconf() 1058 eauditon(A_GETSTAT, (caddr_t)&as, 0); in do_conf() 1316 eauditon(A_GETCLASS, (caddr_t)&ec, 0); in do_getclass() 1496 eauditon(A_GETQCTRL, (caddr_t)&qctrl, 0); in do_getqbufsz() 1546 eauditon(A_GETQCTRL, (caddr_t)&qctrl, 0); in do_getqctrl() 1580 eauditon(A_GETQCTRL, (caddr_t)&qctrl, 0); in do_getqdelay() 1608 eauditon(A_GETQCTRL, (caddr_t)&qctrl, 0); in do_getqhiwater() 1636 eauditon(A_GETQCTRL, (caddr_t)&qctrl, 0); in do_getqlowater() 1666 eauditon(A_GETSTAT, (caddr_t)&as, 0); in do_getstat() 2634 eauditon(A_GETSTAT, (caddr_t)&as, 0); in chk_event_num() [all …]
|
/illumos-gate/usr/src/boot/i386/btx/lib/ |
H A D | btxv86.h | 60 #define PTOV(pa) ((caddr_t)(pa) - __base) 62 #define VTOPSEG(va) (u_int16_t)(VTOP((caddr_t)va) >> 4) 63 #define VTOPOFF(va) (u_int16_t)(VTOP((caddr_t)va) & 0xf) 69 void __exec(caddr_t, ...);
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | rootnex.c | 55 off_t offset, off_t len, caddr_t *vaddrp); 195 caddr_t prop_value; 199 { "PAGESIZE", (caddr_t)&pagesize }, 200 { "MMU_PAGESIZE", (caddr_t)&mmu_pagesize}, 201 { "MMU_PAGEOFFSET", (caddr_t)&mmu_pageoffset}, 331 caddr_t kaddr; in rootnex_map_regspec() 360 *vaddrp = (caddr_t)pfn; in rootnex_map_regspec() 395 caddr_t addr = *vaddrp; in rootnex_unmap_regspec() 398 caddr_t base; in rootnex_unmap_regspec() 421 *vaddrp = (caddr_t)0; in rootnex_unmap_regspec() [all …]
|
/illumos-gate/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3.c | 417 (caddr_t)cpqary3p, drv_usectohz(CPQARY3_TICKTMOUT_VALUE)); in cpqary3_attach() 423 cpqary3_sw_isr, (caddr_t)cpqary3p) != DDI_SUCCESS) { in cpqary3_attach() 431 cpqary3_hw_isr, (caddr_t)cpqary3p) != DDI_SUCCESS) { in cpqary3_attach() 796 "reg", (caddr_t)®p, ®len) != DDI_PROP_SUCCESS) in cpqary3_update_ctlrdetails() 882 (caddr_t *)&cpqary3p->idr, (offset_t)I2O_IBDB_SET, map_len, in cpqary3_update_ctlrdetails() 963 (caddr_t *)&cpqary3p->imr, (offset_t)I2O_INT_MASK, map_len, in cpqary3_update_ctlrdetails() 978 (caddr_t *)&cpqary3p->ipq, (offset_t)I2O_IBPOST_Q, map_len, in cpqary3_update_ctlrdetails() 992 mem_bar0, /* INDEX_PCI_BASE0, */ (caddr_t *)&cpqary3p->opq, in cpqary3_update_ctlrdetails() 1012 mem_bar0, /* INDEX_PCI_BASE0, */ (caddr_t *)&ct_cfg_offset, in cpqary3_update_ctlrdetails() 1076 (caddr_t *)&cpqary3p->ct, (offset_t)ct_memoff_val, in cpqary3_update_ctlrdetails() [all …]
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | svc.h | 111 caddr_t rq_clntcred; /* read only cooked cred */ 171 bool_t (*xp_getargs)(SVCXPRT *, xdrproc_t, caddr_t); 175 bool_t (*xp_freeargs)(SVCXPRT *, xdrproc_t, caddr_t); 179 int (*xp_dup)(struct svc_req *, caddr_t, int, 228 bool_t (*xp_getargs)(SVCXPRT *, xdrproc_t, caddr_t); 232 bool_t (*xp_freeargs)(SVCXPRT *, xdrproc_t, caddr_t); 437 caddr_t xp_p2; /* private: for use by svc ops */ 501 caddr_t xp_p1; /* private: for use by svc ops */ 502 caddr_t xp_p2; /* private: for use by svc ops */ 503 caddr_t xp_p3; /* private: for use by svc lib */ [all …]
|
H A D | xdr.h | 120 caddr_t x_public; /* users' data */ 121 caddr_t x_private; /* pointer to private data */ 122 caddr_t x_base; /* private used for position info */ 140 bool_t (*x_getbytes)(struct XDR *, caddr_t, int); 142 bool_t (*x_putbytes)(struct XDR *, caddr_t, int); 421 extern bool_t xdr_array(XDR *, caddr_t *, uint_t *, const uint_t, 424 extern bool_t xdr_opaque(XDR *, caddr_t, const uint_t); 440 extern bool_t xdr_reference(XDR *, caddr_t *, uint_t, const xdrproc_t); 573 int (*) (void *, caddr_t, int), int (*) (void *, caddr_t, int)); 580 extern uint_t xdrrec_readbytes(XDR *, caddr_t, uint_t); [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | gldpriv.h | 145 caddr_t gld_dummy1; 155 caddr_t gld_dummy2; 156 caddr_t gld_dummy3; 158 caddr_t gld_dummy4; 345 caddr_t data; /* media specific private data */ 427 #define mac_eq(a, b, l) (bcmp((caddr_t)(a), (caddr_t)(b), (l)) == 0) 428 #define mac_copy(a, b, l) (bcopy((caddr_t)(a), (caddr_t)(b), (l))) 432 gld_bitrevcopy((caddr_t)(a), (caddr_t)(b), (l)); \ 561 #define DLSAP(p, offset) ((struct gld_dlsap *)((caddr_t)(p)+offset))
|
H A D | kobj_impl.h | 171 extern void exitto(caddr_t); 172 extern void kobj_sync_instruction_memory(caddr_t, size_t); 177 extern caddr_t kobj_segbrk(caddr_t *, size_t, size_t, caddr_t);
|
/illumos-gate/usr/src/uts/common/io/bfe/ |
H A D | bfe.h | 62 (void *)((caddr_t)((bfe)->bfe_mem_regset.addr) + (p)), v) 66 (void *)((caddr_t)((bfe)->bfe_mem_regset.addr) + (p)), v) 70 (void *)((caddr_t)((bfe)->bfe_mem_regset.addr) + (p)), v) 74 (void *)(((caddr_t)(bfe)->bfe_mem_regset.addr) + (p))) 77 (void *)(((caddr_t)(bfe)->bfe_mem_regset.addr) + (p))) 81 (void *)(((caddr_t)(bfe)->bfe_mem_regset.addr) + (p))) 204 caddr_t addr; 239 caddr_t addr;
|
/illumos-gate/usr/src/uts/sun4u/sys/pci/ |
H A D | pci_ib.h | 111 caddr_t ih_handler_arg1; /* interrupt handler argument #1 */ 112 caddr_t ih_handler_arg2; /* interrupt handler argument #2 */ 208 uint_t (*int_handler)(caddr_t int_handler_arg1, caddr_t int_handler_arg2), 209 caddr_t int_handler_arg1, caddr_t int_handler_arg2); 216 uint_t (*handler)(caddr_t arg), caddr_t arg);
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | machcpuvar.h | 157 caddr_t kwbuf_sp; 160 caddr_t cpu_q_va; /* cpu intrq base VA */ 161 caddr_t dev_q_va; /* dev intrq base VA */ 166 caddr_t cpu_rq_va; /* resumable Q base VA */ 167 caddr_t cpu_nrq_va; /* nonresumable Q base VA */ 174 caddr_t mondo_data; /* send mondo data */
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | clnt_btcp.c | 260 xdrrec_create(&(ct->ct_xdrs), sendsz, recvsz, (caddr_t)ct, readtcp, in clntbtcp_create() 264 cl->cl_private = (caddr_t)ct; in clntbtcp_create() 270 bkmem_free((caddr_t)ct, sizeof (*ct)); in clntbtcp_create() 272 bkmem_free((caddr_t)cl, sizeof (CLIENT)); in clntbtcp_create() 281 caddr_t argsp, in clntbtcp_call() 283 caddr_t resultsp, in clntbtcp_call() 401 caddr_t buf, in readtcp() 447 caddr_t buf; 479 caddr_t res_ptr) in clntbtcp_freeres() 514 bkmem_free((caddr_t)ct, (sizeof (struct ct_data))); in clntbtcp_destroy() [all …]
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | sun4dep.c | 96 caddr_t 97 resalloc_virt(caddr_t virt, size_t size) in resalloc_virt() 99 if (prom_claim_virt(size, virt) == (caddr_t)-1) in resalloc_virt() 100 return ((caddr_t)0); in resalloc_virt()
|
/illumos-gate/usr/src/uts/common/sys/scsi/impl/ |
H A D | usmp.h | 41 caddr_t usmp_req; 42 caddr_t usmp_rsp; 59 ucmd->usmp_req = (caddr_t)(uintptr_t)u32->usmp_req; \ 60 ucmd->usmp_rsp = (caddr_t)(uintptr_t)u32->usmp_rsp; \
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | anon.h | 389 extern int anon_fill_cow_holes(struct seg *, caddr_t, struct anon_hdr *, 397 size_t, struct seg *, caddr_t, enum seg_rw, struct cred *); 400 spgcnt_t *, struct seg *, caddr_t, 403 uint_t, struct seg *, caddr_t, uint_t, 407 uint_t, struct seg *, caddr_t, uint_t, 410 caddr_t, uint_t, struct page *, 412 extern struct page *anon_zero(struct seg *, caddr_t, 416 struct seg *, caddr_t, 419 struct seg *, caddr_t, uint_t,
|
/illumos-gate/usr/src/uts/sun4u/opl/os/ |
H A D | opl.c | 302 if (prom_getprop(pnode, LSBPROP, (caddr_t)&lsb_id) == -1) in opl_get_physical_board() 307 (caddr_t)&psb_id) == -1) { in opl_get_physical_board() 522 if (prom_getprop(nodeid, "board#", (caddr_t)&board) < 0) { in plat_fill_mc() 955 caddr_t efcode_vaddr = NULL; 961 caddr_t 962 efcode_alloc(caddr_t alloc_base) in efcode_alloc() 964 caddr_t efcode_alloc_base = (caddr_t)roundup((uintptr_t)alloc_base, in efcode_alloc() 966 caddr_t vaddr; in efcode_alloc() 980 caddr_t 981 plat_startup_memlist(caddr_t alloc_base) in plat_startup_memlist() [all …]
|
/illumos-gate/usr/src/uts/sun4u/opl/sys/pcicmu/ |
H A D | pcmu_ib.h | 48 caddr_t ih_handler_arg1; /* interrupt handler argument #1 */ 49 caddr_t ih_handler_arg2; /* interrupt handler argument #2 */ 162 uint_t (*int_handler)(caddr_t int_handler_arg1, caddr_t int_handler_arg2), 163 caddr_t int_handler_arg1, caddr_t int_handler_arg2);
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_prop_decode.c | 402 bcopy(ph->ph_cur_pos, (caddr_t)data, sizeof (int)); in di_prop_1275_int() 426 bcopy((caddr_t)data, ph->ph_cur_pos, sizeof (int)); in di_prop_1275_int() 444 if ((caddr_t)ph->ph_cur_pos == in di_prop_1275_int() 445 (caddr_t)ph->ph_data + ph->ph_size) { in di_prop_1275_int() 447 } else if ((caddr_t)ph->ph_cur_pos > in di_prop_1275_int() 448 (caddr_t)ph->ph_data + ph->ph_size) { in di_prop_1275_int() 548 if ((caddr_t)ph->ph_cur_pos == in di_prop_int64_op() 549 (caddr_t)ph->ph_data + ph->ph_size) { in di_prop_int64_op() 551 } else if ((caddr_t)ph->ph_cur_pos > in di_prop_int64_op() 552 (caddr_t)ph->ph_data + ph->ph_size) { in di_prop_int64_op() [all …]
|
/illumos-gate/usr/src/uts/common/sys/scsi/ |
H A D | scsi_resource.h | 67 struct buf *, size_t, uint_t, int (*)(caddr_t), caddr_t); 70 int (*)(caddr_t), caddr_t);
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | rmclomv.c | 1836 if (ddi_copyin((caddr_t)arg, (caddr_t)env_ind, in do_psu_cmd() 1899 if (ddi_copyout((caddr_t)env_ind, (caddr_t)arg, in do_psu_cmd() 2041 if (ddi_copyin((caddr_t)arg, (caddr_t)&env_sensor, in rmclomv_ioctl() 2139 if (ddi_copyin((caddr_t)arg, (caddr_t)&env_sensor, in rmclomv_ioctl() 2239 if (ddi_copyin((caddr_t)arg, (caddr_t)&env_fan, in rmclomv_ioctl() 2325 if (ddi_copyout((caddr_t)&env_fan, (caddr_t)arg, in rmclomv_ioctl() 2331 if (ddi_copyin((caddr_t)arg, (caddr_t)&env_ind, in rmclomv_ioctl() 2419 if (ddi_copyout((caddr_t)&env_ind, (caddr_t)arg, in rmclomv_ioctl() 2425 if (ddi_copyin((caddr_t)arg, (caddr_t)&env_hpu, in rmclomv_ioctl() 2539 if (ddi_copyout((caddr_t)&env_hpu, (caddr_t)arg, in rmclomv_ioctl() [all …]
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_log.c | 301 log_buffer_create(caddr_t name) in log_buffer_create() 435 caddr_t loghdr = NULL; in log_file_create() 688 lbp->lb_records = (caddr_t)lrp; in nfslog_record_put() 1051 lbp->lb_records = (caddr_t)lrp; in nfslog_record_append2all() 1538 caddr_t res, in nfslog_get_exi() 1632 caddr_t args, caddr_t res, cred_t *cr, struct netbuf *pnb, in nfslog_write_record() 1640 caddr_t buffer; in nfslog_write_record() 1818 (caddr_t)&args, (caddr_t)&res, cr, &nb, 0, NFSLOG_ALL_BUFFERS); in log_public_record() 1845 nfslog_write_record(exi, &req, (caddr_t)exi, (caddr_t)&res, cr, in nfslog_share_record() 1872 (caddr_t)exi, (caddr_t)&res, cr, &nb, 0, NFSLOG_ONE_BUFFER); in nfslog_unshare_record() [all …]
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf_notes.c | 247 (caddr_t)&bigwad->psinfo, rlimit, credp); in write_elfnotes() 274 (caddr_t)&bigwad->pstatus, rlimit, credp); in write_elfnotes() 289 (caddr_t)bigwad->auxv, rlimit, credp); in write_elfnotes() 299 (caddr_t)&bigwad->uts, rlimit, credp); in write_elfnotes() 319 (caddr_t)&bigwad->pcred, rlimit, credp); in write_elfnotes() 324 (caddr_t)&content, rlimit, credp); in write_elfnotes() 331 (caddr_t)&bigwad->ppriv, rlimit, credp); in write_elfnotes() 337 (caddr_t)prii, rlimit, credp); in write_elfnotes() 459 (caddr_t)ssd, rlimit, credp); in write_elfnotes() 539 (caddr_t)&name, rlimit, credp)) != 0) in write_elfnotes() [all …]
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | intr.c | 72 uint_t poke_cpu_intr(caddr_t arg1, caddr_t arg2); 73 uint_t siron_poke_cpu_intr(caddr_t arg1, caddr_t arg2); 129 (caddr_t)(uintptr_t)(i), SOFTINT_ST); in intr_init() 164 poke_cpu_intr(caddr_t arg1, caddr_t arg2) in poke_cpu_intr() 274 siron_poke_cpu_intr(caddr_t arg1, caddr_t arg2) in siron_poke_cpu_intr() 846 create_softint(uint_t pil, uint_t (*func)(caddr_t, caddr_t), caddr_t arg1) in create_softint() argument
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | instr_size.c | 127 instr_size(struct regs *rp, caddr_t *addrp, enum seg_rw rw) in instr_size() 130 caddr_t pc = (caddr_t)rp->r_pc; in instr_size() 132 (void) copyin_nowatch(pc, (caddr_t)instr, sizeof (instr)); in instr_size()
|