Home
last modified time | relevance | path

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

12345678910>>...13

/titanic_50/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_page.c41 page_write(fmd_hdl_t *hdl, gmem_page_t *page) in page_write() argument
43 fmd_buf_write(hdl, NULL, page->page_bufname, page, in page_write()
48 gmem_page_free(fmd_hdl_t *hdl, gmem_page_t *page, int destroy) in gmem_page_free() argument
50 gmem_case_t *cc = &page->page_case; in gmem_page_free()
62 fmd_buf_destroy(hdl, NULL, page->page_bufname); in gmem_page_free()
64 gmem_fmri_fini(hdl, &page->page_asru, destroy); in gmem_page_free()
66 gmem_list_delete(&gmem.gm_pages, page); in gmem_page_free()
67 fmd_hdl_free(hdl, page, sizeof (gmem_page_t)); in gmem_page_free()
71 gmem_page_destroy(fmd_hdl_t *hdl, gmem_page_t *page) in gmem_page_destroy() argument
74 gmem_page_free(hdl, page, FMD_B_TRUE); in gmem_page_destroy()
[all …]
/titanic_50/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_page.c45 page_write(fmd_hdl_t *hdl, cmd_page_t *page) in page_write() argument
47 fmd_buf_write(hdl, NULL, page->page_bufname, page, in page_write()
52 cmd_page_free(fmd_hdl_t *hdl, cmd_page_t *page, int destroy) in cmd_page_free() argument
54 cmd_case_t *cc = &page->page_case; in cmd_page_free()
66 fmd_buf_destroy(hdl, NULL, page->page_bufname); in cmd_page_free()
68 cmd_fmri_fini(hdl, &page->page_asru, destroy); in cmd_page_free()
70 cmd_list_delete(&cmd.cmd_pages, page); in cmd_page_free()
71 fmd_hdl_free(hdl, page, sizeof (cmd_page_t)); in cmd_page_free()
75 cmd_page_destroy(fmd_hdl_t *hdl, cmd_page_t *page) in cmd_page_destroy() argument
77 cmd_page_free(hdl, page, FMD_B_TRUE); in cmd_page_destroy()
[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()
63 fmd_nvl_fmri_unusable(hdl, page->page_asru_nvl)) { 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()
74 page->page_case.cc_cp = cmd_case_create(hdl, in cmd_page_fault()
[all …]
/titanic_50/usr/src/lib/libmapmalloc/common/
H A Dtextmem.c64 struct page *page; /* Backwards reference to page */ member
70 struct page { struct
72 struct page *next; argument
80 #define HDR_PAGE (sizeof (struct page) - sizeof (void *)) argument
88 struct page *memstart;
90 static void defrag(struct page *);
110 struct page *page; in malloc_unlocked() local
120 for (page = memstart; page; page = page->next) { in malloc_unlocked()
121 for (block = page->block; block; block = block->next) { in malloc_unlocked()
131 if (!page) { in malloc_unlocked()
[all …]
/titanic_50/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma_page.c62 cma_page_free(fmd_hdl_t *hdl, cma_page_t *page) in cma_page_free() argument
64 nvlist_free(page->pg_asru); in cma_page_free()
65 nvlist_free(page->pg_rsrc); in cma_page_free()
66 fmd_hdl_free(hdl, page, sizeof (cma_page_t)); in cma_page_free()
89 cma_page_t *page; in cma_page_retire() local
181 page = fmd_hdl_zalloc(hdl, sizeof (cma_page_t), FMD_SLEEP); in cma_page_retire()
182 page->pg_addr = pageaddr; in cma_page_retire()
184 (void) nvlist_dup(rsrc, &page->pg_rsrc, 0); in cma_page_retire()
185 page->pg_asru = asrucp; in cma_page_retire()
187 page->pg_uuid = fmd_hdl_strdup(hdl, uuid, FMD_SLEEP); in cma_page_retire()
[all …]
/titanic_50/usr/src/cmd/sgs/rtld/common/
H A Dmalloc.c53 struct page *page; /* Backwards reference to page */ member
59 struct page { struct
61 struct page *next; argument
69 #define HDR_PAGE (sizeof (struct page) - sizeof (void *)) argument
71 static struct page *memstart;
105 struct page *page; in defrag() local
108 for (APLIST_TRAVERSE(free_alp, idx, page)) { in defrag()
111 for (block = page->block; block; block = block->next) { in defrag()
145 newblock->page = block->page; in split()
162 struct page *page; in malloc() local
[all …]
/titanic_50/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_dp_page.c98 dp_page_defer_create(fmd_hdl_t *hdl, cmd_page_t *page, uint64_t afar) in dp_page_defer_create() argument
105 dpage->dp_defer_page = page; in dp_page_defer_create()
118 dp_page_defer_lookup(cmd_page_t *page) in dp_page_defer_lookup() argument
124 if (dpage->dp_defer_page == page) in dp_page_defer_lookup()
136 cmd_page_t *page = cmd_page_lookup(afar); in cmd_dp_page_defer() local
139 if (page == NULL) { in cmd_dp_page_defer()
140 page = cmd_page_create(hdl, modasru, afar); in cmd_dp_page_defer()
141 dpage = dp_page_defer_create(hdl, page, afar); in cmd_dp_page_defer()
142 page->page_case.cc_cp = cmd_case_create(hdl, &page->page_header, in cmd_dp_page_defer()
144 fmd_case_setprincipal(hdl, page->page_case.cc_cp, ep); in cmd_dp_page_defer()
[all …]
/titanic_50/usr/src/cmd/lp/filter/postscript/dpost/
H A Dps_include.c83 Section prolog, page, trailer; in ps_include() local
120 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()
148 prolog.end = 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()
[all …]
/titanic_50/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.h204 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 **,
240 caddr_t hat_kpm_mapin(struct page *, struct kpme *);
241 void hat_kpm_mapout(struct page *, struct kpme *, caddr_t);
244 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);
[all …]
/titanic_50/usr/src/lib/libeti/form/common/
H A Dform.c117 int i, page, pmin, pmax; in sort_form() local
121 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()
133 Smin(f, page) = p->index; /* set sorted min */ in sort_form()
134 Smax(f, page) = p->sprev->index; /* set sorted max */ in sort_form()
175 _PAGE * page; in connect_fields() local
200 if (arrayAlloc(f->page, np, _PAGE)) { in connect_fields()
201 page = f->page; 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()
/titanic_50/usr/src/cmd/sendmail/db/btree/
H A Dbt_cursor.c49 if ((cp)->page != NULL) { \
50 (void)memp_fput((dbc)->dbp->mpf, (cp)->page, 0); \
51 (cp)->page = NULL; \
63 B_DISSET(GET_BKEYDATA((cp)->page, \
66 B_DISSET(GET_BKEYDATA((cp)->page, (cp)->dindx)->type)))
72 B_DISSET(GET_BKEYDATA((cp)->page, (indx) + O_INDX)->type)) || \
74 B_DISSET(GET_BKEYDATA((cp)->page, (indx))->type)))
91 (cursor)->page->inp[(cursor)->indx] == \
92 (cursor)->page->inp[(saved_copy).indx])))
104 cp->page = NULL;
[all …]
H A Dbt_split.c134 (db_indx_t)P_FREESPACE(cp->csp[0].page)) {
138 ret = cp->csp[0].page->pgno == PGNO_ROOT ?
187 if (cp->page->level >= MAXBTREELEVEL) {
194 if ((ret = __bam_new(dbc, TYPE(cp->page), &lp)) != 0 ||
195 (ret = __bam_new(dbc, TYPE(cp->page), &rp)) != 0)
198 PGNO_INVALID, ISINTERNAL(cp->page) ? PGNO_INVALID : rp->pgno,
199 cp->page->level, TYPE(cp->page));
201 ISINTERNAL(cp->page) ? PGNO_INVALID : lp->pgno, PGNO_INVALID,
202 cp->page->level, TYPE(cp->page));
213 __a.data = cp->page;
[all …]
/titanic_50/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_element_ctl.c39 elem_setprop_device(ses_plugin_t *sp, ses_node_t *np, ses2_diag_page_t page, in elem_setprop_device() argument
47 page, 0, np, B_FALSE)) == NULL) in elem_setprop_device()
80 elem_setprop_psu(ses_plugin_t *sp, ses_node_t *np, ses2_diag_page_t page, in elem_setprop_psu() argument
88 page, 0, np, B_FALSE)) == NULL) in elem_setprop_psu()
107 elem_setprop_cooling(ses_plugin_t *sp, ses_node_t *np, ses2_diag_page_t page, in elem_setprop_cooling() argument
116 page, 0, np, B_FALSE)) == NULL) in elem_setprop_cooling()
142 elem_setprop_temp(ses_plugin_t *sp, ses_node_t *np, ses2_diag_page_t page, in elem_setprop_temp() argument
150 page, 0, np, B_FALSE)) == NULL) in elem_setprop_temp()
167 elem_setprop_lock(ses_plugin_t *sp, ses_node_t *np, ses2_diag_page_t page, in elem_setprop_lock() argument
175 page, 0, np, B_FALSE)) == NULL) in elem_setprop_lock()
[all …]
H A Dses2_pages.c40 ses2_ctl_common_setdef(ses_node_t *np, ses2_diag_page_t page, void *data) in ses2_ctl_common_setdef() argument
45 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()
269 ses2_diag_page_t page = SES2_DIAGPAGE_ENCLOSURE_CTL_STATUS; in ses2_ctl_fill() local
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()
296 ses2_stringout_len(uint_t nelem, int page, size_t datalen) in ses2_stringout_len() argument
298 ASSERT(page == SES2_DIAGPAGE_STRING_IO); in ses2_stringout_len()
[all …]
/titanic_50/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()
/titanic_50/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()
/titanic_50/usr/src/uts/sun4u/starfire/os/
H A Dstarfire.c268 page_t *page, **freelist; in plat_freelist_process() local
314 page = *freelist; in plat_freelist_process()
315 result = page_trylock(page, SE_EXCL); in plat_freelist_process()
321 page_vpsub(freelist, page); in plat_freelist_process()
323 mach_page_sub(freelist, page); in plat_freelist_process()
327 lbn = PFN_2_LBN(page->p_pagenum); in plat_freelist_process()
331 page_vpadd(&bdlist[lbn], page); in plat_freelist_process()
334 page); in plat_freelist_process()
342 page_unlock(page); in plat_freelist_process()
377 page = *sortlist[idx]; in plat_freelist_process()
[all …]
/titanic_50/usr/src/cmd/lp/filter/postscript/postreverse/
H A Dpostreverse.c245 char *page; in ParsePageList() local
250 page = strtok(tmplist, ","); in ParsePageList()
254 char *s1 = page, *s2; in ParsePageList()
256 if (s2 = strchr(page, '-')) { in ParsePageList()
278 } while (page = strtok(NULL, ",")); in ParsePageList()
293 PageIsListed(int page, int **pageList) in PageIsListed() argument
301 if (*pageList[count] == page) in PageIsListed()
385 if (document->header && document->trailer && document->page) { in WriteDocument()
399 PAGE *page = document->page[count]; in WriteDocument() local
401 if (page && PageIsListed(page->number, pageList)) in WriteDocument()
[all …]
/titanic_50/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_seq.c150 __bt_setcur(t, e.page->pgno, e.index);
160 mpool_put(t->bt_mp, e.page, 0);
162 t->bt_pinned = e.page;
228 ep->page = h;
250 ep->page = h;
325 c->pg.pgno = ep->page->pgno;
327 mpool_put(t->bt_mp, ep->page, 0);
366 ep->page = h;
384 ep->page = h;
436 h = ep->page;
[all …]
/titanic_50/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;
159 bp = (BKT *)((char *)page - sizeof(BKT));
218 return (bp->page);
239 if ((nr = read(mp->fd, bp->page, mp->pagesize)) != mp->pagesize) {
249 memset(bp->page, 0, mp->pagesize);
269 (mp->pgin)(mp->pgcookie, bp->pgno, bp->page);
271 return (bp->page);
279 mpool_put(mp, page, flags) in mpool_put() argument
[all …]
/titanic_50/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 …]
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/
H A Dkgrep.c80 uintptr_t *page = kg->kg_page; in kgrep_range_basic() local
81 uintptr_t *page_end = &page[pagesize / sizeof (uintptr_t)]; in kgrep_range_basic()
94 if (mdb_vread(page, pagesize, addr) == -1) in kgrep_range_basic()
98 for (pos = page; pos < page_end; pos++) { in kgrep_range_basic()
102 offset = (caddr_t)pos - (caddr_t)page; in kgrep_range_basic()
132 uintbits_t *page = (uintbits_t *)kg->kg_page; \
150 if (mdb_vread(page, size, addr) == -1) \
155 page_end = &page[size / sizeof (uintbits_t)]; \
156 for (pos = page; pos < page_end; pos++) { \
170 offset = (caddr_t)pos - (caddr_t)page; \
/titanic_50/usr/src/cmd/col/
H A Dcol.c53 wchar_t *page[PL]; variable
124 page[ll] = 0; in main()
291 if (page[(mustwr+i)%PL] != 0) in main()
292 emit(page[(mustwr+i) % PL], mustwr+i-PL); in main()
468 if (page[lno] != 0) in store()
469 free((char *)page[lno]); in store()
470 page[lno] = (wchar_t *)malloc((unsigned)(wcslen(lbuff) + 2) in store()
472 if (page[lno] == 0) { in store()
476 (void) wcscpy(page[lno], lbuff); in store()
490 if (page[lno]) in fetch()
[all …]

12345678910>>...13