Searched refs:self (Results 1 - 25 of 3247) sorted by relevance

1234567891011>>

/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/scripts/
H A Dlitlint_test.py13 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/lib/libpthread/
H A Dpthread_cancelstub.c164 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
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...]
H A Dpthread_spin.c94 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/asan/scripts/
H A Dasan_symbolize.py53 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
[all...]
/src/sys/arch/amigappc/amigappc/
H A Dmainbus.c96 mbattach(device_t parent, device_t self, void *aux) argument
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, __UNCONS
[all...]
/src/common/lib/libc/gen/
H A Drbtree.c197 struct rb_node *parent, *tmp, *self = RB_ITEMTONODE(rbto, object); local in function:rb_tree_insert_node
253 RB_NODETOITEM(rbto, prev), RB_NODETOITEM(rbto, self)) < 0);
255 RB_NODETOITEM(rbto, self), RB_NODETOITEM(rbto, next)) < 0);
262 RB_SET_FATHER(self, parent);
263 RB_SET_POSITION(self, position);
265 RB_MARK_BLACK(self); /* root is always black */
267 rbt->rbt_minmax[RB_DIR_LEFT] = self;
268 rbt->rbt_minmax[RB_DIR_RIGHT] = self;
280 rbt->rbt_minmax[position] = self;
286 RB_MARK_RED(self);
401 rb_tree_insert_rebalance(struct rb_tree * rbt,struct rb_node * self) argument
507 rb_tree_prune_node(struct rb_tree * rbt,struct rb_node * self,bool rebalance) argument
559 rb_tree_swap_prune_and_rebalance(struct rb_tree * rbt,struct rb_node * self,struct rb_node * standin) argument
712 rb_tree_prune_blackred_branch(struct rb_tree * rbt,struct rb_node * self,unsigned int which) argument
760 struct rb_node *standin, *self = RB_ITEMTONODE(rbto, object); local in function:rb_tree_remove_node
977 struct rb_node *self; local in function:rb_tree_iterate
1023 rb_tree_iterate_const(const struct rb_tree * rbt,const struct rb_node * self,const unsigned int direction) argument
1069 rb_tree_count_black(const struct rb_node * self) argument
1085 rb_tree_check_node(const struct rb_tree * rbt,const struct rb_node * self,const struct rb_node * prev,bool red_check) argument
1289 const struct rb_node *self; local in function:rb_tree_check
1331 rb_tree_mark_depth(const struct rb_tree * rbt,const struct rb_node * self,size_t * depths,size_t depth) argument
[all...]
/src/sys/arch/arm/at91/
H A Dat91cfvar.h36 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/
H A Dmpcsa_cf.c61 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) argument
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) argument
108 struct mpcsa_cf_softc *sc = self;
118 mpcsa_cf_card_detect(void * self) argument
124 mpcsa_cf_irq_line(void * self) argument
130 mpcsa_cf_intr_establish(void * self,int which,int ipl,int (* ih_func)(void *),void * ih_arg) argument
137 mpcsa_cf_intr_disestablish(void * self,int which,void * cookie) argument
[all...]
/src/sys/dev/nand/
H A Dnand.c128 nand_attach(device_t parent, device_t self, void *aux) argument
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, in argument
346 nand_fill_chip_structure_legacy(device_t self,struct nand_chip * chip) argument
367 nand_scan_media(device_t self,struct nand_chip * chip) argument
504 nand_read_id(device_t self,uint8_t * manf,uint8_t * dev) argument
517 nand_read_parameter_page(device_t self,struct onfi_parameter_page * params) argument
556 nand_fill_chip_structure(device_t self,struct nand_chip * chip) argument
605 nand_shutdown(device_t self,int howto) argument
611 nand_address_column(device_t self,size_t row,size_t column) argument
635 nand_address_row(device_t self,size_t row) argument
650 nand_get_status(device_t self) argument
662 nand_check_wp(device_t self) argument
671 nand_prepare_read(device_t self,flash_off_t row,flash_off_t column) argument
682 nand_default_read_page(device_t self,size_t offset,uint8_t * data) argument
770 nand_default_program_page(device_t self,size_t page,const uint8_t * data) argument
838 nand_read_oob(device_t self,size_t page,uint8_t * oob) argument
859 nand_write_oob(device_t self,size_t offset,const void * oob) argument
885 nand_markbad(device_t self,size_t offset) argument
912 nand_isfactorybad(device_t self,flash_off_t offset) argument
949 nand_iswornoutbad(device_t self,flash_off_t offset) argument
986 nand_isbad(device_t self,flash_off_t offset) argument
1010 nand_erase_block(device_t self,size_t offset) argument
1037 nand_default_ecc_compute(device_t self,const uint8_t * data,uint8_t * code) argument
1045 nand_default_ecc_correct(device_t self,uint8_t * data,const uint8_t * origcode,const uint8_t * compcode) argument
1052 nand_default_select(device_t self,bool enable) argument
1061 nand_flash_submit(device_t self,struct buf * const bp) argument
1072 nand_flash_write_unaligned(device_t self,flash_off_t offset,size_t len,size_t * retlen,const uint8_t * buf) argument
1198 nand_flash_write(device_t self,flash_off_t offset,size_t len,size_t * retlen,const uint8_t * buf) argument
1260 nand_flash_read_unaligned(device_t self,size_t offset,size_t len,size_t * retlen,uint8_t * buf) argument
1331 nand_flash_read(device_t self,flash_off_t offset,size_t len,size_t * retlen,uint8_t * buf) argument
1396 nand_flash_isbad(device_t self,flash_off_t ofs,bool * is_bad) argument
1426 nand_flash_markbad(device_t self,flash_off_t ofs) argument
1451 nand_flash_erase(device_t self,struct flash_erase_instruction * ei) argument
[all...]
H A Dnand_bbt.c48 nand_bbt_init(device_t self) argument
50 struct nand_softc *sc = device_private(self);
61 nand_bbt_detach(device_t self) argument
63 struct nand_softc *sc = device_private(self);
70 nand_bbt_scan(device_t self) argument
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, add
93 nand_bbt_update(device_t self) argument
99 nand_bbt_page_has_bbt(device_t self,flash_off_t addr) argument
116 nand_bbt_get_bbt_from_page(device_t self,flash_off_t addr) argument
158 nand_bbt_load(device_t self) argument
179 nand_bbt_block_markbad(device_t self,flash_off_t block) argument
190 nand_bbt_block_markfactorybad(device_t self,flash_off_t block) argument
201 nand_bbt_block_mark(device_t self,flash_off_t block,uint8_t marker) argument
220 nand_bbt_block_isbad(device_t self,flash_off_t block) argument
[all...]
H A Dnand_toshiba.c54 nand_read_parameters_toshiba(device_t self, struct nand_chip * const chip) argument
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, &params1);
68 nand_read_1(self, &params2);
69 nand_read_1(self, &params3);
70 nand_select(self, fals
[all...]
H A Dnand_micron.c92 nand_read_parameters_micron(device_t self, struct nand_chip * const chip) argument
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, &params);
114 nand_select(self, false);
124 return mt29fxgx_parameters(self, chi
132 mt29fxgx_parameters(device_t self,struct nand_chip * const chip,u_int8_t devid,uint8_t params) argument
[all...]
/src/sys/arch/evbmips/evbmips/
H A Dcpu.c62 cpu_attach(device_t parent, device_t self, void *aux) argument
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/usr.bin/make/unit-tests/
H A Dsuff-self.mk1 # $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/arch/cobalt/cobalt/
H A Dcpu.c56 cpu_attach(device_t parent, device_t self, void *aux) argument
61 ci->ci_dev = self;
62 device_set_private(self, ci);
65 cpu_identify(self);
/src/sys/dev/isa/
H A Dspkr_pcppi.c83 spkr_pcppi_tone(device_t self, u_int xhz, u_int ticks) argument
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) argument
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) argument
117 struct spkr_pcppi_softc *sc = device_private(self);
129 spkr_pcppi_rescan(device_t self,const char * iattr,const int * locators) argument
136 spkr_pcppi_childdet(device_t self,device_t child) argument
[all...]
/src/sys/arch/x86/pci/
H A Dpcib.c185 pcibattach(device_t parent, device_t self, void *aux) argument
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) argument
210 if ((rc = config_detach_children(self, flags)) != 0)
212 pmf_device_deregister(self);
217 pcibchilddet(device_t self, device_t child) argument
219 struct pcib_softc *sc = device_private(self);
226 pcibrescan(device_t self,const char * ifattr,const int * loc) argument
252 pcib_callback(device_t self) argument
[all...]
/src/sys/arch/evbmips/loongson/dev/
H A Dpcib.c101 pcibattach(device_t parent, device_t self, void *aux) argument
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) argument
130 if ((rc = config_detach_children(self, flags)) != 0)
132 pmf_device_deregister(self);
137 pcibchilddet(device_t self, device_t child) argument
139 struct pcib_softc *sc = device_private(self);
146 pcibrescan(device_t self,const char * ifattr,const int * loc) argument
175 pcib_callback(device_t self) argument
[all...]
/src/sys/dev/
H A Dspkr_audio.c66 spkr_audio_tone(device_t self, u_int xhz, u_int ticks) argument
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) argument
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) argument
113 if ((error = spkr_detach(self, flag
122 spkr_audio_rescan(device_t self,const char * iattr,const int * locators) argument
129 spkr_audio_childdet(device_t self,device_t child) argument
[all...]
/src/sys/arch/epoc32/epoc32/
H A Dinternal.c52 internal_attach(device_t parent, device_t self, void *aux) argument
58 config_search(self, aux,
63 internal_search(device_t self, cfdata_t cf, const int *ldesc, void *aux) argument
79 if (config_probe(self, cf, aux))
80 config_attach(self, cf, aux, NULL, CFARGS_NONE);
/src/sys/dev/acpi/
H A Dlpt_acpi.c77 lpt_acpi_attach(device_t parent, device_t self, void *aux) argument
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, "unabl
[all...]
H A Dspic_acpi.c77 spic_acpi_attach(device_t parent, device_t self, void *aux) argument
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, "unabl
[all...]
H A Dacpi_pmtr.c116 acpipmtr_attach(device_t parent, device_t self, void *aux) argument
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, in argument
171 acpipmtr_cap_get(device_t self,bool print) argument
249 acpipmtr_dev_print(device_t self) argument
314 acpipmtr_sensor_init(device_t self) argument
370 acpipmtr_sensor_type(device_t self) argument
398 acpipmtr_sensor_get(device_t self,const char * path) argument
424 acpipmtr_sensor_get_reading(device_t self) argument
430 acpipmtr_sensor_get_interval(device_t self) argument
438 device_t self = sme->sme_cookie; local in function:acpipmtr_sensor_refresh
462 device_t self = aux; local in function:acpipmtr_notify
[all...]
H A Dipmi_acpi.c75 ipmi_acpi_attach(device_t parent, device_t self, void *opaque) argument
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, "n
191 ipmi_acpi_detach(device_t self,int flags) argument
[all...]
/src/sys/arch/i386/pnpbios/
H A Dfdc_pnpbios.c83 fdc_pnpbios_attach(device_t parent, device_t self, void *aux) argument
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, "unabl
[all...]

Completed in 12 milliseconds

1234567891011>>