Home
last modified time | relevance | path

Searched refs:page (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_page.c43 fmd_buf_write(hdl, NULL, page->page_bufname, page, in page_write()
82 for (page = gmem_list_next(&gmem.gm_pages); page != NULL; in page_lookup_by_physaddr()
83 page = gmem_list_next(page)) { in page_lookup_by_physaddr()
110 gmem_bufname(page->page_bufname, sizeof (page->page_bufname), in gmem_page_create()
144 return (page); in gmem_page_create()
168 return (page); in page_wrapv0()
176 for (page = gmem_list_next(&gmem.gm_pages); page != NULL; in gmem_page_restore()
177 page = gmem_list_next(page)) { in gmem_page_restore()
218 page = page_wrapv0(hdl, (gmem_page_pers_t *)page, in gmem_page_restore()
243 return (page); in gmem_page_restore()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_page.c47 fmd_buf_write(hdl, NULL, page->page_bufname, page, in page_write()
85 for (page = cmd_list_next(&cmd.cmd_pages); page != NULL; in page_lookup_by_physaddr()
86 page = cmd_list_next(page)) { in page_lookup_by_physaddr()
111 cmd_bufname(page->page_bufname, sizeof (page->page_bufname), in cmd_page_create()
128 return (page); in cmd_page_create()
171 return (page); in page_wrapv1()
179 for (page = cmd_list_next(&cmd.cmd_pages); page != NULL; in cmd_page_restore()
180 page = cmd_list_next(page)) { in cmd_page_restore()
223 page = page_wrapv1(hdl, (cmd_page_pers_t *)page, in cmd_page_restore()
233 page = page_v0tov1(hdl, (cmd_page_0_t *)page, pagesz); in cmd_page_restore()
[all …]
H A Dcmd_pageerr.c47 cmd_page_t *page = NULL; in cmd_page_fault() local
54 page = cmd_page_lookup(afar); in cmd_page_fault()
55 if (page != NULL) { in cmd_page_fault()
62 if (page->page_flags & CMD_MEM_F_FAULTING || in cmd_page_fault()
65 page->page_flags |= CMD_MEM_F_FAULTING; in cmd_page_fault()
69 page = cmd_page_create(hdl, modasru, afar); in cmd_page_fault()
72 page->page_flags |= CMD_MEM_F_FAULTING; in cmd_page_fault()
73 if (page->page_case.cc_cp == NULL) in cmd_page_fault()
80 page->page_asru_nvl, nvlfru, NULL); in cmd_page_fault()
85 page->page_asru_nvl, modfru, NULL); in cmd_page_fault()
[all …]
/illumos-gate/usr/src/lib/libmapmalloc/common/
H A Dtextmem.c64 struct page *page; /* Backwards reference to page */ member
70 struct page { struct
110 struct page *page; in malloc_unlocked() local
120 for (page = memstart; page; page = page->next) { in malloc_unlocked()
131 if (!page) { in malloc_unlocked()
135 if ((page = (struct page *)mmap(0, totpage, in malloc_unlocked()
147 block->page = page; in malloc_unlocked()
233 newblock->page = block->page; in split()
243 defrag(struct page *page) in defrag() argument
262 if (page->block->size == page->size - HDR_PAGE) { in defrag()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma_page.c64 nvlist_free(page->pg_asru); in cma_page_free()
65 nvlist_free(page->pg_rsrc); in cma_page_free()
89 cma_page_t *page; in cma_page_retire() local
182 page->pg_addr = pageaddr; in cma_page_retire()
185 page->pg_asru = asrucp; in cma_page_retire()
190 cma.cma_pages = page; in cma_page_retire()
225 page->pg_addr, page->pg_nretries); in page_retry()
235 page->pg_addr); in page_retry()
265 *pagep = page->pg_next; in cma_page_retry()
272 page->pg_nretries++; in cma_page_retry()
[all …]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dmalloc.c53 struct page *page; /* Backwards reference to page */ member
59 struct page { struct
105 struct page *page; in defrag() local
145 newblock->page = block->page; in split()
162 struct page *page; in malloc() local
169 for (page = memstart; page; page = page->next) { in malloc()
179 if (!page) { in malloc()
195 block->page = page; in malloc()
320 struct page *page; in addfree() local
324 page = ptr; in addfree()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_dp_page.c105 dpage->dp_defer_page = page; in dp_page_defer_create()
139 if (page == NULL) { in cmd_dp_page_defer()
142 page->page_case.cc_cp = cmd_case_create(hdl, &page->page_header, in cmd_dp_page_defer()
179 cmd_page_t *page; in cmd_dp_page_replay() local
188 page = dpage->dp_defer_page; in cmd_dp_page_replay()
197 cmd_page_destroy(hdl, page); in cmd_dp_page_replay()
201 nvl = page->page_asru_nvl; in cmd_dp_page_replay()
215 page->page_case.cc_cp = NULL; in cmd_dp_page_replay()
233 dpage->dp_defer_page = page; in cmd_dp_page_restore()
244 cmd_page_t *page; in cmd_dp_page_validate() local
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Ddba.c85 struct dba_array *page; in dba_free() local
108 dba_array_free(page); in dba_free()
165 dba_array_add(page, entry); in dba_page_new()
167 dba_array_add(page, entry); in dba_page_new()
173 dba_array_add(page, entry); in dba_page_new()
177 dba_array_add(page, entry); in dba_page_new()
178 dba_array_add(pages, page); in dba_page_new()
179 return page; in dba_page_new()
308 dba_array_writepos(page); in dba_pages_write()
387 struct dba_array *page) in dba_macro_add() argument
[all …]
H A Dmansearch.c92 struct dbm_page *page; in mansearch() local
170 page = dbm_page_get(rp->page); in mansearch()
293 if (res.page == -1) in manmerge_term()
296 (char *)&res, sizeof(res.page), res.page); in manmerge_term()
352 res->page), res); in manmerge_and()
374 (char *)res, sizeof(res->page), res->page); in manmerge_and()
435 sz = lstlen(page->name, 2) + 1 + lstlen(page->sect, 2) + in buildnames()
436 (page->arch == NULL ? 0 : 1 + lstlen(page->arch, 2)) + 2; in buildnames()
558 input = page->name; in buildoutput()
561 input = page->sect; in buildoutput()
[all …]
H A Ddba_read.c39 struct dba_array *page; in dba_read() local
51 page = dba_page_new(dba->pages, pdata->arch, in dba_read()
54 dba_page_add(page, DBP_NAME, cp); in dba_read()
56 dba_page_add(page, DBP_SECT, cp); in dba_read()
59 dba_page_add(page, DBP_ARCH, cp); in dba_read()
62 dba_page_add(page, DBP_FILE, cp); in dba_read()
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Dps_include.c120 page.start = page.end = 0; in ps_include()
129 page.start = ftell(fin); in ps_include()
133 else if (foundpage && page.end <= page.start) in ps_include()
134 page.end = ftell(fin); in ps_include()
139 page.end = ftell(fin); in ps_include()
142 page.start = ftell(fin); in ps_include()
152 if (page.end <= page.start) { in ps_include()
160 if (page.end <= page.start) in ps_include()
168 if (page.end <= page.start) in ps_include()
169 page.end = trailer.start; in ps_include()
[all …]
/illumos-gate/usr/src/uts/common/vm/
H A Dpvn.h59 struct page *pvn_read_kluster(struct vnode *vp, u_offset_t off,
63 struct page *pvn_write_kluster(struct vnode *vp, struct page *pp,
66 void pvn_read_done(struct page *plist, int flags);
67 void pvn_write_done(struct page *plist, int flags);
68 void pvn_io_done(struct page *plist);
70 int (*putapage)(vnode_t *, struct page *, u_offset_t *,
74 int pvn_getdirty(struct page *pp, int flags);
78 struct page *[], size_t, struct seg *,
81 uint_t *protp, struct page **pl, size_t plsz,
84 void pvn_plist_init(struct page *pp, struct page **pl, size_t plsz,
H A Dhat.h244 caddr_t hat_kpm_page2va(struct page *, int);
245 struct page *hat_kpm_vaddr2page(caddr_t);
290 void hat_page_setattr(struct page *, uint_t);
291 void hat_page_clrattr(struct page *, uint_t);
292 uint_t hat_page_getattr(struct page *, uint_t);
293 int hat_pageunload(struct page *, uint_t);
294 uint_t hat_pagesync(struct page *, uint_t);
295 ulong_t hat_page_getshare(struct page *);
296 int hat_page_checkshare(struct page *, ulong_t);
298 struct page **, uint_t);
[all …]
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dform.c121 for (page = 0; page < f->maxpage; ++page) { /* for each page */ in sort_form()
124 pmin = Pmin(f, page); in sort_form()
125 pmax = Pmax(f, page); in sort_form()
129 field[i]->page = page; in sort_form()
175 _PAGE * page; in connect_fields() local
201 page = f->page; in connect_fields()
205 page->pmin = i; in connect_fields()
209 ++page; in connect_fields()
210 page->pmin = i; in connect_fields()
214 page->pmax = nf - 1; in connect_fields()
[all …]
H A Dpost.c114 P(f) = c->page; in set_current_field()
126 if (c -> page != P(f)) { /* page change */ in set_current_field()
128 v = _set_form_page(f, c->page, c); in set_current_field()
158 set_form_page(FORM *f, int page) in set_form_page() argument
160 if (!f || !ValidPage(f, page)) in set_form_page()
164 P(f) = page; in set_form_page()
171 if (page != P(f)) { in set_form_page()
177 v = _set_form_page(f, page, (FIELD *) 0); in set_form_page()
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_cursor.c51 (cp)->page = NULL; \
104 cp->page = NULL;
394 cp->page = NULL;
411 0, &cp->page);
556 h = cp->page;
846 cp->page = NULL;
875 cp->page = cp->csp->page;
1140 GET_BINTERNAL(cp->page, NUM_ENT(cp->page) - O_INDX)->pgno;
1145 cp->indx = NUM_ENT(cp->page) == 0 ? 0 : NUM_ENT(cp->page) - P_INDX;
1545 cp->page = cp->csp->page;
[all …]
H A Dbt_split.c199 cp->page->level, TYPE(cp->page));
202 cp->page->level, TYPE(cp->page));
213 __a.data = cp->page;
273 ISINTERNAL(cp->page) ? PGNO_INVALID : cp->page->pgno,
274 ISINTERNAL(cp->page) ? PGNO_INVALID : cp->page->next_pgno,
275 cp->page->level, TYPE(cp->page));
281 ISINTERNAL(cp->page) ? PGNO_INVALID : cp->page->prev_pgno,
283 cp->page->level, TYPE(cp->page));
334 &cp->page->lsn, 0, dbp->log_fileid, PGNO(cp->page),
357 __bam_ca_split(dbp, cp->page->pgno, cp->page->pgno, rp->pgno, split, 0);
[all …]
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_element_ctl.c47 page, 0, np, B_FALSE)) == NULL) in elem_setprop_device()
88 page, 0, np, B_FALSE)) == NULL) in elem_setprop_psu()
116 page, 0, np, B_FALSE)) == NULL) in elem_setprop_cooling()
150 page, 0, np, B_FALSE)) == NULL) in elem_setprop_temp()
175 page, 0, np, B_FALSE)) == NULL) in elem_setprop_lock()
202 page, 0, np, B_FALSE)) == NULL) in elem_setprop_alarm()
239 page, 0, np, B_FALSE)) == NULL) in elem_setprop_esc()
266 page, 0, np, B_FALSE)) == NULL) in elem_setprop_scc()
291 page, 0, np, B_FALSE)) == NULL) in elem_setprop_ups()
316 page, 0, np, B_FALSE)) == NULL) in elem_setprop_cache()
[all …]
H A Dses2_pages.c45 if (page != SES2_DIAGPAGE_ENCLOSURE_CTL_STATUS) in ses2_ctl_common_setdef()
251 ses2_ctl_len(uint_t nelem, int page, size_t datalen) in ses2_ctl_len() argument
253 ASSERT(page == SES2_DIAGPAGE_ENCLOSURE_CTL_STATUS); in ses2_ctl_len()
286 if (ses2_ctl_common_setdef(np, page, data) != 0 || in ses2_ctl_fill()
287 ses2_element_setdef(np, page, data) != 0 || in ses2_ctl_fill()
288 ses2_enclosure_setdef(np, page, data) != 0) in ses2_ctl_fill()
298 ASSERT(page == SES2_DIAGPAGE_STRING_IO); in ses2_stringout_len()
307 ASSERT(page == SES2_DIAGPAGE_THRESHOLD_IO); in ses2_threshout_len()
322 ses2_diag_page_t page = SES2_DIAGPAGE_THRESHOLD_IO; in ses2_threshout_ctl_fill() local
335 if (ses2_element_setdef(np, page, data) != 0) in ses2_threshout_ctl_fill()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dpage.c58 caddr_t page; in rdsv3_page_remainder_alloc() local
64 page = kmem_alloc(PAGE_SIZE, gfp); in rdsv3_page_remainder_alloc()
65 if (!page) { in rdsv3_page_remainder_alloc()
68 rdsv3_sg_set_page(scat, page, PAGE_SIZE, 0); in rdsv3_page_remainder_alloc()
77 page = kmem_alloc(bytes, KM_NOSLEEP); in rdsv3_page_remainder_alloc()
78 if (!page) { in rdsv3_page_remainder_alloc()
83 rdsv3_sg_set_page(scat, page, bytes, 0); in rdsv3_page_remainder_alloc()
/illumos-gate/usr/src/cmd/lp/filter/postscript/common/
H A Drequest.c66 char *page; /* and save it for this page */ in saverequest() local
83 if ( (page = strtok(NULL, ": ")) == NULL ) in saverequest()
84 request[nextreq].page = 0; in saverequest()
85 else request[nextreq].page = atoi(page); in saverequest()
98 writerequest(int page, FILE *fp_out) in writerequest() argument
113 if ( request[i].page == page ) in writerequest()
/illumos-gate/usr/src/cmd/lp/filter/postscript/postreverse/
H A Dpostreverse.c243 char *page; in ParsePageList() local
248 page = strtok(tmplist, ","); in ParsePageList()
252 char *s1 = page, *s2; in ParsePageList()
397 PAGE *page = document->page[count]; in WriteDocument() local
399 if (page && PageIsListed(page->number, pageList)) in WriteDocument()
515 PAGE **pages = NULL, *page; in DocumentPages() local
556 page->label = label; in DocumentPages()
557 page->number = number; in DocumentPages()
558 page->start = ptr1; in DocumentPages()
635 if (d->page) { in PrintDocumentInfo()
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_seq.c228 ep->page = h;
250 ep->page = h;
366 ep->page = h;
384 ep->page = h;
436 h = ep->page;
438 if (save.page->pgno != ep->page->pgno) {
481 h = ep->page;
489 ep->page = h;
766 ep->page = h;
791 ep->page = h;
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/
H A Dmpool.c148 return (bp->page);
152 mpool_delete(mp, page) in mpool_delete() argument
154 void *page;
218 return (bp->page);
249 memset(bp->page, 0, mp->pagesize);
271 return (bp->page);
279 mpool_put(mp, page, flags) in mpool_put() argument
281 void *page;
382 spage = bp->page;
384 bp->page = spage;
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Durw.c184 caddr_t page; in urw() local
200 page = (caddr_t)(uintptr_t)((uintptr_t)addr & PAGEMASK); in urw()
204 if ((seg = as_segat(as, page)) == NULL || in urw()
205 !page_valid(seg, page)) { in urw()
209 SEGOP_GETPROT(seg, page, 0, &prot); in urw()
214 err = SEGOP_SETPROT(seg, page, PAGESIZE, prot | prot_rw); in urw()
244 if (SEGOP_FAULT(as->a_hat, seg, page, PAGESIZE, F_SOFTLOCK, rw)) { in urw()
246 (void) SEGOP_SETPROT(seg, page, PAGESIZE, prot); in urw()
255 ASSERT(len <= page + PAGESIZE - addr); in urw()
303 (void) SEGOP_FAULT(as->a_hat, seg, page, PAGESIZE, F_SOFTUNLOCK, rw); in urw()
[all …]

12345678910>>...15