| /src/lib/libpthread/ |
| pthread_cancelstub.c | 164 pthread_t self; local in function:accept 166 self = pthread__self(); 167 TESTCANCEL(self); 169 TESTCANCEL(self); 178 pthread_t self; local in function:accept4 180 self = pthread__self(); 181 TESTCANCEL(self); 183 TESTCANCEL(self); 193 pthread_t self; local in function:__aio_suspend50 195 self = pthread__self() 208 pthread_t self; local in function:clock_nanosleep 222 pthread_t self; local in function:close 236 pthread_t self; local in function:connect 250 pthread_t self; local in function:fcntl 267 pthread_t self; local in function:fdatasync 281 pthread_t self; local in function:fsync 295 pthread_t self; local in function:fsync_range 310 pthread_t self; local in function:__kevent100 324 pthread_t self; local in function:mq_receive 338 pthread_t self; local in function:mq_send 353 pthread_t self; local in function:__mq_timedreceive50 369 pthread_t self; local in function:__mq_timedsend50 384 pthread_t self; local in function:msgrcv 398 pthread_t self; local in function:msgsnd 412 pthread_t self; local in function:__msync13 426 pthread_t self; local in function:__nanosleep50 444 pthread_t self; local in function:open 461 pthread_t self; local in function:openat 478 pthread_t self; local in function:poll 493 pthread_t self; local in function:__pollts50 507 pthread_t self; local in function:pread 522 pthread_t self; local in function:__pselect50 537 pthread_t self; local in function:pwrite 551 pthread_t self; local in function:read 565 pthread_t self; local in function:readv 580 pthread_t self; local in function:recvfrom 595 pthread_t self; local in function:recvmmsg 609 pthread_t self; local in function:recvmsg 624 pthread_t self; local in function:__select50 639 pthread_t self; local in function:sendmmsg 653 pthread_t self; local in function:sendmsg 668 pthread_t self; local in function:sendto 681 pthread_t self; local in function:__sigsuspend14 696 pthread_t self; local in function:__sigtimedwait50 717 pthread_t self; local in function:sigwait 740 pthread_t self; local in function:tcdrain 754 pthread_t self; local in function:__wait450 768 pthread_t self; local in function:write 782 pthread_t self; local in function:writev [all...] |
| pthread_spin.c | 94 pthread_t self; local in function:pthread_spin_lock 99 self = pthread__self(); 100 while (pthread__spintrylock(self, &lock->pts_spin) == 0) { 110 pthread_t self; local in function:pthread_spin_trylock 115 self = pthread__self(); 116 if (pthread__spintrylock(self, &lock->pts_spin) == 0) 124 pthread_t self; local in function:pthread_spin_unlock 129 self = pthread__self(); 130 pthread__spinunlock(self, &lock->pts_spin);
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/scripts/ |
| litlint_test.py | 13 def test_missing_run(self): 15 self.assertEqual(f(' %t '), ('missing %run before %t', 2)) 16 self.assertEqual(f(' %t\n'), ('missing %run before %t', 2)) 17 self.assertEqual(f(' %t.so '), (None, None)) 18 self.assertEqual(f(' %t.o '), (None, None)) 19 self.assertEqual(f('%run %t '), (None, None)) 20 self.assertEqual(f('-o %t '), (None, None))
|
| /src/sys/external/bsd/compiler_rt/dist/lib/asan/scripts/ |
| asan_symbolize.py | 53 def __init__(self): 56 def symbolize(self, addr, binary, offset): 73 def __init__(self, symbolizer_path, default_arch, system, dsym_hints=[]): 74 super(LLVMSymbolizer, self).__init__() 75 self.symbolizer_path = symbolizer_path 76 self.default_arch = default_arch 77 self.system = system 78 self.dsym_hints = dsym_hints 79 self.pipe = self.open_llvm_symbolizer( [all...] |
| /src/sys/arch/amigappc/amigappc/ |
| mainbus.c | 96 mbattach(device_t parent, device_t self, void *aux) 104 config_found(self, __UNCONST("cpu"), mbprint, CFARGS_NONE); 110 config_found(self, __UNCONST("a34kbbc"), simple_devprint, 113 config_found(self, __UNCONST("a2kbbc"), simple_devprint, 115 config_found(self, __UNCONST("ser"), simple_devprint, CFARGS_NONE); 116 config_found(self, __UNCONST("par"), simple_devprint, CFARGS_NONE); 117 config_found(self, __UNCONST("kbd"), simple_devprint, CFARGS_NONE); 118 config_found(self, __UNCONST("ms"), simple_devprint, CFARGS_NONE); 119 config_found(self, __UNCONST("grfcc"), simple_devprint, CFARGS_NONE); 120 config_found(self, __UNCONST("amidisplaycc"), simple_devprint [all...] |
| /src/common/lib/libc/gen/ |
| rbtree.c | 188 struct rb_node *parent, *tmp, *self = RB_ITEMTONODE(rbto, object); local in function:rb_tree_insert_node 244 RB_NODETOITEM(rbto, prev), RB_NODETOITEM(rbto, self)) < 0); 246 RB_NODETOITEM(rbto, self), RB_NODETOITEM(rbto, next)) < 0); 253 RB_SET_FATHER(self, parent); 254 RB_SET_POSITION(self, position); 256 RB_MARK_BLACK(self); /* root is always black */ 258 rbt->rbt_minmax[RB_DIR_LEFT] = self; 259 rbt->rbt_minmax[RB_DIR_RIGHT] = self; 271 rbt->rbt_minmax[position] = self; 277 RB_MARK_RED(self); 751 struct rb_node *standin, *self = RB_ITEMTONODE(rbto, object); local in function:rb_tree_remove_node 968 struct rb_node *self; local in function:rb_tree_iterate 1280 const struct rb_node *self; local in function:rb_tree_check [all...] |
| /src/sys/arch/arm/at91/ |
| at91cfvar.h | 36 int (*power_ctl)(void *self, int onoff); 39 int (*card_detect)(void *self); 40 int (*irq_line)(void *self); 41 void * (*intr_establish)(void *self, int which, int ipl, int (*ih_func)(void *), void *arg); 42 void (*intr_disestablish)(void *self, int wich, void *cookie);
|
| /src/sys/arch/evbarm/mpcsa/ |
| mpcsa_cf.c | 61 static int mpcsa_cf_power_ctl(void *self, int onoff); 62 static int mpcsa_cf_card_detect(void *self); 63 static int mpcsa_cf_irq_line(void *self); 64 static void * mpcsa_cf_intr_establish(void *self, int which, int ipl, int (*ih_func)(void *), void *arg); 65 static void mpcsa_cf_intr_disestablish(void *self, int which, void *cookie); 84 mpcsa_cf_attach(device_t parent, device_t self, void *aux) 86 struct mpcsa_cf_softc *sc = device_private(self); 102 at91cf_attach_common(parent, self, aux, &mpcsa_cf_tag); 106 mpcsa_cf_power_ctl(void *self, int onoff) 108 struct mpcsa_cf_softc *sc = self; [all...] |
| /src/sys/dev/nand/ |
| nand.c | 128 nand_attach(device_t parent, device_t self, void *aux) 130 struct nand_softc *sc = device_private(self); 134 sc->sc_dev = self; 140 if (nand_check_wp(self)) { 145 if (nand_scan_media(self, chip)) { 159 if (flash_sync_thread_init(&sc->sc_flash_io, self, &nand_flash_if)) { 168 nand_bbt_init(self); 169 nand_bbt_scan(self); 175 config_search(self, NULL, 235 nand_detach(device_t self, int flags [all...] |
| nand_bbt.c | 48 nand_bbt_init(device_t self) 50 struct nand_softc *sc = device_private(self); 61 nand_bbt_detach(device_t self) 63 struct nand_softc *sc = device_private(self); 70 nand_bbt_scan(device_t self) 72 struct nand_softc *sc = device_private(self); 78 aprint_normal_dev(self, "scanning for bad blocks\n"); 82 if (nand_isfactorybad(self, addr)) { 83 nand_bbt_block_markfactorybad(self, i); 84 } else if (nand_iswornoutbad(self, addr)) [all...] |
| nand_toshiba.c | 54 nand_read_parameters_toshiba(device_t self, struct nand_chip * const chip) 62 nand_select(self, true); 63 nand_command(self, ONFI_READ_ID); 64 nand_address(self, 0x00); 65 nand_read_1(self, &mfgrid); 66 nand_read_1(self, &devid); 67 nand_read_1(self, ¶ms1); 68 nand_read_1(self, ¶ms2); 69 nand_read_1(self, ¶ms3); 70 nand_select(self, false) [all...] |
| nand_micron.c | 92 nand_read_parameters_micron(device_t self, struct nand_chip * const chip) 107 nand_select(self, true); 108 nand_command(self, ONFI_READ_ID); 109 nand_address(self, 0x00); 110 nand_read_1(self, &mfgrid); 111 nand_read_1(self, &devid); 112 nand_read_1(self, &dontcare); 113 nand_read_1(self, ¶ms); 114 nand_select(self, false); 124 return mt29fxgx_parameters(self, chip, devid, params) [all...] |
| /src/sys/arch/evbmips/evbmips/ |
| cpu.c | 62 cpu_attach(device_t parent, device_t self, void *aux) 66 ci->ci_dev = self; 67 device_set_private(self, ci); 74 aprint_normal("%s: ", device_xname(self)); 75 cpu_identify(self); 76 cpu_attach_common(self, ci);
|
| /src/sys/arch/cobalt/cobalt/ |
| cpu.c | 56 cpu_attach(device_t parent, device_t self, void *aux) 61 ci->ci_dev = self; 62 device_set_private(self, ci); 65 cpu_identify(self);
|
| /src/usr.bin/make/unit-tests/ |
| suff-self.mk | 1 # $NetBSD: suff-self.mk,v 1.1 2020/11/16 15:12:16 rillig Exp $ 3 # See what happens if someone defines a self-referencing suffix 11 all: suff-self.suff
|
| /src/sys/dev/isa/ |
| spkr_pcppi.c | 83 spkr_pcppi_tone(device_t self, u_int xhz, u_int ticks) 86 device_printf(self, "%s: %u %u\n", __func__, xhz, ticks); 88 struct spkr_pcppi_softc *sc = device_private(self); 99 spkr_pcppi_attach(device_t parent, device_t self, void *aux) 102 struct spkr_pcppi_softc *sc = device_private(self); 109 spkr_attach(self, spkr_pcppi_tone); 110 if (!pmf_device_register(self, NULL, NULL)) 111 aprint_error_dev(self, "couldn't establish power handler\n"); 115 spkr_pcppi_detach(device_t self, int flags) 117 struct spkr_pcppi_softc *sc = device_private(self); [all...] |
| /src/sys/dev/ |
| spkr_audio.c | 66 spkr_audio_tone(device_t self, u_int xhz, u_int ticks) 68 struct spkr_audio_softc *sc = device_private(self); 71 device_printf(self, "%s: %u %u\n", __func__, xhz, ticks); 92 spkr_audio_attach(device_t parent, device_t self, void *aux) 94 struct spkr_audio_softc *sc = device_private(self); 102 if (!pmf_device_register(self, NULL, NULL)) 103 aprint_error_dev(self, "couldn't establish power handler\n"); 105 spkr_attach(self, spkr_audio_tone); 109 spkr_audio_detach(device_t self, int flags) 113 if ((error = spkr_detach(self, flags)) != 0 [all...] |
| /src/sys/arch/evbmips/loongson/dev/ |
| pcib.c | 101 pcibattach(device_t parent, device_t self, void *aux) 103 struct pcib_softc *sc = device_private(self); 120 if (!pmf_device_register(self, NULL, NULL)) 121 aprint_error_dev(self, "couldn't establish power handler\n"); 122 config_defer(self, pcib_callback); 126 pcibdetach(device_t self, int flags) 130 if ((rc = config_detach_children(self, flags)) != 0) 132 pmf_device_deregister(self); 137 pcibchilddet(device_t self, device_t child) 139 struct pcib_softc *sc = device_private(self); [all...] |
| /src/sys/arch/x86/pci/ |
| pcib.c | 185 pcibattach(device_t parent, device_t self, void *aux) 187 struct pcib_softc *sc = device_private(self); 199 if (!pmf_device_register(self, NULL, NULL)) 200 aprint_error_dev(self, "couldn't establish power handler\n"); 202 config_defer(self, pcib_callback); 206 pcibdetach(device_t self, int flags) 210 if ((rc = config_detach_children(self, flags)) != 0) 212 pmf_device_deregister(self); 217 pcibchilddet(device_t self, device_t child) 219 struct pcib_softc *sc = device_private(self); [all...] |
| /src/sys/arch/epoc32/epoc32/ |
| internal.c | 52 internal_attach(device_t parent, device_t self, void *aux) 58 config_search(self, aux, 63 internal_search(device_t self, cfdata_t cf, const int *ldesc, void *aux) 79 if (config_probe(self, cf, aux)) 80 config_attach(self, cf, aux, NULL, CFARGS_NONE);
|
| /src/sys/dev/acpi/ |
| lpt_acpi.c | 77 lpt_acpi_attach(device_t parent, device_t self, void *aux) 79 struct lpt_acpi_softc *asc = device_private(self); 86 sc->sc_dev = self; 88 if (!pmf_device_register(self, NULL, NULL)) 89 aprint_error_dev(self, "couldn't establish power handler\n"); 100 aprint_error_dev(self, 108 aprint_error_dev(self, "can't map i/o space\n"); 114 sc->sc_ih = acpi_intr_establish(self, 116 IPL_TTY, false, lptintr, sc, device_xname(self)); 118 aprint_error_dev(self, "unable to establish interrupt\n") [all...] |
| spic_acpi.c | 77 spic_acpi_attach(device_t parent, device_t self, void *aux) 79 struct spic_acpi_softc *sc = device_private(self); 87 sc->sc_spic.sc_dev = self; 91 rv = acpi_resource_parse(self, sc->sc_node->ad_handle, 99 aprint_error_dev(self, "unable to find io resource\n"); 104 aprint_error_dev(self, "unable to map data register\n"); 109 aprint_error_dev(self, "unable to find irq resource\n"); 114 sc->sc_ih = acpi_intr_establish(self, 116 IPL_TTY, false, spic_intr, sc, device_xname(self)); 118 aprint_error_dev(self, "unable to establish interrupt\n") [all...] |
| acpi_pmtr.c | 116 acpipmtr_attach(device_t parent, device_t self, void *aux) 118 struct acpipmtr_softc *sc = device_private(self); 123 sc->sc_dev = self; 129 (void)pmf_device_register(self, NULL, NULL); 132 if (acpipmtr_cap_get(self, true) != true) 135 if (acpipmtr_sensor_init(self) != true) 138 (void)acpipmtr_dev_print(self); 144 aprint_verbose_dev(self, 149 aprint_debug_dev(self, "%s hw-limits, capabilities 0x%02x\n", 155 acpipmtr_detach(device_t self, int flags 438 device_t self = sme->sme_cookie; local in function:acpipmtr_sensor_refresh 462 device_t self = aux; local in function:acpipmtr_notify [all...] |
| ipmi_acpi.c | 75 ipmi_acpi_attach(device_t parent, device_t self, void *opaque) 77 ipmi_acpi_softc_t *sc = device_private(self); 91 sc->sc_dev = self; 111 rv = acpi_resource_parse(self, aa->aa_node->ad_handle, "_CRS", 115 aprint_error_dev(self, "no resources\n"); 122 aprint_error_dev(self, "no resources\n"); 128 aprint_normal_dev(self, "IRQ %d type %d\n", 131 aprint_error_dev(self, "no interrupt\n"); 159 config_found(self, ia, NULL, CFARGS_NONE); 166 aprint_error_dev(self, "no resources\n") [all...] |
| /src/sys/arch/i386/pnpbios/ |
| fdc_pnpbios.c | 83 fdc_pnpbios_attach(device_t parent, device_t self, void *aux) 85 struct fdc_pnpbios_softc *pdc = device_private(self); 92 fdc->sc_dev = self; 97 aprint_error_dev(self, "unable to map I/O space\n"); 107 aprint_error_dev(self, "can't get iobase size\n"); 122 aprint_error_dev(self, 128 aprint_error_dev(self, "unknown size: %d of io mapping\n", 142 aprint_error_dev(self, "can't get iobase\n"); 147 aprint_error_dev(self, 153 aprint_error_dev(self, "unable to map CTL I/O space\n") [all...] |