| /mirbsd/src/sys/dev/wscons/ |
| D | wsemul_dumb.c | 51 void wsemul_dumb_output(void *cookie, const u_char *data, u_int count, 53 int wsemul_dumb_translate(void *cookie, keysym_t, char **); 54 void wsemul_dumb_detach(void *cookie, u_int *crowp, u_int *ccolp); 78 wsemul_dumb_cnattach(type, cookie, ccol, crow, defattr) in wsemul_dumb_cnattach() argument 80 void *cookie; 89 edp->emulcookie = cookie; 101 wsemul_dumb_attach(console, type, cookie, ccol, crow, cbcookie, defattr) in wsemul_dumb_attach() argument 104 void *cookie; 117 edp->emulcookie = cookie; 131 wsemul_dumb_output(cookie, data, count, kernel) in wsemul_dumb_output() argument [all …]
|
| D | wsemul_vt100.c | 53 void wsemul_vt100_output(void *cookie, const u_char *data, u_int count, 55 void wsemul_vt100_detach(void *cookie, u_int *crowp, u_int *ccolp); 127 wsemul_vt100_init(edp, type, cookie, ccol, crow, defattr) in wsemul_vt100_init() argument 130 void *cookie; 135 edp->emulcookie = cookie; 145 wsemul_vt100_cnattach(type, cookie, ccol, crow, defattr) in wsemul_vt100_cnattach() argument 147 void *cookie; 155 wsemul_vt100_init(edp, type, cookie, ccol, crow, defattr); 174 res = (*edp->emulops->alloc_attr)(cookie, 179 res = (*edp->emulops->alloc_attr)(cookie, 0, 0, [all …]
|
| /mirbsd/src/usr.sbin/rpc.lockd/ |
| D | procs.c | 172 res.cookie = arg->cookie; in nlm_test_1_svc() 190 res.cookie = arg->cookie; in nlm_test_msg_1_svc() 212 res.cookie = arg->cookie; in nlm_lock_1_svc() 224 res.cookie = arg->cookie; in nlm_lock_msg_1_svc() 237 res.cookie = arg->cookie; in nlm_cancel_1_svc() 249 res.cookie = arg->cookie; in nlm_cancel_msg_1_svc() 263 res.cookie = arg->cookie; in nlm_unlock_1_svc() 275 res.cookie = arg->cookie; in nlm_unlock_msg_1_svc() 287 res.cookie = arg->cookie; in nlm_granted_1_svc() 299 res.cookie = arg->cookie; in nlm_granted_msg_1_svc() [all …]
|
| /mirbsd/src/sys/arch/i386/isa/ |
| D | isa_machdep.c | 645 struct i386_isa_dma_cookie *cookie; local 701 cookie = (struct i386_isa_dma_cookie *)cookiestore; 702 cookie->id_flags = cookieflags; 703 map->_dm_cookie = cookie; 733 struct i386_isa_dma_cookie *cookie = map->_dm_cookie; local 738 if (cookie->id_flags & ID_HAS_BOUNCE) 741 free(cookie, M_DEVBUF); 757 struct i386_isa_dma_cookie *cookie = map->_dm_cookie; local 765 if (cookie->id_flags & ID_MIGHT_NEED_BOUNCE) { 780 if ((cookie->id_flags & ID_HAS_BOUNCE) == 0) { [all …]
|
| /mirbsd/src/sys/dev/rasops/ |
| D | rasops.c | 185 int cookie; local 191 cookie = wsfont_find(NULL, 12, 0, 0); 194 cookie = wsfont_find(NULL, 8, 0, 0); 196 if (cookie <= 0) 197 cookie = wsfont_find(NULL, 0, 0, 0); 199 if (cookie <= 0) { 210 rasops_rotate_font(&cookie); 213 if (wsfont_lock(cookie, &ri->ri_font, 219 ri->ri_wsfcookie = cookie; 429 rasops_mapchar(cookie, c, cp) in rasops_mapchar() argument [all …]
|
| D | rasops4.c | 107 rasops4_putchar(cookie, row, col, uc, attr) in rasops4_putchar() argument 108 void *cookie; in rasops4_putchar() 118 ri = (struct rasops_info *)cookie; 222 rasops4_putchar(cookie, row, col, uc, attr) in rasops4_putchar() argument 223 void *cookie; in rasops4_putchar() 266 rasops4_putchar8(cookie, row, col, uc, attr) in rasops4_putchar8() argument 267 void *cookie; in rasops4_putchar8() 280 rasops4_putchar(cookie, row, col, uc, attr); 284 ri = (struct rasops_info *)cookie; 341 rasops4_putchar12(cookie, row, col, uc, attr) in rasops4_putchar12() argument [all …]
|
| D | rasops24.c | 123 rasops24_putchar(cookie, row, col, uc, attr) in rasops24_putchar() argument 124 void *cookie; in rasops24_putchar() 133 ri = (struct rasops_info *)cookie; 250 rasops24_putchar8(cookie, row, col, uc, attr) in rasops24_putchar8() argument 251 void *cookie; in rasops24_putchar8() 264 rasops24_putchar(cookie, row, col, uc, attr); 268 ri = (struct rasops_info *)cookie; 331 rasops24_putchar12(cookie, row, col, uc, attr) in rasops24_putchar12() argument 332 void *cookie; in rasops24_putchar12() 345 rasops24_putchar(cookie, row, col, uc, attr); [all …]
|
| D | rasops8.c | 104 rasops8_putchar(cookie, row, col, uc, attr) in rasops8_putchar() argument 105 void *cookie; in rasops8_putchar() 114 ri = (struct rasops_info *)cookie; 209 rasops8_putchar8(cookie, row, col, uc, attr) in rasops8_putchar8() argument 210 void *cookie; in rasops8_putchar8() 223 rasops8_putchar(cookie, row, col, uc, attr); 227 ri = (struct rasops_info *)cookie; 280 rasops8_putchar12(cookie, row, col, uc, attr) in rasops8_putchar12() argument 281 void *cookie; in rasops8_putchar12() 294 rasops8_putchar(cookie, row, col, uc, attr); [all …]
|
| D | rasops2.c | 127 rasops2_putchar(cookie, row, col, uc, attr) in rasops2_putchar() argument 128 void *cookie; in rasops2_putchar() 139 ri = (struct rasops_info *)cookie; 264 rasops2_putchar8(cookie, row, col, uc, attr) in rasops2_putchar8() argument 265 void *cookie; in rasops2_putchar8() 277 rasops2_putchar(cookie, row, col, uc, attr); 281 ri = (struct rasops_info *)cookie; 334 rasops2_putchar12(cookie, row, col, uc, attr) in rasops2_putchar12() argument 335 void *cookie; in rasops2_putchar12() 347 rasops2_putchar(cookie, row, col, uc, attr); [all …]
|
| D | rasops15.c | 116 rasops15_putchar(cookie, row, col, uc, attr) in rasops15_putchar() argument 117 void *cookie; in rasops15_putchar() 126 ri = (struct rasops_info *)cookie; 220 rasops15_putchar8(cookie, row, col, uc, attr) in rasops15_putchar8() argument 221 void *cookie; in rasops15_putchar8() 234 rasops15_putchar(cookie, row, col, uc, attr); 238 ri = (struct rasops_info *)cookie; 299 rasops15_putchar12(cookie, row, col, uc, attr) in rasops15_putchar12() argument 300 void *cookie; in rasops15_putchar12() 313 rasops15_putchar(cookie, row, col, uc, attr); [all …]
|
| D | rasops1.c | 93 rasops1_putchar(cookie, row, col, uc, attr) in rasops1_putchar() argument 94 void *cookie; in rasops1_putchar() 105 ri = (struct rasops_info *)cookie; 241 rasops1_putchar8(cookie, row, col, uc, attr) in rasops1_putchar8() argument 242 void *cookie; in rasops1_putchar8() 251 ri = (struct rasops_info *)cookie; 306 rasops1_putchar16(cookie, row, col, uc, attr) in rasops1_putchar16() argument 307 void *cookie; in rasops1_putchar16() 316 ri = (struct rasops_info *)cookie;
|
| /mirbsd/src/sys/dev/ic/ |
| D | bt485.c | 94 void *cookie; /* This is what is passed member 162 data->cookie = v; 182 data->cookie = v; 206 regval = data->ramdac_rd(data->cookie, BT485_REG_COMMAND_0); 213 data->ramdac_wr(data->cookie, BT485_REG_COMMAND_0, regval); 216 data->ramdac_wr(data->cookie, BT485_REG_COMMAND_1, 0x40); 219 regval = data->ramdac_rd(data->cookie, BT485_REG_COMMAND_2); 222 data->ramdac_wr(data->cookie, BT485_REG_COMMAND_2, regval); 231 data->ramdac_wr(data->cookie, BT485_REG_PIXMASK, 0xff); 301 data->ramdac_sched_update(data->cookie, bt485_update); [all …]
|
| D | bt463.c | 142 void *cookie; /* This is what is passed member 170 (data)->ramdac_wr((data)->cookie, BT463_REG_IREG_DATA, (val)); } while (0) 171 #define BTWNREG(data, val) (data)->ramdac_wr((data)->cookie, \ 174 (data)->ramdac_rd((data)->cookie, BT463_REG_IREG_DATA)) 175 #define BTRNREG(data) ((data)->ramdac_rd((data)->cookie, BT463_REG_IREG_DATA)) 218 data->cookie = v; 238 data->cookie = v; 358 data->ramdac_sched_update(data->cookie, bt463_update); 394 data->ramdac_sched_update(data->cookie, bt463_update); 465 data->ramdac_sched_update(data->cookie, bt463_update); [all …]
|
| D | ibm561.c | 99 void *cookie; member 160 data->cookie = v; 185 data->cookie = v; 268 data->ramdac_sched_update(data->cookie, ibm561_update); 302 data->ramdac_sched_update(data->cookie, ibm561_update); 507 data->ramdac_wr(data->cookie, IBM561_CMD_GAMMA, (val >> 2) & 0xff); in ibm561_regcont10bit() 508 data->ramdac_wr(data->cookie, IBM561_CMD_GAMMA, (val & 0x3) << 6); in ibm561_regcont10bit() 514 data->ramdac_wr(data->cookie, IBM561_ADDR_LOW, reg & 0xff); in ibm561_regbegin() 515 data->ramdac_wr(data->cookie, IBM561_ADDR_HIGH, (reg >> 8) & 0xff); in ibm561_regbegin() 521 data->ramdac_wr(data->cookie, reg, val); in ibm561_regcont()
|
| /mirbsd/src/lib/libc/stdio/ |
| D | stdio.c | 44 __sread(void *cookie, char *buf, int n) in __sread() argument 46 FILE *fp = cookie; in __sread() 59 __swrite(void *cookie, const char *buf, int n) in __swrite() argument 61 FILE *fp = cookie; in __swrite() 70 __sseek(void *cookie, fpos_t offset, int whence) in __sseek() argument 72 FILE *fp = cookie; in __sseek() 86 __sclose(void *cookie) in __sclose() argument 88 return (close(((FILE *)cookie)->_file)); in __sclose()
|
| /mirbsd/src/sys/dev/ |
| D | biovar.h | 37 void *cookie; member 42 void *cookie; member 62 void *cookie; member 69 void *cookie; member 92 void *cookie; member 105 void *cookie; member 131 void *cookie; member 142 void *cookie; member 188 void *cookie; member
|
| D | bio.c | 103 locate->cookie = bio_lookup(name); 104 if (locate->cookie == NULL) 110 if (!bio_validate(common->cookie)) 113 (struct bio_mapping *)common->cookie, cmd, addr)); 147 bio_validate(cookie) in bio_validate() argument 148 void *cookie; in bio_validate() 153 if (bm == cookie)
|
| /mirbsd/src/usr.bin/compress/ |
| D | nullopen.c | 79 null_close(void *cookie, struct z_info *info, const char *name, struct stat *sb) in null_close() argument 81 null_stream *s = (null_stream*) cookie; in null_close() 105 null_flush(void *cookie, int flush __attribute__((__unused__))) in null_flush() argument 107 null_stream *s = (null_stream*)cookie; in null_flush() 118 null_read(void *cookie, char *buf, int len) in null_read() argument 120 null_stream *s = (null_stream*)cookie; in null_read() 143 null_write(void *cookie, const char *buf, int len) in null_write() argument 145 null_stream *s = (null_stream*)cookie; in null_write()
|
| D | zopen.c | 228 zwrite(void *cookie, const char *wbp, int num) in zwrite() argument 237 zs = cookie; in zwrite() 327 z_close(void *cookie, struct z_info *info, in z_close() argument 334 zs = cookie; in z_close() 366 zclose(void *cookie) in zclose() argument 368 return (z_close(cookie, NULL, NULL, NULL)); in zclose() 488 zread(void *cookie, char *rbp, int num) in zread() argument 497 zs = cookie; in zread() 761 void *cookie; in zopen() local 765 if ((cookie = z_open(fd, mode, NULL, bits, 0, 0)) == NULL) { in zopen() [all …]
|
| /mirbsd/src/sys/dev/wsfont/ |
| D | wsfont.c | 132 u_short cookie; member 311 newfont->cookie = NULL; in wsfont_rotate_internal() 366 wsfont_rotate(int cookie) in wsfont_rotate() argument 373 origfont = wsfont_find0(cookie); in wsfont_rotate() 411 wsfont_find0(cookie) in wsfont_find0() argument 412 int cookie; in wsfont_find0() 417 if (ent->cookie == cookie) 450 return (ent->cookie); 483 ent->cookie = cookiegen++; 513 wsfont_remove(cookie) in wsfont_remove() argument [all …]
|
| /mirbsd/src/lib/librpcsvc/ |
| D | nlm_prot.x | 52 netobj cookie; member 57 netobj cookie; member 71 netobj cookie; member 80 netobj cookie; member 87 netobj cookie; member 93 netobj cookie; member 127 netobj cookie; member 133 netobj cookie; member
|
| /mirbsd/src/sbin/bioctl/ |
| D | bioctl.c | 172 warnx("cookie = %p", bl.cookie); in main() 385 bc->cookie = bl.cookie; in bio_get_capabilities() 409 ba.cookie = bl.cookie; in bio_alarm() 637 bb.cookie = bl.cookie; in bio_blink() 682 bp.cookie = bl.cookie; in bio_ping() 702 bs.cookie = bl.cookie; in bio_startstop() 745 bs.cookie = bl.cookie; in bio_status() 768 bpt.cookie = bl.cookie; in bio_pt_readcap() 821 bpt.cookie = bl.cookie; in bio_pt_inquire() 868 bpt.cookie = bl.cookie; in bio_pt_tur() [all …]
|
| /mirbsd/src/sys/arch/i386/pci/ |
| D | pciide_machdep.c | 64 void *cookie; local 67 cookie = isa_intr_establish(NULL, irq, IST_EDGE, IPL_BIO, func, arg, dev->dv_xname); 69 return (cookie); 73 pciide_machdep_compat_intr_disestablish(pci_chipset_tag_t pc, void *cookie) in pciide_machdep_compat_intr_disestablish() argument 75 isa_intr_disestablish(NULL, cookie); in pciide_machdep_compat_intr_disestablish()
|
| /mirbsd/src/usr.bin/ftp/ |
| D | cookie.c | 32 struct cookie { struct 33 TAILQ_ENTRY(cookie) entry; 34 TAILQ_ENTRY(cookie) tempentry; 46 TAILQ_HEAD(cookiejar, cookie); argument 66 struct cookie *ck; in cookie_load() 187 struct cookie *ck; in cookie_get()
|
| /mirbsd/src/gnu/usr.bin/binutils/bfd/ |
| D | elf-eh-frame.c | 368 struct elf_reloc_cookie *cookie) in _bfd_elf_discard_section_eh_frame() argument 410 && cookie->rel == cookie->relend) in _bfd_elf_discard_section_eh_frame() 437 REQUIRE (!(cookie->rel < cookie->relend \ in _bfd_elf_discard_section_eh_frame() 438 && (cookie->rel->r_offset \ in _bfd_elf_discard_section_eh_frame() 440 && cookie->rel->r_info != 0)) in _bfd_elf_discard_section_eh_frame() 443 while (cookie->rel < cookie->relend \ in _bfd_elf_discard_section_eh_frame() 444 && (cookie->rel->r_offset \ in _bfd_elf_discard_section_eh_frame() 446 cookie->rel++ in _bfd_elf_discard_section_eh_frame() 449 ((cookie->rel < cookie->relend \ in _bfd_elf_discard_section_eh_frame() 450 && (cookie->rel->r_offset \ in _bfd_elf_discard_section_eh_frame() [all …]
|