Home
last modified time | relevance | path

Searched refs:s_ops (Results 1 – 25 of 42) sorted by relevance

12

/illumos-gate/usr/src/uts/common/vm/
H A Dseg.h109 struct seg_ops *s_ops; /* ops vector: see below */ member
214 #define SEGOP_DUP(s, n) (*(s)->s_ops->dup)((s), (n))
215 #define SEGOP_UNMAP(s, a, l) (*(s)->s_ops->unmap)((s), (a), (l))
216 #define SEGOP_FREE(s) (*(s)->s_ops->free)((s))
218 (*(s)->s_ops->fault)((h), (s), (a), (l), (t), (rw))
219 #define SEGOP_FAULTA(s, a) (*(s)->s_ops->faulta)((s), (a))
220 #define SEGOP_SETPROT(s, a, l, p) (*(s)->s_ops->setprot)((s), (a), (l), (p))
221 #define SEGOP_CHECKPROT(s, a, l, p) (*(s)->s_ops->checkprot)((s), (a), (l), (p))
222 #define SEGOP_KLUSTER(s, a, d) (*(s)->s_ops->kluster)((s), (a), (d))
223 #define SEGOP_SWAPOUT(s) (*(s)->s_ops->swapout)((s))
[all …]
H A Dseg_hole.c94 seg->s_ops = &seghole_ops; in seghole_create()
112 newseg->s_ops = seg->s_ops; in seghole_dup()
H A Dseg_umap.c130 seg->s_ops = &segumap_ops; in segumap_create()
153 VERIFY(seg->s_ops == &segkmem_ops); in segumap_verify_safe()
172 newseg->s_ops = seg->s_ops; in segumap_dup()
H A Dseg_dev.h121 ((seg)->s_ops == &segdev_ops && \
H A Dseg_kpm.c168 seg->s_ops = &segkpm_ops; in segkpm_create()
H A Dseg_vn.h187 ((seg)->s_ops == &segvn_ops && SEGVN_DATA(seg) != NULL && \
H A Dvm_as.c2058 if (seg->s_ops == &segvn_ops) { in as_memory()
2067 if (seg->s_ops == &segspt_shmops) { in as_memory()
2130 struct seg_ops *ov = seg->s_ops; in as_swapout()
2495 if (seg->s_ops->inherit == NULL) { in as_ctl()
2610 if (seg->s_ops == &segvn_ops) { in as_pagelock_segs()
2618 } else if (seg->s_ops != &segspt_shmops) { in as_pagelock_segs()
3291 if (seg->s_ops == &segvn_ops) { in as_set_default_lpsize()
3309 if (seg->s_ops == &segvn_ops) { in as_set_default_lpsize()
3627 if (seg->s_ops->getmemid == NULL) { in as_getmemid()
H A Dvm_seg.c1602 new->s_ops = NULL; in seg_alloc()
1826 if (seg->s_ops == &segspt_shmops) in seg_can_change_zones()
1829 if (seg->s_ops == &segvn_ops) { in seg_can_change_zones()
1848 if (seg->s_ops == &segvn_ops) { in seg_swresv()
H A Dseg_vn.c720 pseg->s_ops == &segvn_ops) { in segvn_create()
754 nseg->s_ops == &segvn_ops && in segvn_create()
777 nseg->s_ops == &segvn_ops) { in segvn_create()
823 seg->s_ops = &segvn_ops; in segvn_create()
1037 ASSERT(seg1->s_ops == seg2->s_ops); in segvn_concat()
1605 newseg->s_ops = &segvn_ops; in segvn_dup()
2250 nseg->s_ops = seg->s_ops; in segvn_unmap()
6251 if (nseg->s_ops != &segvn_ops) { in segvn_setpagesize()
6607 nseg->s_ops = seg->s_ops; in segvn_split_seg()
8294 if (next && next->s_ops == &segvn_ops && in segvn_advise()
[all …]
/illumos-gate/usr/src/cmd/sort/
H A Dtypes.h184 #define SOP_IS_CLOSABLE(s) ((s)->s_ops.sop_is_closable)(s)
185 #define SOP_CLOSE(s) ((s)->s_ops.sop_close)(s)
186 #define SOP_EOS(s) ((s)->s_ops.sop_eos)(s)
187 #define SOP_FETCH(s) ((s)->s_ops.sop_fetch)(s)
188 #define SOP_FLUSH(s) ((s)->s_ops.sop_flush)(s)
189 #define SOP_FREE(s) ((s)->s_ops.sop_free)(s)
190 #define SOP_OPEN_FOR_WRITE(s) ((s)->s_ops.sop_open_for_write)(s)
191 #define SOP_PRIME(s) ((s)->s_ops.sop_prime)(s)
192 #define SOP_PUT_LINE(s, l) ((s)->s_ops.sop_put_line)(s, l)
193 #define SOP_RELEASE_LINE(s) ((s)->s_ops.sop_release_line)(s)
[all …]
H A Dstreams.c67 str->s_ops = invalid_ops; in stream_set()
73 str->s_ops = stream_array_ops; in stream_set()
77 str->s_ops = stream_mmap_ops; in stream_set()
81 str->s_ops = stream_stdio_ops; in stream_set()
85 str->s_ops = stream_wide_ops; in stream_set()
97 str->s_ops.sop_put_line = in stream_set()
101 str->s_ops.sop_put_line = in stream_set()
111 str->s_ops.sop_fetch = in stream_set()
115 str->s_ops.sop_fetch = in stream_set()
443 if (streamp->s_ops.sop_unlink) in stream_unlink_temporary()
/illumos-gate/usr/src/uts/common/os/
H A Durw.c72 if (seg->s_ops == &segvn_ops && in page_valid()
87 if (seg->s_ops == &segspt_shmops && in page_valid()
96 if (seg->s_ops == &segdev_ops && in page_valid()
106 if (seg->s_ops == &segvn_ops && in page_valid()
239 else if (seg->s_ops == &segvn_ops) in urw()
268 if (seg->s_ops == &segdev_ops) { in urw()
H A Dvm_subr.c366 if (seg->s_ops != &segvn_ops) { in cow_mapin()
H A Dlgrp.c3522 if (seg->s_ops != &segvn_ops && seg->s_ops != &segspt_ops && in lgrp_mem_policy_get()
3523 seg->s_ops != &segspt_shmops) in lgrp_mem_policy_get()
3527 if (seg->s_ops->getpolicy != NULL) in lgrp_mem_policy_get()
/illumos-gate/usr/src/uts/sparc/v9/vm/
H A Dseg_nf.c222 seg->s_ops = &segnf_ops; in segnf_create()
242 s1->s_ops == &segnf_ops && in segnf_create()
251 s2->s_ops == &segnf_ops && in segnf_create()
271 if (s1->s_ops == &segnf_ops) in segnf_create()
278 if (s1->s_ops == &segnf_ops) in segnf_create()
359 nseg->s_ops = seg->s_ops; in segnf_unmap()
/illumos-gate/usr/src/uts/common/sys/sdcard/
H A Dsda_impl.h102 sda_ops_t s_ops; member
180 #define sda_setprop(s, p, v) s->s_ops.so_setprop(s->s_prv, p, v)
181 #define sda_getprop(s, p, v) s->s_ops.so_getprop(s->s_prv, p, v)
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dseg_vmm.c161 seg->s_ops = &segvmm_ops; in segvmm_create()
174 seg->s_ops = NULL; in segvmm_create()
196 newseg->s_ops = seg->s_ops; in segvmm_dup()
214 newseg->s_ops = NULL; in segvmm_dup()
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprsubr.c1701 if (seg != NULL && seg->s_ops == &segvn_ops && in break_seg()
1895 if (seg->s_ops == &segspt_shmops || in prgetmap()
1896 (seg->s_ops == &segvn_ops && in prgetmap()
1914 if (seg->s_ops == &segspt_shmops) in prgetmap()
1922 if (seg->s_ops == &segvn_ops && in prgetmap()
2010 if (seg->s_ops == &segspt_shmops || in prgetmap32()
2011 (seg->s_ops == &segvn_ops && in prgetmap32()
2030 if (seg->s_ops == &segspt_shmops) in prgetmap32()
2038 if (seg->s_ops == &segvn_ops && in prgetmap32()
2242 if (seg->s_ops == &segspt_shmops || in prpdread()
[all …]
/illumos-gate/usr/src/uts/common/io/sdcard/impl/
H A Dsda_slot.c151 slot->s_ops.so_halt(slot->s_prv); in sda_slot_halt()
161 if (slot->s_ops.so_reset(slot->s_prv) != 0) { in sda_slot_reset()
564 if (slot->s_ops.so_reset(slot->s_prv) != 0) { in sda_slot_attach()
823 rv = slot->s_ops.so_cmd(slot->s_prv, cmdp); in sda_slot_thread()
H A Dsda_host.c75 slot->s_ops = *ops; in sda_host_alloc()
/illumos-gate/usr/src/uts/i86xpv/vm/
H A Dseg_mf.c113 seg->s_ops = &segmf_ops; in segmf_data_zalloc()
535 if (seg->s_ops != &segmf_ops) in segmf_add_mfns()
592 if (seg->s_ops != &segmf_ops) in segmf_add_grefs()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dmemory.c973 addr, s.s_base, s.s_size, s.s_data, s.s_ops); in seg()
998 const uintptr_t ops = (uintptr_t)seg->s_ops; in pmap_walk_seg()
1041 mdb_printf(" %8s [ &%a ]", "?", seg->s_ops); in pmap_walk_seg()
1052 const uintptr_t ops = (uintptr_t)seg->s_ops; in pmap_walk_seg_quick()
1068 mdb_printf(" [ &%a ]", seg->s_ops); in pmap_walk_seg_quick()
H A Dgcore.c546 if (seg->s_ops == gcore_segvn_ops) { in gcore_pr_getsegsize()
692 if (seg->s_ops == gcore_segvn_ops) { in gcore_seg_create()
695 mdb_warn("Unhandled segment type, ops: %p\n", seg->s_ops); in gcore_seg_create()
780 if (seg->s_ops == gcore_segvn_ops) { in read_maps_cb()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gcore.h99 uintptr_t s_ops; member
/illumos-gate/usr/src/uts/sun4/io/
H A Drootnex.c727 seg->s_ops == &segdev_ops ? "segdev" : in rootnex_map_fault()
737 if (seg->s_ops == &segdev_ops) { in rootnex_map_fault()

12