/src/usr.bin/vndcompress/ |
offtab.h | 1 /* $NetBSD: offtab.h,v 1.3 2017/04/16 23:50:40 riastradh Exp $ */ 42 struct offtab { struct 63 void offtab_init(struct offtab *, uint32_t, uint32_t, int, off_t); 64 void offtab_destroy(struct offtab *); 66 bool offtab_transmogrify_read_to_write(struct offtab *, uint32_t); 68 bool offtab_reset_read(struct offtab *, 71 bool offtab_prepare_get(struct offtab *, uint32_t); 72 uint64_t offtab_get(struct offtab *, uint32_t); 74 void offtab_reset_write(struct offtab *); 75 void offtab_checkpoint(struct offtab *, uint32_t, int) [all...] |
vnduncompress.c | 50 #include "offtab.h" 59 struct offtab offtab; local in function:vnduncompress 138 offtab_init(&offtab, n_offsets, window_size, cloop2_fd, 140 offtab_reset_read(&offtab, &err1, &errx1); 164 (void)offtab_prepare_get(&offtab, 0); 165 uint64_t last = offtab_get(&offtab, 0); 167 (void)offtab_prepare_get(&offtab, (blkno + 1)); 170 const uint64_t end = offtab_get(&offtab, (blkno + 1)); 231 offtab_destroy(&offtab); [all...] |
vndcompress.c | 54 #include "offtab.h" 77 struct offtab offtab; member in struct:compress_state 171 offtab_prepare_put(&S->offtab, (S->blkno + 1)); 210 offtab_put(&S->offtab, S->blkno, S->offset); /* (c) */ 495 offtab_init(&S->offtab, S->n_offsets, window_size, S->cloop2_fd, 546 offtab_reset_write(&S->offtab); 611 if (!offtab_reset_read(&S->offtab, &warn, &warnx)) 613 if (!offtab_prepare_get(&S->offtab, 0)) 615 const uint64_t first_offset = offtab_get(&S->offtab, 0) [all...] |
/src/sys/arch/mips/rmi/ |
rmixl_pcie.c | 727 static const int offtab[] = local in function:rmixl_pcie_init_ecfg 730 for (i=0; i < sizeof(offtab)/sizeof(offtab[0]); i++) { 731 offset = 0x100 + offtab[i];
|