Home
last modified time | relevance | path

Searched defs:seg (Results 1 – 25 of 163) sorted by relevance

1234567

/titanic_44/usr/src/uts/common/vm/
H A Dseg_umap.c102 segumap_create(struct seg *seg, void *argsp) in segumap_create()
137 struct seg *seg; in segumap_verify_safe() local
159 segumap_dup(struct seg *seg, struct seg *newseg) in segumap_dup()
177 segumap_unmap(struct seg *seg, caddr_t addr, size_t len) in segumap_unmap()
201 segumap_free(struct seg *seg) in segumap_free()
215 segumap_fault(struct hat *hat, struct seg *seg, caddr_t addr, size_t len, in segumap_fault()
275 segumap_faulta(struct seg *seg, caddr_t addr) in segumap_faulta()
283 segumap_setprot(struct seg *seg, caddr_t addr, size_t len, uint_t prot) in segumap_setprot()
295 segumap_checkprot(struct seg *seg, caddr_t addr, size_t len, uint_t prot) in segumap_checkprot()
312 segumap_sync(struct seg *seg, caddr_t addr, size_t len, int attr, uint_t flags) in segumap_sync()
[all …]
H A Dseg_kp.c192 segkp_create(struct seg *seg) in segkp_create()
238 segkp_cache_init(struct seg *seg, int maxsize, size_t len, uint_t flags) in segkp_cache_init()
268 struct seg *seg; in segkp_cache_free() local
302 segkp_get(struct seg *seg, size_t len, uint_t flags) in segkp_get()
322 struct seg *seg; in segkp_cache_get() local
353 struct seg *seg, in segkp_get_withanonmap()
384 struct seg *seg, in segkp_get_internal()
604 segkp_release(struct seg *seg, caddr_t vaddr) in segkp_release()
638 segkp_release_internal(struct seg *seg, struct segkp_data *kpd, size_t len) in segkp_release_internal()
931 struct seg *seg, in segkp_fault()
[all …]
H A Dseg_spt.c241 segspt_free(struct seg *seg) in segspt_free()
264 segspt_shmsync(struct seg *seg, caddr_t addr, size_t len, int attr, in segspt_shmsync()
274 segspt_shmincore(struct seg *seg, caddr_t addr, size_t len, char *vec) in segspt_shmincore()
342 segspt_unmap(struct seg *seg, caddr_t raddr, size_t ssize) in segspt_unmap()
370 segspt_create(struct seg *seg, caddr_t argsp) in segspt_create()
615 segspt_free_pages(struct seg *seg, caddr_t addr, size_t len) in segspt_free_pages()
779 segspt_getpolicy(struct seg *seg, caddr_t addr) in segspt_getpolicy()
824 segspt_dismpagelock(struct seg *seg, caddr_t addr, size_t len, in segspt_dismpagelock()
1180 segspt_shmpagelock(struct seg *seg, caddr_t addr, size_t len, in segspt_shmpagelock()
1429 segspt_purge(struct seg *seg) in segspt_purge()
[all …]
H A Dseg_map.c175 #define MAP_PAGES(seg) ((seg)->s_size >> MAXBSHIFT) argument
180 #define MAP_PAGE(seg, addr) (((addr) - (seg)->s_base) >> MAXBSHIFT) argument
185 #define GET_SMAP(seg, addr) \ argument
300 segmap_create(struct seg *seg, void *argsp) in segmap_create()
480 segmap_free(seg) in segmap_free() argument
493 struct seg *seg, in segmap_unlock()
584 struct seg *seg, in segmap_fault()
775 segmap_faulta(struct seg *seg, caddr_t addr) in segmap_faulta()
837 segmap_checkprot(struct seg *seg, caddr_t addr, size_t len, uint_t prot) in segmap_checkprot()
851 segmap_getprot(struct seg *seg, caddr_t addr, size_t len, uint_t *protv) in segmap_getprot()
[all …]
H A Dseg_kpm.c153 segkpm_create(struct seg *seg, void *argsp) in segkpm_create()
210 segkpm_fault(struct hat *hat, struct seg *seg, caddr_t addr, size_t len, in segkpm_fault()
298 int segkpm_create(struct seg *seg, void *argsp) { return (0); } in segkpm_create()
302 segkpm_fault(struct hat *hat, struct seg *seg, caddr_t addr, size_t len, in segkpm_fault()
330 segkpm_dump(struct seg *seg) in segkpm_dump()
338 segkpm_capable(struct seg *seg, segcapability_t capability) in segkpm_capable()
H A Dvm_as.c360 struct seg *seg = as->a_seglast; in as_findseg() local
387 struct seg *seg, *seglast, *p, *n; in as_verify() local
420 struct seg *seg; in as_addseg() local
503 as_removeseg(struct as *as, struct seg *seg) in as_removeseg()
545 struct seg *seg = as->a_seglast; in as_segat() local
689 struct seg *seg, *next; in as_free() local
785 struct seg *seg, *newseg; in as_dup() local
874 struct seg *seg; in as_fault() local
1092 struct seg *seg; in as_faulta() local
1161 struct seg *seg; in as_setprot() local
[all …]
H A Dseg.h102 typedef struct seg { struct
106 uint_t s_flags; /* flags for segment, see below */ argument
108 avl_node_t s_tree; /* AVL tree links to segs in this as */ argument
109 struct seg_ops *s_ops; /* ops vector: see below */ argument
111 kmutex_t s_pmtx; /* protects seg's pcache list */ argument
112 pcache_link_t s_phead; /* head of seg's pcache list */ argument
243 #define seg_page(seg, addr) \ argument
246 #define seg_pages(seg) \ argument
H A Dseg_dev.c360 segdev_create(struct seg *seg, void *argsp) in segdev_create()
459 segdev_dup(struct seg *seg, struct seg *newseg) in segdev_dup()
620 segdev_unmap(struct seg *seg, caddr_t addr, size_t len) in segdev_unmap()
1082 register struct seg *seg = dhp->dh_seg; in devmap_handle_unmap_tail() local
1124 segdev_free(struct seg *seg) in segdev_free()
1323 struct seg *seg, /* seg_dev of interest */ in segdev_softunlock()
1409 struct seg *seg, /* seg_dev of interest */ in segdev_faultpage()
1597 struct seg *seg, /* the seg_dev of interest */ in segdev_fault()
1902 struct seg *seg, /* the seg_dev of interest */ in segdev_faultpages()
2056 segdev_faulta(struct seg *seg, caddr_t addr) in segdev_faulta()
[all …]
H A Dseg_vn.c249 #define CALC_LPG_REGION(pgsz, seg, addr, len, lpgaddr, lpgeaddr) { \ argument
541 segvn_create(struct seg *seg, void *argsp) in segvn_create()
1499 segvn_dup_pages(struct seg *seg, struct seg *newseg) in segvn_dup_pages()
1569 segvn_dup(struct seg *seg, struct seg *newseg) in segvn_dup()
1815 struct seg *seg = cb->hcb_data; in segvn_hat_unload_callback() local
1835 segvn_count_swap_by_vpages(struct seg *seg) in segvn_count_swap_by_vpages()
1855 segvn_unmap(struct seg *seg, caddr_t addr, size_t len) in segvn_unmap()
2414 segvn_free(struct seg *seg) in segvn_free()
2564 segvn_softunlock(struct seg *seg, caddr_t addr, size_t len, enum seg_rw rw) in segvn_softunlock()
2702 struct seg *seg, /* seg_vn of interest */ in segvn_faultpage()
[all …]
H A Dseg_kmem.c442 segkmem_fault(struct hat *hat, struct seg *seg, caddr_t addr, size_t size, in segkmem_fault()
510 segkmem_setprot(struct seg *seg, caddr_t addr, size_t size, uint_t prot) in segkmem_setprot()
538 segkmem_checkprot(struct seg *seg, caddr_t addr, size_t size, uint_t prot) in segkmem_checkprot()
562 segkmem_kluster(struct seg *seg, caddr_t addr, ssize_t delta) in segkmem_kluster()
618 segkmem_dump(struct seg *seg) in segkmem_dump()
679 segkmem_pagelock(struct seg *seg, caddr_t addr, size_t len, in segkmem_pagelock()
743 segkmem_getmemid(struct seg *seg, caddr_t addr, memid_t *memidp) in segkmem_getmemid()
763 segkmem_getpolicy(struct seg *seg, caddr_t addr) in segkmem_getpolicy()
770 segkmem_capable(struct seg *seg, segcapability_t capability) in segkmem_capable()
805 segkmem_zio_create(struct seg *seg) in segkmem_zio_create()
[all …]
H A Dvm_seg.c221 #define P_HASHBP(seg, htag0, addr, flags) \ argument
463 seg_plookup(struct seg *seg, struct anon_map *amp, caddr_t addr, size_t len, in seg_plookup()
524 seg_pinactive(struct seg *seg, struct anon_map *amp, caddr_t addr, in seg_pinactive()
739 seg_pinsert_check(struct seg *seg, struct anon_map *amp, caddr_t addr, in seg_pinsert_check()
800 seg_pinsert(struct seg *seg, struct anon_map *amp, caddr_t addr, size_t len, in seg_pinsert()
1269 seg_ppurge(struct seg *seg, struct anon_map *amp, uint_t flags) in seg_ppurge()
1622 seg_attach(struct as *as, caddr_t base, size_t size, struct seg *seg) in seg_attach()
1646 seg_unmap(struct seg *seg) in seg_unmap()
1676 seg_free(struct seg *seg) in seg_free()
1822 seg_can_change_zones(struct seg *seg) in seg_can_change_zones()
[all …]
/titanic_44/usr/src/uts/sparc/v9/vm/
H A Dseg_nf.c177 segnf_create(struct seg *seg, void *argsp) in segnf_create()
295 segnf_dup(struct seg *seg, struct seg *newseg) in segnf_dup()
305 segnf_unmap(struct seg *seg, caddr_t addr, size_t len) in segnf_unmap()
374 segnf_free(struct seg *seg) in segnf_free()
390 segnf_setprot(struct seg *seg, caddr_t addr, size_t len, uint_t prot) in segnf_setprot()
398 segnf_checkprot(struct seg *seg, caddr_t addr, size_t len, uint_t prot) in segnf_checkprot()
421 segnf_getprot(struct seg *seg, caddr_t addr, size_t len, uint_t *protv) in segnf_getprot()
434 segnf_getoffset(struct seg *seg, caddr_t addr) in segnf_getoffset()
443 segnf_gettype(struct seg *seg, caddr_t addr) in segnf_gettype()
452 segnf_getvp(struct seg *seg, caddr_t addr, struct vnode **vpp) in segnf_getvp()
[all …]
/titanic_44/usr/src/uts/i86xpv/vm/
H A Dseg_mf.c107 segmf_data_zalloc(struct seg *seg) in segmf_data_zalloc()
118 segmf_create(struct seg *seg, void *args) in segmf_create()
151 segmf_dup(struct seg *seg, struct seg *newseg) in segmf_dup()
180 segmf_unmap(struct seg *seg, caddr_t addr, size_t len) in segmf_unmap()
207 segmf_free(struct seg *seg) in segmf_free()
221 segmf_faultpage(struct hat *hat, struct seg *seg, caddr_t addr, in segmf_faultpage()
300 segmf_softunlock(struct hat *hat, struct seg *seg, caddr_t addr, size_t len) in segmf_softunlock()
326 segmf_fault_range(struct hat *hat, struct seg *seg, caddr_t addr, size_t len, in segmf_fault_range()
362 segmf_fault(struct hat *hat, struct seg *seg, caddr_t addr, size_t len, in segmf_fault()
370 segmf_faulta(struct seg *seg, caddr_t addr) in segmf_faulta()
[all …]
/titanic_44/usr/src/uts/common/io/
H A Dvuid_store.c64 register Vuid_seg *seg; local
143 register Vuid_seg *seg; local
165 register Vuid_seg *seg; local
175 vuid_destroy_seg(seg) in vuid_destroy_seg() argument
193 register Vuid_seg *seg; local
213 vuid_copy_seg(seg) in vuid_copy_seg() argument
249 register Vuid_seg *seg; local
259 vuid_find_value(seg, offset) in vuid_find_value() argument
273 vuid_add_value(seg, offset) in vuid_add_value() argument
/titanic_44/usr/src/uts/common/sys/
H A Dvuid_store.h95 #define vuid_set_boolean_bit(seg, offset) \ argument
98 #define vuid_clear_boolean_bit(seg, offset) \ argument
101 #define vuid_get_boolean_bit(seg, offset) \ argument
105 #define vuid_set_int_bit(seg, offset) \ argument
108 #define vuid_clear_int_bit(seg, offset) \ argument
111 #define vuid_get_int_bit(seg, offset) \ argument
/titanic_44/usr/src/lib/librsm/common/
H A Drsmlib.c905 rsmseg_handle_t *seg; in rsm_memseg_export_destroy() local
945 rsmseg_handle_t *seg = (rsmseg_handle_t *)memseg; in rsm_memseg_export_rebind() local
995 rsmseg_handle_t *seg = (rsmseg_handle_t *)memseg; in rsm_memseg_export_publish() local
1068 rsmseg_handle_t *seg = (rsmseg_handle_t *)memseg; in rsm_memseg_export_unpublish() local
1112 rsmseg_handle_t *seg = (rsmseg_handle_t *)memseg; in rsm_memseg_export_republish() local
1301 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in rsm_memseg_import_disconnect() local
1356 __rsm_import_verify_access(rsmseg_handle_t *seg, in __rsm_import_verify_access()
1448 __rsm_import_implicit_map(rsmseg_handle_t *seg, int iotype) in __rsm_import_implicit_map()
1506 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in rsm_memseg_import_get8() local
1547 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in rsm_memseg_import_get16() local
[all …]
H A Drsmgen.c109 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in __rsm_get8x8() local
152 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in __rsm_get16x16() local
196 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in __rsm_get32x32() local
240 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in __rsm_get64x64() local
299 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in __rsm_put8x8() local
342 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in __rsm_put16x16() local
386 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in __rsm_put32x32() local
430 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in __rsm_put64x64() local
472 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in __rsm_get() local
622 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in __rsm_put() local
[all …]
H A Drsmloopback.c66 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in loopback_get8() local
109 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in loopback_get16() local
153 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in loopback_get32() local
197 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in loopback_get64() local
241 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in loopback_put8() local
284 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in loopback_put16() local
328 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in loopback_put32() local
372 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in loopback_put64() local
414 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in loopback_get() local
479 rsmseg_handle_t *seg = (rsmseg_handle_t *)im_memseg; in loopback_put() local
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_mem.c45 MEMSEG *seg; in emlxs_mem_alloc_buffer() local
374 emlxs_mem_pool_alloc(emlxs_hba_t *hba, MEMSEG *seg, uint32_t count) in emlxs_mem_pool_alloc()
540 emlxs_mem_pool_free(emlxs_hba_t *hba, MEMSEG *seg, uint32_t count) in emlxs_mem_pool_free()
671 emlxs_mem_pool_create(emlxs_hba_t *hba, MEMSEG *seg) in emlxs_mem_pool_create()
724 emlxs_mem_pool_destroy(emlxs_hba_t *hba, MEMSEG *seg) in emlxs_mem_pool_destroy()
766 emlxs_mem_pool_clean(emlxs_hba_t *hba, MEMSEG *seg) in emlxs_mem_pool_clean()
856 emlxs_mem_pool_get(emlxs_hba_t *hba, MEMSEG *seg) in emlxs_mem_pool_get()
943 emlxs_mem_pool_put(emlxs_hba_t *hba, MEMSEG *seg, void *bp) in emlxs_mem_pool_put()
1113 MEMSEG *seg; in emlxs_mem_get() local
1159 MEMSEG *seg; in emlxs_mem_put() local
/titanic_44/usr/src/lib/libast/common/vmalloc/
H A Dvmlast.c44 reg Seg_t *seg, *last; local
113 reg Seg_t* seg; local
172 reg Seg_t *seg; local
354 reg Seg_t *seg, *next; local
401 reg Seg_t* seg; local
H A Dvmpool.c52 reg Seg_t* seg; local
136 reg Seg_t* seg; local
299 reg Seg_t *seg, *next; local
H A Dvmbest.c184 reg Seg_t *seg; local
268 { reg Seg_t* seg; local
381 reg Seg_t *seg; local
563 reg Seg_t *seg, *next; local
788 reg Seg_t* seg; local
1000 { reg Seg_t* seg; local
1067 reg Seg_t* seg; local
1121 reg Seg_t* seg; local
H A Dvmopen.c41 Seg_t seg; /* space for segment */ member
60 reg Seg_t* seg; local
H A Dvmprivate.c48 reg Seg_t* seg; local
211 static ssize_t vmtruncate(Vmalloc_t* vm, Seg_t* seg, size_t size, int exact) in vmtruncate()
/titanic_44/usr/src/uts/common/io/rsm/
H A Drsm.c1742 rsmsharecv_signal(rsmseg_t *seg, int oldstate, int newstate) in rsmsharecv_signal()
1831 rsmseg_free(rsmseg_t *seg) in rsmseg_free()
1997 rsmseg_close(rsmseg_t *seg, int force_flag) in rsmseg_close()
2286 rsm_unbind_pages(rsmseg_t *seg) in rsm_unbind_pages()
2308 rsm_bind(rsmseg_t *seg, rsm_ioctlmsg_t *msg, intptr_t dataptr, int mode) in rsm_bind()
2439 rsmseg_t *seg = (rsmseg_t *)p; in rsm_remap_local_importers() local
2462 rsm_rebind(rsmseg_t *seg, rsm_ioctlmsg_t *msg) in rsm_rebind()
2586 rsm_unbind(rsmseg_t *seg) in rsm_unbind()
2769 rsmseg_t *seg; in rsmsegacl_validate() local
2849 rsm_publish(rsmseg_t *seg, rsm_ioctlmsg_t *msg, intptr_t dataptr, int mode) in rsm_publish()
[all …]

1234567