Home
last modified time | relevance | path

Searched refs:caddr_t (Results 1 – 25 of 1841) sorted by relevance

12345678910>>...74

/illumos-gate/usr/src/uts/common/vm/
H A Dhat.h75 caddr_t hcb_start_addr;
76 caddr_t hcb_end_addr;
228 pfn_t hat_getpfnum(struct hat *, caddr_t);
229 int hat_probe(struct hat *, caddr_t);
230 int hat_share(struct hat *, caddr_t, struct hat *, caddr_t, size_t, uint_t);
242 caddr_t hat_kpm_mapin_pfn(pfn_t);
244 caddr_t hat_kpm_page2va(struct page *, int);
245 struct page *hat_kpm_vaddr2page(caddr_t);
246 int hat_kpm_fault(struct hat *, caddr_t);
252 caddr_t hat_kpm_mseg_reuse(struct memseg *);
[all …]
H A Dseg_hole.c32 static int seghole_unmap(struct seg *, caddr_t, size_t);
36 static faultcode_t seghole_faulta(struct seg *, caddr_t);
37 static int seghole_setprot(struct seg *, caddr_t, size_t, uint_t);
44 static u_offset_t seghole_getoffset(struct seg *, caddr_t);
45 static int seghole_gettype(struct seg *, caddr_t);
46 static int seghole_getvp(struct seg *, caddr_t, struct vnode **);
47 static int seghole_advise(struct seg *, caddr_t, size_t, uint_t);
120 seghole_unmap(struct seg *seg, caddr_t addr, size_t len) in seghole_unmap()
170 seghole_faulta(struct seg *seg, caddr_t addr) in seghole_faulta()
244 seghole_getoffset(struct seg *seg, caddr_t addr) in seghole_getoffset()
[all …]
H A Dseg_umap.c45 static boolean_t segumap_verify_safe(caddr_t, size_t);
47 static int segumap_unmap(struct seg *, caddr_t, size_t);
51 static faultcode_t segumap_faulta(struct seg *, caddr_t);
59 static u_offset_t segumap_getoffset(struct seg *, caddr_t);
60 static int segumap_gettype(struct seg *, caddr_t);
67 static int segumap_getmemid(struct seg *, caddr_t, memid_t *);
136 segumap_verify_safe(caddr_t kaddr, size_t len) in segumap_verify_safe()
178 segumap_unmap(struct seg *seg, caddr_t addr, size_t len) in segumap_unmap()
276 segumap_faulta(struct seg *seg, caddr_t addr) in segumap_faulta()
371 segumap_getoffset(struct seg *seg, caddr_t addr) in segumap_getoffset()
[all …]
H A Dseg.h103 caddr_t s_base; /* base virtual address */
120 int (*unmap)(struct seg *, caddr_t, size_t);
124 faultcode_t (*faulta)(struct seg *, caddr_t);
127 int (*kluster)(struct seg *, caddr_t, ssize_t);
134 u_offset_t (*getoffset)(struct seg *, caddr_t);
135 int (*gettype)(struct seg *, caddr_t);
136 int (*getvp)(struct seg *, caddr_t, struct vnode **);
137 int (*advise)(struct seg *, caddr_t, size_t, uint_t);
142 int (*getmemid)(struct seg *, caddr_t, memid_t *);
177 caddr_t addr, size_t len, uint_t flags);
[all …]
H A Das.h114 caddr_t a_userlimit; /* highest allowable address in this as */
154 (((as)->a_userlimit > (caddr_t)UINT32_MAX) ? 1 : 0)
190 caddr_t ascb_saddr; /* start address */
263 struct seg *as_segat(struct as *as, caddr_t addr);
277 int as_unmap(struct as *as, caddr_t addr, size_t size);
280 int as_map_locked(struct as *as, caddr_t addr, size_t size,
284 uint_t flags, caddr_t addr);
286 size_t *lenp, uint_t flags, caddr_t addr, size_t align,
289 int as_memory(struct as *as, caddr_t *basep, size_t *lenp);
304 int as_getmemid(struct as *, caddr_t, memid_t *);
[all …]
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dsun4x_standalloc.c47 caddr_t le_page;
48 caddr_t ie_page;
49 caddr_t scratchmemp;
110 caddr_t sg_addr;
128 static caddr_t
131 caddr_t v; in vpage_from_freelist()
160 static caddr_t
164 caddr_t v; in get_low_vpage()
235 caddr_t
238 caddr_t vaddr; in resalloc()
[all …]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dprom_plat.h127 extern caddr_t prom_map(caddr_t virthint,
135 extern caddr_t prom_malloc(caddr_t virt, size_t size, uint_t align);
138 extern caddr_t prom_claim_virt(size_t size, caddr_t virt);
139 extern void prom_free_virt(size_t size, caddr_t virt);
157 extern int prom_phys_installed(caddr_t);
158 extern int prom_phys_avail(caddr_t);
159 extern int prom_virt_avail(caddr_t);
190 unsigned long long tte_data, caddr_t virt);
193 unsigned long long tte_data, caddr_t virt);
203 extern int prom_getidprom(caddr_t addr, int size);
[all …]
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_rpc.c46 (xdrproc_t) xdr_cprinc_arg, (caddr_t) argp, in create_principal_2()
64 (xdrproc_t) xdr_cprinc3_arg, (caddr_t) argp, in create_principal3_2()
82 (xdrproc_t) xdr_dprinc_arg, (caddr_t) argp, in delete_principal_2()
100 (xdrproc_t) xdr_mprinc_arg, (caddr_t) argp, in modify_principal_2()
118 (xdrproc_t) xdr_rprinc_arg, (caddr_t) argp, in rename_principal_2()
298 (xdrproc_t) xdr_cpol_arg, (caddr_t) argp, in create_policy_2()
316 (xdrproc_t) xdr_dpol_arg, (caddr_t) argp, in delete_policy_2()
334 (xdrproc_t) xdr_mpol_arg, (caddr_t) argp, in modify_policy_2()
352 (xdrproc_t) xdr_gpol_arg, (caddr_t) argp, in get_policy_2()
388 (xdrproc_t) xdr_u_int, (caddr_t) argp, in get_privs_2()
[all …]
/illumos-gate/usr/src/psm/stand/boot/sparc/sun4/sys/
H A Dprom_plat.h124 extern caddr_t prom_map(caddr_t virthint,
132 extern caddr_t prom_malloc(caddr_t virt, size_t size, uint_t align);
135 extern caddr_t prom_claim_virt(size_t size, caddr_t virt);
136 extern void prom_free_virt(size_t size, caddr_t virt);
147 extern void prom_unmap_phys(size_t size, caddr_t virt);
148 extern void prom_unmap_virt(size_t size, caddr_t virt);
154 extern int prom_phys_installed(caddr_t);
155 extern int prom_phys_avail(caddr_t);
156 extern int prom_virt_avail(caddr_t);
187 unsigned long long tte_data, caddr_t virt);
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dprom_plat.h128 extern caddr_t prom_map(caddr_t virthint,
136 extern caddr_t prom_malloc(caddr_t virt, size_t size, uint_t align);
139 extern caddr_t prom_claim_virt(size_t size, caddr_t virt);
140 extern void prom_free_virt(size_t size, caddr_t virt);
158 extern int prom_phys_installed(caddr_t);
159 extern int prom_phys_avail(caddr_t);
160 extern int prom_virt_avail(caddr_t);
191 unsigned long long tte_data, caddr_t virt);
194 unsigned long long tte_data, caddr_t virt);
209 extern int prom_getidprom(caddr_t addr, int size);
[all …]
/illumos-gate/usr/src/stand/lib/inet/
H A Dethernet.c101 bcopy((caddr_t)etherbroadcastaddr, (caddr_t)&out->arp_eh.ether_dhost, in ether_comarp()
114 bcopy((caddr_t)&tmp_ia, (caddr_t)out->arp_ea.arp_spa, in ether_comarp()
159 (caddr_t)&tmp_ia, in ether_comarp()
182 (caddr_t)&tmp_ia, in ether_comarp()
223 bcopy((caddr_t)etherbroadcastaddr, (caddr_t)&out.arp_ea.arp_tha, in ether_arp()
225 bcopy((caddr_t)ip, (caddr_t)out.arp_ea.arp_tpa, in ether_arp()
231 bcopy((caddr_t)&out.arp_ea.arp_sha, (caddr_t)ep, in ether_arp()
261 bcopy((caddr_t)&out.arp_ea.arp_tpa, (caddr_t)&ip, in ether_revarp()
438 (bcmp((caddr_t)ea->arp_tpa, (caddr_t)&ip, in ether_input()
456 bcopy((caddr_t)&ip, (caddr_t)ea->arp_spa, in ether_input()
[all …]
H A Dibd.c141 bcopy((caddr_t)&ibdbroadcastaddr, (caddr_t)&out->arp_eh.ipoib_dest, in ibd_comarp()
152 bcopy((caddr_t)&tmp_ia, (caddr_t)out->arp_ea.arp_spa, in ibd_comarp()
198 (caddr_t)&tmp_ia, in ibd_comarp()
238 bcopy((caddr_t)&ibdbroadcastaddr, (caddr_t)&out.arp_ea.arp_tha, in ibd_arp()
240 bcopy((caddr_t)ip, (caddr_t)out.arp_ea.arp_tpa, in ibd_arp()
246 bcopy((caddr_t)&out.arp_ea.arp_sha, (caddr_t)ep, IPOIB_ADDRL); in ibd_arp()
398 bkmem_free((caddr_t)inp, in ibd_input()
436 (bcmp((caddr_t)ea->arp_tpa, (caddr_t)&ip, in ibd_input()
449 bcopy((caddr_t)&ip, (caddr_t)ea->arp_spa, in ibd_input()
517 bcopy((caddr_t)&ip->ip_dst, (caddr_t)&ipdst, sizeof (ipdst)); in ibd_output()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dfsck.h306 extern caddr_t lfname;
531 int check_mnttab(caddr_t, caddr_t, size_t);
532 int check_vfstab(caddr_t, caddr_t, size_t);
559 int fsck_asprintf(caddr_t *, caddr_t, ...);
570 caddr_t hasvfsopt(struct vfstab *, caddr_t);
584 int mounted(caddr_t, caddr_t, size_t);
600 caddr_t rawname(caddr_t);
604 int reply(caddr_t, ...);
607 char *setup(caddr_t);
610 caddr_t unrawname(caddr_t);
[all …]
/illumos-gate/usr/src/uts/common/inet/
H A Dnd.h46 typedef int (*ndgetf_t)(queue_t *, MBLKP, caddr_t, cred_t *);
47 typedef int (*ndsetf_t)(queue_t *, MBLKP, char *, caddr_t, cred_t *);
54 caddr_t nde_data;
73 extern boolean_t nd_load(caddr_t *, char *, ndgetf_t, ndsetf_t, caddr_t);
74 extern void nd_unload(caddr_t *, char *);
75 extern void nd_free(caddr_t *);
76 extern int nd_getset(queue_t *, caddr_t, MBLKP);
81 extern int nd_get_default(queue_t *, MBLKP, caddr_t, cred_t *);
82 extern int nd_get_long(queue_t *, MBLKP, caddr_t, cred_t *);
83 extern int nd_get_names(queue_t *, MBLKP, caddr_t, cred_t *);
[all …]
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_alloc.c48 caddr_t
52 caddr_t virt = virthint; in prom_alloc()
64 if (virt == (caddr_t)-1) in prom_alloc()
65 return ((caddr_t)0); in prom_alloc()
68 return ((caddr_t)0); in prom_alloc()
82 return ((caddr_t)0); in prom_alloc()
99 return ((caddr_t)0); in prom_alloc()
108 caddr_t
109 prom_malloc(caddr_t virt, size_t size, u_int align) in prom_malloc()
127 return ((caddr_t)-1); in prom_malloc()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dvmsystm.h130 extern int valid_va_range(caddr_t *basep, size_t *lenp, size_t minlen,
132 extern int valid_va_range_aligned(caddr_t *basep, size_t *lenp,
135 extern int valid_usr_range(caddr_t, size_t, uint_t, struct as *, caddr_t);
137 extern size_t map_pgsz(int maptype, struct proc *p, caddr_t addr, size_t len,
143 extern void map_addr(caddr_t *addrp, size_t len, offset_t off, int vacalign,
145 extern int map_addr_vacalign_check(caddr_t, u_offset_t);
146 extern void map_addr_proc(caddr_t *addrp, size_t len, offset_t off,
147 int vacalign, caddr_t userlimit, struct proc *p, uint_t flags);
149 extern int cow_mapin(struct as *, caddr_t, caddr_t, struct page **,
152 extern caddr_t ppmapin(struct page *, uint_t, caddr_t);
[all …]
H A Davintr.h45 typedef uint_t (*avfunc)(caddr_t, caddr_t);
55 caddr_t av_intarg1;
56 caddr_t av_intarg2;
94 int vect, caddr_t arg1, caddr_t arg2, uint64_t *, dev_info_t *);
95 extern int add_nmintr(int lvl, avfunc nmintr, char *name, caddr_t arg);
97 char *name, caddr_t arg1, caddr_t arg2);
100 extern void update_avsoftintr_args(void *intr_id, int lvl, caddr_t arg2);
103 extern uint_t softlevel1(caddr_t, caddr_t);
/illumos-gate/usr/src/uts/intel/sys/
H A Dpromif.h54 extern caddr_t prom_map(caddr_t virthint, uint_t space,
61 extern caddr_t prom_alloc(caddr_t virthint, uint_t size, int align);
62 extern void prom_free(caddr_t virt, uint_t size);
73 extern int prom_getproplen(pnode_t nodeid, caddr_t name);
74 extern int prom_getprop(pnode_t nodeid, caddr_t name,
75 caddr_t value);
76 extern caddr_t prom_nextprop(pnode_t nodeid, caddr_t previous,
77 caddr_t next);
88 caddr_t name, caddr_t buffer, int buflen);
168 extern int prom_read(int fd, caddr_t buf, uint_t len,
[all …]
/illumos-gate/usr/src/uts/sparc/os/
H A Dbootops.c199 static caddr_t bighand = (caddr_t)BOOTTMPBASE;
200 static caddr_t littlehand = (caddr_t)BOOTTMPBASE;
204 static caddr_t temp_base[NTMPALLOC];
209 void cobp_free_mem(caddr_t, size_t);
217 caddr_t
220 caddr_t ret; in bop_temp_alloc()
279 caddr_t
295 caddr_t
298 caddr_t ret; in bop_alloc_chunk()
336 caddr_t res; in bop_alloc_chunk()
[all …]
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dio.c105 ucmd.uscsi_cdb = (caddr_t)&cdb; in g_scsi_persistent_reserve_in_cmd()
139 ucmd.uscsi_cdb = (caddr_t)cdb; in g_scsi_send_diag_cmd()
179 ucmd.uscsi_cdb = (caddr_t)cdb; in rec_diag_cmd()
246 ucmd.uscsi_cdb = (caddr_t)&cdb; in g_scsi_writebuffer_cmd()
280 ucmd.uscsi_cdb = (caddr_t)&cdb; in g_scsi_readbuffer_cmd()
306 ucmd.uscsi_cdb = (caddr_t)&cdb; in g_scsi_inquiry_cmd()
351 ucmd.uscsi_cdb = (caddr_t)&cdb; in g_scsi_log_sense_cmd()
386 ucmd.uscsi_cdb = (caddr_t)&cdb; in g_scsi_mode_select_cmd()
433 ucmd.uscsi_cdb = (caddr_t)&cdb; in g_scsi_mode_sense_cmd()
470 ucmd.uscsi_cdb = (caddr_t)&cdb; in g_scsi_read_capacity_cmd()
[all …]
/illumos-gate/usr/src/uts/common/tnf/
H A Dtnf.c104 int, char *, caddr_t, int *);
120 static int tnf_getstate(caddr_t, int);
129 static int tnf_getblock(caddr_t, int);
364 register caddr_t addr; in tnf_mmap()
365 register caddr_t pg_offset; in tnf_mmap()
560 tnf_getstate(caddr_t arg, int mode) in tnf_getstate()
756 if (ddi_copyout((caddr_t)&result, (caddr_t)arg, in tnf_getpidstate()
874 tnf_getheader(caddr_t arg, int mode) in tnf_getheader()
884 tnf_getblock(caddr_t arg, int mode) in tnf_getblock()
888 caddr_t area; in tnf_getblock()
[all …]
/illumos-gate/usr/src/uts/sun4u/lw8/io/
H A Dsgfru.c378 caddr_t datap; in sgfru_getchildlist()
507 caddr_t datap; in sgfru_getnodeinfo()
557 caddr_t datap; in sgfru_getsections()
621 caddr_t datap; in sgfru_getsegments()
681 caddr_t datap; in sgfru_addsegment()
852 caddr_t datap; in sgfru_getpackets()
921 caddr_t addr; in sgfru_appendpacket()
1098 caddr_t datap; in sgfru_getnum()
1691 static caddr_t
1830 static caddr_t
[all …]
/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_err_impl.h97 (dev_info_t *rpdip, caddr_t csr_base, ddi_fm_error_t *derr, \
105 (dev_info_t *rpdip, caddr_t csr_base, uint64_t ss_reg, \
119 int px_err_hw_reset_handle(dev_info_t *rpdip, caddr_t csr_base,
122 int px_err_panic_handle(dev_info_t *rpdip, caddr_t csr_base,
125 int px_err_protected_handle(dev_info_t *rpdip, caddr_t csr_base,
128 int px_err_no_panic_handle(dev_info_t *rpdip, caddr_t csr_base,
131 int px_err_no_error_handle(dev_info_t *rpdip, caddr_t csr_base,
195 int px_err_mmu_tfa_handle(dev_info_t *rpdip, caddr_t csr_base,
216 int px_err_wuc_ruc_handle(dev_info_t *rpdip, caddr_t csr_base,
219 int px_err_tlu_lup_handle(dev_info_t *rpdip, caddr_t csr_base,
[all …]
/illumos-gate/usr/src/boot/sys/sys/
H A Dlinker.h49 typedef caddr_t linker_sym_t; /* opaque symbol */
58 caddr_t value;
67 caddr_t address;
80 caddr_t address; /* load address */
82 caddr_t ctors_addr; /* address of .ctors */
240 extern caddr_t preload_metadata;
242 extern void * preload_fetch_addr(caddr_t _mod);
246 extern caddr_t preload_search_next_name(caddr_t _base);
247 extern caddr_t preload_search_info(caddr_t _mod, int _inf);
307 caddr_t address; /* load address */
[all …]
/illumos-gate/usr/src/uts/sparc/v9/vm/
H A Dseg_nf.c65 static int segnf_setprot(struct seg *seg, caddr_t addr,
71 static int segnf_getprot(struct seg *seg, caddr_t addr,
83 caddr_t addr);
93 (faultcode_t (*)(struct seg *, caddr_t))
101 (size_t (*)(struct seg *, caddr_t, size_t, char *))
109 (int (*)(struct seg *, caddr_t, size_t, uint_t))
182 caddr_t vaddr = NULL; in segnf_create()
344 caddr_t nbase = addr + len; in segnf_unmap()
434 segnf_getoffset(struct seg *seg, caddr_t addr) in segnf_getoffset()
443 segnf_gettype(struct seg *seg, caddr_t addr) in segnf_gettype()
[all …]

12345678910>>...74