Home
last modified time | relevance | path

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

12345678910>>...94

/illumos-gate/usr/src/uts/common/vm/
H A Dhat.h75 caddr_t hcb_start_addr;
76 caddr_t hcb_end_addr;
135 int hat_dup(struct hat *, struct hat *, caddr_t, size_t, uint_t);
204 void hat_memload(struct hat *, caddr_t, struct page *, uint_t, uint_t);
205 void hat_memload_array(struct hat *, caddr_t, size_t, struct page **,
207 void hat_memload_region(struct hat *, caddr_t, struct page *, uint_t,
209 void hat_memload_array_region(struct hat *, caddr_t, size_t, struct page **,
212 void hat_devload(struct hat *, caddr_t, size_t, pfn_t, uint_t, int);
214 void hat_unlock(struct hat *, caddr_t, size_t);
215 void hat_unlock_region(struct hat *, caddr_t, size_t, hat_region_cookie_t);
[all …]
H A Dseg_hole.c32 static int seghole_unmap(struct seg *, caddr_t, size_t);
34 static faultcode_t seghole_fault(struct hat *, 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);
38 static int seghole_checkprot(struct seg *, caddr_t, size_t, uint_t);
39 static int seghole_sync(struct seg *, caddr_t, size_t, int, uint_t);
40 static size_t seghole_incore(struct seg *, caddr_t, size_t, char *);
41 static int seghole_lockop(struct seg *, caddr_t, size_t, int, int, ulong_t *,
43 static int seghole_getprot(struct seg *, caddr_t, size_t, uint_t *);
44 static u_offset_t seghole_getoffset(struct seg *, caddr_t);
[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);
49 static faultcode_t segumap_fault(struct hat *, struct seg *, caddr_t, size_t,
51 static faultcode_t segumap_faulta(struct seg *, caddr_t);
52 static int segumap_setprot(struct seg *, caddr_t, size_t, uint_t);
53 static int segumap_checkprot(struct seg *, caddr_t, size_t, uint_t);
54 static int segumap_sync(struct seg *, caddr_t, size_t, int, uint_t);
55 static size_t segumap_incore(struct seg *, caddr_t, size_t, char *);
56 static int segumap_lockop(struct seg *, caddr_t, size_t, int, int, ulong_t *,
58 static int segumap_getprot(struct seg *, caddr_t, size_t, uint_t *);
[all …]
H A Dseg.h103 caddr_t s_base; /* base virtual address */
120 int (*unmap)(struct seg *, caddr_t, size_t);
122 faultcode_t (*fault)(struct hat *, struct seg *, caddr_t, size_t,
124 faultcode_t (*faulta)(struct seg *, caddr_t);
125 int (*setprot)(struct seg *, caddr_t, size_t, uint_t);
126 int (*checkprot)(struct seg *, caddr_t, size_t, uint_t);
127 int (*kluster)(struct seg *, caddr_t, ssize_t);
129 int (*sync)(struct seg *, caddr_t, size_t, int, uint_t);
130 size_t (*incore)(struct seg *, caddr_t, size_t, char *);
131 int (*lockop)(struct seg *, caddr_t, size_t, int, int, ulong_t *,
[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);
269 struct seg *as_findseg(struct as *as, caddr_t addr, int tail);
272 faultcode_t as_fault(struct hat *hat, struct as *as, caddr_t addr, size_t size,
274 faultcode_t as_faulta(struct as *as, caddr_t addr, size_t size);
275 int as_setprot(struct as *as, caddr_t addr, size_t size, uint_t prot);
276 int as_checkprot(struct as *as, caddr_t addr, size_t size, uint_t prot);
277 int as_unmap(struct as *as, caddr_t addr, size_t size);
[all …]
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dsun4x_standalloc.c44 extern void alloc_segment(caddr_t);
46 extern caddr_t memlistpage;
47 caddr_t le_page;
48 caddr_t ie_page;
49 caddr_t scratchmemp;
54 static caddr_t free_addr[N_FREELIST];
98 #define MAPPEDMEM_MINTOP (caddr_t)(6*1024*1024)
99 #define MAPPEDMEM_FULLTOP (caddr_t)(10*1024*1024)
101 static caddr_t top_bootmem = MAPPEDMEM_MINTOP;
102 static caddr_t top_resvmem, scratchresvp;
[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);
137 extern caddr_t prom_allocate_virt(uint_t align, size_t size);
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);
148 extern int prom_map_phys(int mode, size_t size, caddr_t virt,
150 extern void prom_unmap_phys(size_t size, caddr_t virt);
151 extern void prom_unmap_virt(size_t size, caddr_t virt);
157 extern int prom_phys_installed(caddr_t);
158 extern int prom_phys_avail(caddr_t);
[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()
47 (xdrproc_t) xdr_generic_ret, (caddr_t) &clnt_res, in create_principal_2()
64 (xdrproc_t) xdr_cprinc3_arg, (caddr_t) argp, in create_principal3_2()
65 (xdrproc_t) xdr_generic_ret, (caddr_t) &clnt_res, in create_principal3_2()
82 (xdrproc_t) xdr_dprinc_arg, (caddr_t) argp, in delete_principal_2()
83 (xdrproc_t) xdr_generic_ret, (caddr_t) &clnt_res, in delete_principal_2()
100 (xdrproc_t) xdr_mprinc_arg, (caddr_t) argp, in modify_principal_2()
101 (xdrproc_t) xdr_generic_ret, (caddr_t) &clnt_res, in modify_principal_2()
118 (xdrproc_t) xdr_rprinc_arg, (caddr_t) argp, in rename_principal_2()
119 (xdrproc_t) xdr_generic_ret, (caddr_t) &clnt_res, in rename_principal_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);
134 extern caddr_t prom_allocate_virt(uint_t align, size_t size);
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);
145 extern int prom_map_phys(int mode, 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);
[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);
138 extern caddr_t prom_allocate_virt(uint_t align, size_t size);
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);
149 extern int prom_map_phys(int mode, size_t size, caddr_t virt,
151 extern void prom_unmap_phys(size_t size, caddr_t virt);
152 extern void prom_unmap_virt(size_t size, caddr_t virt);
158 extern int prom_phys_installed(caddr_t);
159 extern int prom_phys_avail(caddr_t);
[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()
103 bcopy((caddr_t)mac_state.mac_addr_buf, in ether_comarp()
104 (caddr_t)&out->arp_eh.ether_shost, sizeof (ether_addr_t)); in ether_comarp()
110 bcopy(mac_state.mac_addr_buf, (caddr_t)&out->arp_ea.arp_sha, in ether_comarp()
114 bcopy((caddr_t)&tmp_ia, (caddr_t)out->arp_ea.arp_spa, in ether_comarp()
122 bcopy((caddr_t)out->arp_ea.arp_tpa, in ether_comarp()
123 (caddr_t)&tmp_ia, sizeof (struct in_addr)); in ether_comarp()
133 (void) prom_write(mac_state.mac_dev, (caddr_t)out, in ether_comarp()
153 if (bcmp((caddr_t)in->arp_ea.arp_spa, in ether_comarp()
154 (caddr_t)out->arp_ea.arp_tpa, in ether_comarp()
[all …]
H A Dibd.c141 bcopy((caddr_t)&ibdbroadcastaddr, (caddr_t)&out->arp_eh.ipoib_dest, in ibd_comarp()
148 bcopy(mac_state.mac_addr_buf, (caddr_t)&out->arp_ea.arp_sha, in ibd_comarp()
152 bcopy((caddr_t)&tmp_ia, (caddr_t)out->arp_ea.arp_spa, in ibd_comarp()
163 bcopy((caddr_t)out->arp_ea.arp_tpa, in ibd_comarp()
164 (caddr_t)&tmp_ia, sizeof (struct in_addr)); in ibd_comarp()
169 (void) prom_write(mac_state.mac_dev, (caddr_t)out, in ibd_comarp()
192 if (bcmp((caddr_t)in->arp_ea.arp_spa, in ibd_comarp()
193 (caddr_t)out->arp_ea.arp_tpa, in ibd_comarp()
197 bcopy((caddr_t)in->arp_ea.arp_spa, in ibd_comarp()
198 (caddr_t)&tmp_ia, in ibd_comarp()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dfsck.h209 caddr_t id_name; /* for DATA nodes, name to find or enter */
306 extern caddr_t lfname;
519 void blkerror(fsck_ino_t, caddr_t, daddr32_t, daddr32_t);
522 void bwrite(int, caddr_t, diskaddr_t, int64_t);
527 caddr_t cg_sanity(struct cg *, int);
530 int changeino(fsck_ino_t, caddr_t, fsck_ino_t);
531 int check_mnttab(caddr_t, caddr_t, size_t);
532 int check_vfstab(caddr_t, caddr_t, size_t);
539 void clri(struct inodesc *, caddr_t, int, int);
541 void direrror(fsck_ino_t, caddr_t, ...);
[all …]
/illumos-gate/usr/src/uts/common/inet/
H A Dnd.h44 typedef int (*ndgetf_t)(queue_t *, MBLKP, caddr_t, cred_t *);
45 typedef int (*ndsetf_t)(queue_t *, MBLKP, char *, caddr_t, cred_t *);
52 caddr_t nde_data;
71 extern boolean_t nd_load(caddr_t *, char *, ndgetf_t, ndsetf_t, caddr_t);
72 extern void nd_unload(caddr_t *, char *);
73 extern void nd_free(caddr_t *);
74 extern int nd_getset(queue_t *, caddr_t, MBLKP);
79 extern int nd_get_default(queue_t *, MBLKP, caddr_t, cred_t *);
80 extern int nd_get_long(queue_t *, MBLKP, caddr_t, cred_t *);
81 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
49 prom_alloc(caddr_t virthint, size_t size, u_int align) in prom_alloc()
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()
67 if (prom_claim_virt(size, virthint) == (caddr_t)-1) 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
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dvmsystm.h132 extern int valid_va_range(caddr_t *basep, size_t *lenp, size_t minlen,
134 extern int valid_va_range_aligned(caddr_t *basep, size_t *lenp,
137 extern int valid_usr_range(caddr_t, size_t, uint_t, struct as *, caddr_t);
139 extern size_t map_pgsz(int maptype, struct proc *p, caddr_t addr, size_t len,
141 extern uint_t map_pgszcvec(caddr_t addr, size_t size, uintptr_t off, int flags,
143 extern int choose_addr(struct as *as, caddr_t *addrp, size_t len, offset_t off,
145 extern void map_addr(caddr_t *addrp, size_t len, offset_t off, int vacalign,
147 extern int map_addr_vacalign_check(caddr_t, u_offset_t);
148 extern void map_addr_proc(caddr_t *addrp, size_t len, offset_t off,
149 int vacalign, caddr_t userlimit, struct proc *p, uint_t flags);
[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/sparc/os/
H A Dbootops.c163 bop_read(int fd, caddr_t buf, size_t size) in bop_read()
199 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
280 bop_alloc(caddr_t virthint, size_t size, int align) in bop_alloc()
295 caddr_t
[all …]
/illumos-gate/usr/src/uts/intel/sys/
H A Dpromif.h52 extern caddr_t prom_map(caddr_t virthint, uint_t space,
59 extern caddr_t prom_alloc(caddr_t virthint, uint_t size, int align);
60 extern void prom_free(caddr_t virt, uint_t size);
71 extern int prom_getproplen(pnode_t nodeid, caddr_t name);
72 extern int prom_getprop(pnode_t nodeid, caddr_t name,
73 caddr_t value);
74 extern caddr_t prom_nextprop(pnode_t nodeid, caddr_t previous,
75 caddr_t next);
86 caddr_t name, caddr_t buffer, int buflen);
166 extern int prom_read(int fd, caddr_t buf, uint_t len,
[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()
107 ucmd.uscsi_bufaddr = (caddr_t)buf_ptr; in g_scsi_persistent_reserve_in_cmd()
109 ucmd.uscsi_rqbuf = (caddr_t)&sense; in g_scsi_persistent_reserve_in_cmd()
139 ucmd.uscsi_cdb = (caddr_t)cdb; in g_scsi_send_diag_cmd()
141 ucmd.uscsi_bufaddr = (caddr_t)buf_ptr; in g_scsi_send_diag_cmd()
143 ucmd.uscsi_rqbuf = (caddr_t)&sense; in g_scsi_send_diag_cmd()
179 ucmd.uscsi_cdb = (caddr_t)cdb; in rec_diag_cmd()
181 ucmd.uscsi_bufaddr = (caddr_t)buf_ptr; in rec_diag_cmd()
183 ucmd.uscsi_rqbuf = (caddr_t)&sense; in rec_diag_cmd()
246 ucmd.uscsi_cdb = (caddr_t)&cdb; in g_scsi_writebuffer_cmd()
[all …]
/illumos-gate/usr/src/uts/sun4u/lw8/io/
H A Dsgfru.c378 caddr_t datap; in sgfru_getchildlist()
449 caddr_t datap, tdatap; in sgfru_getchildhandles()
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()
739 caddr_t datap, tdatap; in sgfru_readsegment()
796 caddr_t datap, tdatap; in sgfru_writesegment()
852 caddr_t datap; in sgfru_getpackets()
916 caddr_t datap, tdatap; in sgfru_appendpacket()
[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 */
145 caddr_t linker_file_lookup_symbol(linker_file_t _file, const char* _name,
174 int linker_ddb_search_symbol(caddr_t _value, c_linker_sym_t *_sym,
177 int linker_ddb_search_symbol_name(caddr_t value, char *buf, u_int buflen,
183 int linker_search_symbol_name(caddr_t value, char *buf, u_int buflen,
240 extern caddr_t preload_metadata;
[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,
156 int px_err_jbc_merge_handle(dev_info_t *rpdip, caddr_t csr_base,
159 int px_err_jbc_jbusint_in_handle(dev_info_t *rpdip, caddr_t csr_base,
162 int px_err_jbc_dmcint_odcd_handle(dev_info_t *rpdip, caddr_t csr_base,
[all …]
/illumos-gate/usr/src/uts/sparc/v9/vm/
H A Dseg_nf.c62 static int segnf_unmap(struct seg *seg, caddr_t addr, size_t len);
65 static int segnf_setprot(struct seg *seg, caddr_t addr,
67 static int segnf_checkprot(struct seg *seg, caddr_t addr,
71 static int segnf_getprot(struct seg *seg, caddr_t addr,
73 static u_offset_t segnf_getoffset(struct seg *seg, caddr_t addr);
74 static int segnf_gettype(struct seg *seg, caddr_t addr);
75 static int segnf_getvp(struct seg *seg, caddr_t addr, struct vnode **vpp);
77 static int segnf_pagelock(struct seg *seg, caddr_t addr, size_t len,
79 static int segnf_setpagesize(struct seg *seg, caddr_t addr, size_t len,
81 static int segnf_getmemid(struct seg *seg, caddr_t addr, memid_t *memidp);
[all …]
/illumos-gate/usr/src/uts/sun/sys/
H A Dpromif.h82 extern caddr_t prom_alloc(caddr_t virthint, size_t size, uint_t align);
83 extern void prom_free(caddr_t virt, size_t size);
97 extern int prom_asr_list_keys(caddr_t value);
99 extern int prom_asr_export(caddr_t value);
104 extern int prom_getproplen(pnode_t nodeid, caddr_t name);
105 extern int prom_getprop(pnode_t nodeid, caddr_t name,
106 caddr_t value);
107 extern caddr_t prom_nextprop(pnode_t nodeid, caddr_t previous,
108 caddr_t next);
109 extern int prom_setprop(pnode_t nodeid, caddr_t name,
[all …]

12345678910>>...94