/barrelfish-master/lib/libc/db/btree/ |
H A D | bt_overflow.c | 81 pgno_t pg; local 85 memmove(&pg, p, sizeof(pgno_t)); 90 if (pg == P_INVALID || sz == 0) 106 for (p = *buf;; p = (char *)p + nb, pg = h->nextpg) { 107 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL) 132 __ovfl_put(BTREE *t, const DBT *dbt, pgno_t *pg) argument 162 *pg = h->pgno; 186 pgno_t pg; local 190 memmove(&pg, p, sizeof(pgno_t)); 194 if (pg [all...] |
H A D | bt_delete.c | 95 if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL) 106 status = __bt_dleaf(t, NULL, h, c->pg.index); 161 if (h->pgno == c->pg.pgno) 170 while (h->pgno != c->pg.pgno) { 210 if (h->pgno == c->pg.pgno) 225 while (h->pgno != c->pg.pgno) { 268 return ((*hp = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL); 371 PAGE *pg; local 391 if ((pg = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL) 395 bi = GETBINTERNAL(pg, id 527 PAGE *pg; local 620 PAGE *pg; local [all...] |
H A D | bt_seq.c | 150 pgno_t pg; local 172 for (pg = P_ROOT;;) { 173 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL) 184 pg = GETBINTERNAL(h, 0)->pgno; 193 for (pg = P_ROOT;;) { 194 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL) 205 pg = GETBINTERNAL(h, NEXTINDEX(h) - 1)->pgno; 236 pgno_t pg; local 257 if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL) 273 idx = c->pg 334 pgno_t pg; local [all...] |
H A D | btree.h | 127 #define GETBINTERNAL(pg, indx) \ 128 ((BINTERNAL *)((char *)(pg) + (pg)->linp[indx])) 154 #define GETRINTERNAL(pg, indx) \ 155 ((RINTERNAL *)((char *)(pg) + (pg)->linp[indx])) 177 #define GETBLEAF(pg, indx) \ 178 ((BLEAF *)((char *)(pg) + (pg)->linp[indx])) 209 #define GETRLEAF(pg, ind 273 EPGNO pg; /* B: Saved tree reference. */ member in struct:_cursor [all...] |
H A D | bt_put.c | 72 pgno_t pg; local 122 storekey: if (__ovfl_put(t, key, &pg) == RET_ERROR) 126 memmove(kb, &pg, sizeof(pgno_t)); 134 if (__ovfl_put(t, data, &pg) == RET_ERROR) 138 memmove(db, &pg, sizeof(pgno_t)); 151 if ((h = mpool_get(t->bt_mp, t->bt_cursor.pg.pgno, 0)) == NULL) 153 idx = t->bt_cursor.pg.index; 220 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= idx) 221 ++t->bt_cursor.pg [all...] |
H A D | bt_conv.c | 55 * pg: page number 59 __bt_pgin(void *t, pgno_t pg, void *pp) argument 68 if (pg == P_META) { 124 __bt_pgout(void *t, pgno_t pg, void *pp) argument 133 if (pg == P_META) { 195 mswap(PAGE *pg) argument 199 p = (char *)pg;
|
H A D | bt_search.c | 68 pgno_t pg; local 72 for (pg = P_ROOT;;) { 73 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL) 127 pg = GETBINTERNAL(h, idx)->pgno;
|
H A D | bt_split.c | 690 if (F_ISSET(c, CURS_INIT) && c->pg.pgno == h->pgno) { 691 if (c->pg.index >= skip) 692 ++c->pg.index; 693 if (c->pg.index < nxt) /* Left page. */ 694 c->pg.pgno = l->pgno; 696 c->pg.pgno = r->pgno; 697 c->pg.index -= nxt; 762 * pg: page number of first page in the chain. 768 bt_preserve(BTREE *t, pgno_t pg) argument 772 if ((h = mpool_get(t->bt_mp, pg, [all...] |
/barrelfish-master/lib/libc/db/recno/ |
H A D | rec_search.c | 68 pgno_t pg; local 74 for (pg = P_ROOT, total = 0;;) { 75 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL) 89 BT_PUSH(t, pg, idx - 1); 91 pg = r->pgno;
|
H A D | rec_put.c | 194 pgno_t pg; local 206 if (__ovfl_put(t, data, &pg) == RET_ERROR) 210 memcpy(db, &pg, sizeof(pg));
|
/barrelfish-master/usr/drivers/usb/usb_manager/ |
H A D | usb_memory.c | 203 void usb_mem_copy_in(struct usb_dma_page *pg, uint32_t offset, const void *data, argument 207 if (pg == NULL || data == NULL) { 212 if ((offset + length) > pg->size) { 213 debug_printf("WARNING: offset+length > pg->size\n"); 217 memcpy(pg->buffer + offset, data, length); 225 void usb_mem_copy_out(struct usb_dma_page *pg, uint32_t offset, void *data, argument 228 if (pg == NULL || data == NULL) { 231 if ((offset + length) > pg->size) { 234 memcpy(data, (pg->buffer) + offset, length);
|
/barrelfish-master/usr/drivers/usb/usb_manager/include/ |
H A D | usb_memory.h | 118 void usb_mem_copy_in(struct usb_dma_page *pg, uint32_t offset, const void *data, uint32_t length); 119 void usb_mem_copy_out(struct usb_dma_page *pg, uint32_t offset, void *data, uint32_t length);
|
/barrelfish-master/usr/eclipseclp/Visualisation/src/com/parctechnologies/eclipse/visualisation/viewers/ |
H A D | FadeColorSupport.java | 68 int pg = plain.getGreen(); 71 int dg1 = c1.getGreen() - pg; 74 int dg2 = c2.getGreen() - pg;
|
/barrelfish-master/tools/demo/Aquarium/ |
H A D | Window1.xaml.cs | 462 Polygon pg = new Polygon();
463 pg.Points = new PointCollection(5);
464 pg.Points.Add(left);
465 pg.Points.Add(tip);
466 pg.Points.Add(nock);
467 pg.Points.Add(tip);
468 pg.Points.Add(right);
469 pg.Points.Freeze();
470 pg.Stroke = brush;
471 pg [all...] |
/barrelfish-master/lib/libc/db/test/btree.tests/ |
H A D | main.c | 712 pgno_t pg; local 714 pg = atoi(argv[1]); 716 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL) { 717 (void)printf("getpage of %ld failed\n", pg); 720 if (pg == 0)
|
/barrelfish-master/usr/eclipseclp/Kernel/src/ |
H A D | bigrat.c | 1572 _big_gcd_ext(value v1, value v2, pword *ps, pword *pt, pword *pg) argument 1584 Pw_From_Mpi(pg, &g);
|
/barrelfish-master/usr/vmkitmon/ |
H A D | guest.c | 1263 if (UNLIKELY(amd_vmcb_cr0_rd(&g->vmcb).pg == 0)) {
|
/barrelfish-master/usr/arrakismon/ |
H A D | guest.c | 1733 if (UNLIKELY(amd_vmcb_cr0_rd(&g->vmcb).pg == 0)) {
|
/barrelfish-master/usr/eclipseclp/documents/search/ |
H A D | search.tex | 1395 Problems}, in AAAI'94, pg. 313-318.
|