Searched defs:seg (Results 1 - 25 of 158) sorted by relevance

1234567

/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmwalk.c44 reg Seg_t* seg; local
53 for(seg = vm->data->seg; seg; seg = seg->next)
54 { rv = (*segf)(vm, seg->addr, seg->extent, vm->disc, handle);
66 for(seg = vm->data->seg; se
[all...]
H A Dvmsegment.c43 reg Seg_t* seg; local
56 for(seg = vd->seg; seg; seg = seg->next)
57 if((Vmuchar_t*)addr >= (Vmuchar_t*)seg->addr &&
58 (Vmuchar_t*)addr < (Vmuchar_t*)seg->baddr )
63 return seg ? (Void_t*)seg
[all...]
H A Dvmclear.c41 reg Seg_t* seg; local
68 for(seg = vd->seg; seg; seg = next)
69 { next = seg->next;
71 tp = SEGBLOCK(seg);
72 size = seg->baddr - ((Vmuchar_t*)tp) - 2*sizeof(Head_t);
74 SEG(tp) = seg;
77 seg
[all...]
H A Dvmclose.c41 Seg_t *seg, *vmseg, *next; local
73 for(seg = vd->seg; seg; seg = next)
74 { next = seg->next;
75 if(seg->extent == seg->size)
76 vmseg = seg;
77 else (*vm->disc->memoryf)(vm,seg
[all...]
H A Dvmstat.c43 reg Seg_t* seg; local
75 for(seg = vd->seg; seg; seg = seg->next)
77 st->extent += seg->extent;
79 b = SEGBLOCK(seg);
80 endb = BLOCK(seg->baddr);
106 { if((s = seg
[all...]
H A Dvmopen.c41 Seg_t seg; /* space for segment */ member in struct:_vminit_
60 reg Seg_t* seg; local
138 vd->seg = (Seg_t*)(addr + ROUND(incr,ALIGN));
139 /**/ ASSERT(VLONG(vd->seg)%ALIGN == 0);
141 seg = vd->seg;
142 seg->next = NIL(Seg_t*);
143 seg->vmdt = vd;
144 seg->addr = (Void_t*)(addr - (a ? ALIGN-a : 0));
145 seg
[all...]
H A Dvmlast.c44 reg Seg_t *seg, *last; local
63 { for(last = NIL(Seg_t*), seg = vd->seg; seg; last = seg, seg = seg->next)
64 { if(!(tp = seg->free) || (SIZE(tp)+sizeof(Head_t)) < size)
67 { last->next = seg->next;
68 seg
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
[all...]
H A Dvmprivate.c48 reg Seg_t* seg; local
77 if(!(seg = vd->seg) )
80 { if(!vd->wild || SEG(vd->wild) != seg)
87 addr = (Vmuchar_t*)(*memoryf)(vm,seg->addr,seg->extent,
88 seg->extent+size-s,vm->disc);
90 seg = NIL(Seg_t*);
92 { /**/ASSERT(addr == (Vmuchar_t*)seg->addr);
93 addr += seg
211 vmtruncate(Vmalloc_t* vm, Seg_t* seg, size_t size, int exact) argument
[all...]
H A Dvmpool.c52 reg Seg_t* seg; local
81 for(tp = NIL(Block_t*), seg = vd->seg; seg; seg = seg->next)
82 { if((tp = seg->free) &&
90 seg = SEG(tp);
98 has_blk: /* if get here, (tp, s, seg) must be well-defined */
107 seg
136 reg Seg_t* seg; local
299 reg Seg_t *seg, *next; local
[all...]
/illumos-gate/usr/src/cmd/fm/schemes/mem/
H A Dmem_read.c86 seeprom_seg_t *segp, seg; local
89 if (strlen(segname) != sizeof (seg.sees_name))
108 bcopy(segp, &seg, sizeof (seeprom_seg_t));
109 seg.sees_segoff = ntohs(seg.sees_segoff);
110 seg.sees_seglen = ntohs(seg.sees_seglen);
112 if (bufsz < seg.sees_segoff + seg.sees_seglen)
115 if (strncmp(segname, seg
[all...]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dblkif_impl.h42 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST]; member in struct:blkif_x86_32_request
66 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST]; member in struct:blkif_x86_64_request
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmemseg.c80 struct seg kseg;
221 memseg_remap_meta(struct memseg *seg) argument
231 metapgs = btopr(MSEG_NPAGES(seg) * sizeof (page_t));
233 pp = seg->pages;
234 seg->pages_end = seg->pages_base;
236 epp = seg->epages;
250 * sizeof (page_t) and therefore 'seg->pages'
277 * sizeof (page_t) and therefore 'seg->epages'
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_open.c102 enum uio_seg seg,
149 vn_create(pnamep, seg, &vattr, excl, mode, &vp, crwhy,
273 enum uio_seg seg,
100 vn_open( char *pnamep, enum uio_seg seg, int filemode, int createmode, struct vnode **vpp, enum create crwhy, mode_t umask) argument
271 vn_create( char *pnamep, enum uio_seg seg, struct vattr *vap, enum vcexcl excl, int mode, struct vnode **vpp, enum create why, int flag, mode_t umask) argument
/illumos-gate/usr/src/test/os-tests/tests/i386/
H A Dbadseg_exec.c25 * Load a bunch of bad selectors into the seg regs: this will typically cause
59 resetseg(uint_t seg) argument
72 ucp.uc_mcontext.gregs[seg] = selector;
/illumos-gate/usr/src/uts/intel/os/
H A Dddi_arch.c273 struct hat *hat, struct seg *seg, caddr_t addr,
285 rdip, hat, seg, addr, dp, pfn, prot, lock));
272 i_ddi_map_fault(dev_info_t *dip, dev_info_t *rdip, struct hat *hat, struct seg *seg, caddr_t addr, struct devpage *dp, pfn_t pfn, uint_t prot, uint_t lock) argument
/illumos-gate/usr/src/uts/sparc/os/
H A Dddi_arch.c146 struct hat *hat, struct seg *seg, caddr_t addr,
158 rdip, hat, seg, addr, dp, pfn, prot, lock));
145 i_ddi_map_fault(dev_info_t *dip, dev_info_t *rdip, struct hat *hat, struct seg *seg, caddr_t addr, struct devpage *dp, pfn_t pfn, uint_t prot, uint_t lock) argument
/illumos-gate/usr/src/uts/common/xen/public/io/
H A Dblkif.h107 struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST]; member in struct:blkif_request
/illumos-gate/usr/src/uts/common/io/
H A Dvuid_store.c64 register Vuid_seg *seg; local
71 /* Get (search for) seg from state assoicated with event */
72 if ((seg = vuid_find_seg(state, vuid_id_addr(event->id))) ==
74 /* Allocate and initialize new seg for event */
75 seg = (Vuid_seg *) vuid_alloc(sizeof (*seg));
76 bzero((caddr_t)seg, sizeof (*seg));
77 seg->addr = vuid_id_addr(event->id);
78 /* Add the seg t
143 register Vuid_seg *seg; local
165 register Vuid_seg *seg; local
193 register Vuid_seg *seg; local
249 register Vuid_seg *seg; local
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dopen.c70 uio_seg_t seg = UIO_USERSPACE; local
119 if (error = lookupnameat(fname, seg, FOLLOW,
193 seg = UIO_SYSSPACE;
216 error = vn_openat(open_filename, seg, filemode,
H A Drlimit.c117 struct seg *seg; local
118 struct seg *nextseg;
143 for (seg = as_findseg(as, brkend, 0); seg != NULL;
144 seg = AS_SEGNEXT(as, seg)) {
145 if (seg->s_base >= brkend) {
146 nextseg = seg;
/illumos-gate/usr/src/test/zfs-tests/cmd/getholes/
H A Dgetholes.c74 seg_t *seg; local
82 while ((seg = list_remove_head(seg_list)) != NULL) {
85 seg->seg_type == SEEK_HOLE ? 'h' : 'd',
86 seg->seg_offset, seg->seg_len);
88 if (seg->seg_type == SEEK_HOLE) {
89 hole_blks_seen += seg->seg_len / bs;
91 data_blks_seen += seg->seg_len / bs;
93 umem_free(seg, sizeof (seg_t));
123 seg_t *seg local
[all...]
/illumos-gate/usr/src/test/zfs-tests/cmd/mkholes/
H A Dmkholes.c89 seg_t *seg; local
104 seg = umem_alloc(sizeof (seg_t), UMEM_NOFAIL);
105 seg->seg_type = seg_type;
106 seg->seg_offset = off;
107 seg->seg_len = len;
109 list_insert_tail(seg_list, seg);
118 seg_t *seg; local
146 while ((seg = list_remove_head(&seg_list)) != NULL) {
148 off_t off = seg->seg_offset;
149 off_t len = seg
[all...]
/illumos-gate/usr/src/uts/common/fs/
H A Dpathname.c104 pn_get_buf(char *str, enum uio_seg seg, struct pathname *pnp, argument
111 if (seg == UIO_USERSPACE)
125 pn_get(char *str, enum uio_seg seg, struct pathname *pnp) argument
131 if ((error = pn_get_buf(str, seg, pnp, buf, MAXPATHLEN)) != 0)
/illumos-gate/usr/src/uts/common/os/
H A Durw.c51 #include <vm/seg.h>
61 page_valid(struct seg *seg, caddr_t addr) argument
72 if (seg->s_ops == &segvn_ops &&
73 SEGOP_GETVP(seg, addr, &vp) == 0 &&
77 u_offset_t offset = SEGOP_GETOFFSET(seg, addr);
87 if (seg->s_ops == &segspt_shmops &&
88 addr >= seg->s_base + spt_realsize(seg))
96 if (seg
186 struct seg *seg; local
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_kpm.c67 #include <vm/seg.h>
101 * Private seg op routines.
103 faultcode_t segkpm_fault(struct hat *hat, struct seg *seg, caddr_t addr,
105 static void segkpm_dump(struct seg *);
108 static int segkpm_capable(struct seg *, segcapability_t);
153 segkpm_create(struct seg *seg, void *argsp) argument
160 ASSERT(seg->s_as && RW_WRITE_HELD(&seg
210 segkpm_fault(struct hat *hat, struct seg *seg, caddr_t addr, size_t len, enum fault_type type, enum seg_rw rw) argument
298 segkpm_create(struct seg *seg, void *argsp) argument
302 segkpm_fault(struct hat *hat, struct seg *seg, caddr_t addr, size_t len, enum fault_type type, enum seg_rw rw) argument
330 segkpm_dump(struct seg *seg) argument
338 segkpm_capable(struct seg *seg, segcapability_t capability) argument
[all...]

Completed in 197 milliseconds

1234567