Home
last modified time | relevance | path

Searched refs:func (Results 76 – 100 of 1071) sorted by relevance

12345678910>>...43

/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.denormalize.d47 @func[i % 5] = sum(i * 100);
54 normalize(@func, 5);
57 denormalize(@func);
58 printa(@func);
H A Derr.D_CLEAR_PROTO.bad.d49 @func[i%5] = sum(i * 100);
57 printa(@func);
62 printa(@func);
70 printa(@func);
H A Derr.D_CLEAR_AGGARG.bad.d49 @func[i%5] = sum(i * 100);
57 printa(@func);
62 printa(@func);
70 printa(@func);
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dlinkage.c110 generate_linkage_function(char *lib, char *func) in generate_linkage_function() argument
113 "void *__abi_%s_%s(void *real, int vflag) { \n", lib, func); in generate_linkage_function()
114 (void) fprintf(Bodyfp, " ABI_REAL(%s, %s) = real;\n", lib, func); in generate_linkage_function()
115 (void) fprintf(Bodyfp, " ABI_VFLAG(%s, %s) = vflag;\n", lib, func); in generate_linkage_function()
117 " return ((void *) %s_%s);\n}\n", lib, func); in generate_linkage_function()
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dsignal.c63 signal(int sig, void(*func)(int)))(int) in signal()
70 nact.sa_handler = func; in signal()
80 if (func == SIG_IGN) in signal()
181 sigset(int sig, void(*func)(int)))(int) in sigset()
195 if (func == SIG_HOLD) { in sigset()
201 nact.sa_handler = func; in sigset()
210 if (func == SIG_IGN) in sigset()
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_compare.c71 __bam_cmp(dbp, dbt, h, indx, func) in __bam_cmp() argument
76 int (*func)__P((const DBT *, const DBT *));
104 return (func(dbt, &pg_dbt));
123 return (func(dbt, &pg_dbt));
135 dbt, bo->pgno, bo->tlen, func == __bam_defcmp ? NULL : func, &ret);
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_iter.c166 pool_list_iter(zpool_list_t *zlp, int unavail, zpool_iter_f func, in pool_list_iter() argument
176 ret |= func(node->zn_handle, data); in pool_list_iter()
242 zprop_list_t **proplist, zpool_iter_f func, void *data) in for_each_pool() argument
250 if (pool_list_iter(list, unavail, func, data) != 0) in for_each_pool()
259 for_each_vdev_cb(zpool_handle_t *zhp, nvlist_t *nv, pool_vdev_iter_f func, in for_each_vdev_cb() argument
286 ret |= for_each_vdev_cb(zhp, child[c], func, in for_each_vdev_cb()
297 ret |= func(zhp, nv, data); in for_each_vdev_cb()
313 for_each_vdev(zpool_handle_t *zhp, pool_vdev_iter_f func, void *data) in for_each_vdev() argument
321 return (for_each_vdev_cb(zhp, nvroot, func, data)); in for_each_vdev()
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dsupport.c55 Dbg_support_load(Lm_list *lml, const char *obj, const char *func) in Dbg_support_load() argument
60 dbg_print(lml, MSG_INTL(MSG_SUP_ROUTINE), obj, func); in Dbg_support_load()
73 Dbg_support_action(Lm_list *lml, const char *obj, const char *func, in Dbg_support_action() argument
94 dbg_print(lml, MSG_INTL(MSG_SUP_CALLING_1), func, obj); in Dbg_support_action()
96 dbg_print(lml, MSG_INTL(MSG_SUP_CALLING_2), func, obj, in Dbg_support_action()
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Deventlib.c477 void *func; in evDispatch() local
500 func = this->conn->func; in evDispatch()
513 func = this->func; in evDispatch()
522 this->fd, this->func, this->uap); in evDispatch()
526 func = this->func; in evDispatch()
534 this->func, this->uap); in evDispatch()
537 func = this->func; in evDispatch()
546 this->tag, this->func, this->uap); in evDispatch()
549 func = this->func; in evDispatch()
556 func = NULL; in evDispatch()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_wrong_size_arg.c44 const char *func; in register_funcs_from_file() local
60 func = show_ident(token->ident); in register_funcs_from_file()
78 if (strcmp(func, prev_func) == 0) in register_funcs_from_file()
80 strncpy(prev_func, func, 255); in register_funcs_from_file()
82 add_function_hook(func, &match_parameter, INT_PTR(size)); in register_funcs_from_file()
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_mtag2.c6 int (*func)(int *p); member
25 .func = frob1,
30 .func = frob2,
41 ret = p->func(&p->a); in main()
H A Dsm_mtag1.c8 int (*func)(struct foo *p); member
26 .func = frob1,
30 .func = frob2,
38 ret = p->func(p); in main()
/illumos-gate/usr/src/lib/libwrap/
H A Dmystdarg.h13 #define VARARGS(func,type,arg) func(type arg, ...) argument
18 #define VARARGS(func,type,arg) func(va_alist) va_dcl argument
/illumos-gate/usr/src/uts/sun4/os/
H A Ddtrace_subr.c42 dtrace_xcall(processorid_t cpu, dtrace_xcall_t func, void *arg) in dtrace_xcall() argument
45 xc_all(dtrace_xcall_func, (uint64_t)func, (uint64_t)arg); in dtrace_xcall()
47 xc_one(cpu, dtrace_xcall_func, (uint64_t)func, (uint64_t)arg); in dtrace_xcall()
66 dtrace_toxic_ranges(void (*func)(uintptr_t base, uintptr_t limit)) in dtrace_toxic_ranges()
68 (*func)(PIOMAPBASE, PIOMAPBASE + PIOMAPSIZE); in dtrace_toxic_ranges()
69 (*func)(OFW_START_ADDR, OFW_END_ADDR); in dtrace_toxic_ranges()
72 (*func)((uintptr_t)hole_start, (uintptr_t)hole_end); in dtrace_toxic_ranges()
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl_picl.c75 static uint32_t read_long(int fd, int bus, int dev, int func,
583 prg.func_no = func; in read_long()
606 prg.func_no = func; in read_word()
629 prg.func_no = func; in read_byte()
679 cap_reg = read_word(fd, bus, dev, func, cap_ptr, &ret); in get_lane_width()
690 link_cap = read_long(fd, bus, dev, func, cap_ptr + in get_lane_width()
696 link_status = read_word(fd, bus, dev, func, in get_lane_width()
713 (fd, bus, dev, func, PCI_CONF_HEADER, &ret); in get_lane_width()
723 sec_status = read_word(fd, bus, dev, func, in get_lane_width()
751 pcix_status = read_long(fd, bus, dev, func, in get_lane_width()
[all …]
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/
H A Ddirent_h.cfg41 func | opendir |\
46 func | readdir |\
52 func | readdir_r |\
57 func | rewinddir |\
61 func | seekdir |\
66 func | telldir |\
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_thread.c73 fmd_thread_create_cmn(fmd_module_t *mp, fmd_thread_f *func, void *arg, in fmd_thread_create_cmn() argument
81 tp->thr_func = func; in fmd_thread_create_cmn()
110 fmd_thread_create(fmd_module_t *mp, fmd_thread_f *func, void *arg) in fmd_thread_create() argument
112 return (fmd_thread_create_cmn(mp, func, arg, 0)); in fmd_thread_create()
116 fmd_doorthread_create(fmd_module_t *mp, fmd_thread_f *func, void *arg) in fmd_doorthread_create() argument
118 return (fmd_thread_create_cmn(mp, func, arg, 1)); in fmd_doorthread_create()
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dns.c169 char func[32]; in ns_printer_put() local
175 if (snprintf(func, sizeof (func), "%s_put_printer", in ns_printer_put()
176 normalize_ns_name(printer->source)) >= sizeof (func)) { in ns_printer_put()
181 if ((fpt = (int (*)())dlsym(RTLD_DEFAULT, func)) != NULL) in ns_printer_put()
/illumos-gate/usr/src/cmd/mailx/
H A Dsigretro.c105 sigsys(int sig, sigtype func) in sigsys() argument
110 signal(sig, func); in sigsys()
121 sigset(int sig, sigtype func) in sigset() argument
133 if (func == SIG_HOLD) { in sigset()
138 sigtable[sig].s_func = func; in sigset()
139 if (func == SIG_DFL) { in sigset()
151 if (func == SIG_IGN) { in sigset()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dcmi_hw.c239 (*func)(arg1, arg2, (xc_arg_t)&rc); in call_func_ntv()
254 CPUSET2BV(cpus), func); in call_func_ntv()
479 int idx = CMI_PCII_HASHIDX(bus, dev, func, reg); in pcii_addent()
488 if (CMI_PCII_MATCH(hep, bus, dev, func, reg, asz)) in pcii_addent()
498 hep->pcii_func = func; in pcii_addent()
522 int idx = CMI_PCII_HASHIDX(bus, dev, func, reg); in pcii_lookup()
544 int idx = CMI_PCII_HASHIDX(bus, dev, func, reg); in pcii_rment()
1966 pcii_addent(bus, dev, func, reg, val, 1); in cmi_pci_interposeb()
1972 pcii_addent(bus, dev, func, reg, val, 2); in cmi_pci_interposew()
1978 pcii_addent(bus, dev, func, reg, val, 4); in cmi_pci_interposel()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/
H A Dtst.ProbeData.c55 fN(f func, char *a, int i) in fN() argument
57 func(a); in fN()
61 fN2(f func, char *a, int i) in fN2() argument
63 func(a); in fN2()
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dgrub.h137 #define EnterFunction(func) printf("Enter: " func "\n"); argument
138 #define LeaveFunction(func) printf("Leave: " func "\n"); argument
140 #define EnterFunction(func) argument
141 #define LeaveFunction(func) argument
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddmu_traverse.h65 uint64_t txg_start, int flags, blkptr_cb_t func, void *arg);
67 zbookmark_phys_t *resume, int flags, blkptr_cb_t func, void *arg);
70 blkptr_cb_t func, void *arg);
72 uint64_t txg_start, int flags, blkptr_cb_t func, void *arg);
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_resource.c276 int (*func)(caddr_t); in scsi_init_cache_pkt() local
371 func, NULL) == -1) { in scsi_init_cache_pkt()
407 func, NULL, in scsi_init_cache_pkt()
570 int (*func)(caddr_t); in scsi_init_pkt() local
586 statuslen, pplen, flags, func, NULL); in scsi_init_pkt()
628 register int (*func)(caddr_t); in scsi_resalloc() local
633 cmdlen, statuslen, 0, 0, func, NULL); in scsi_resalloc()
649 register int (*func)(caddr_t); in scsi_pktalloc() local
654 statuslen, 0, 0, func, NULL); in scsi_pktalloc()
668 register int (*func)(caddr_t); in scsi_dmaget() local
[all …]
/illumos-gate/usr/src/cmd/sh/
H A Dfault.c245 handle(sig, func) in handle() argument
247 void (*func)();
252 if (func == SIG_IGN && (trapflg[sig] & SIGIGN))
264 act.sa_handler = func;
268 if (func == SIG_IGN)
278 ret = (psig0_func != func);
279 psig0_func = func;
281 ret = (func != oact.sa_handler);

12345678910>>...43