Home
last modified time | relevance | path

Searched refs:res (Results 126 – 150 of 2447) sorted by relevance

12345678910>>...98

/freebsd/contrib/ntp/ntpdc/
H A Dntpdc_ops.c358 int res; in peerlist() local
443 int res; in dopeers() local
695 int res; in showpeer() local
769 int res; in peerstats() local
886 int res; in loopinfo() local
960 int res; in sysinfo() local
1049 int res; in sysstats() local
1115 int res; in iostats() local
1879 for (res = 2; res < pcmd->nargs; res++) { in do_restrict()
2112 for (res = 0; res < pcmd->nargs; res++) { in reset()
[all …]
/freebsd/sys/dev/exca/
H A Dexca.c815 struct resource *res) in exca_activate_resource() argument
822 res); in exca_activate_resource()
825 switch (rman_get_type(res)) { in exca_activate_resource()
835 res); in exca_activate_resource()
841 struct resource *res) in exca_deactivate_resource() argument
856 res)); in exca_deactivate_resource()
864 struct resource *res = NULL;
896 if (res == NULL)
906 return (res);
920 cbb_remove_res(sc, res);
[all …]
/freebsd/sys/dev/puc/
H A Dpuc.c217 intptr_t res; in puc_bfe_attach() local
277 port->p_type = res; in puc_bfe_attach()
291 ofs = res; in puc_bfe_attach()
295 size = res; in puc_bfe_attach()
316 port->p_rclk = res; in puc_bfe_attach()
326 sc->sc_ilr = res; in puc_bfe_attach()
453 intptr_t res; in puc_bfe_probe() local
469 if (res != 0) in puc_bfe_probe()
507 if (res == NULL) in puc_bus_alloc_resource()
525 return (res); in puc_bus_alloc_resource()
[all …]
/freebsd/sys/dev/usb/
H A Dusb_busdma.c129 res->physaddr = 0; in usbd_get_page()
260 res.length = len; in usb_uiomove()
266 error = uiomove(res.buffer, res.length, uio); in usb_uiomove()
272 len -= res.length; in usb_uiomove()
291 res.length = len; in usbd_copy_out()
293 memcpy(ptr, res.buffer, res.length); in usbd_copy_out()
296 len -= res.length; in usbd_copy_out()
320 res.length = len; in usbd_copy_out_user()
322 error = copyout(res.buffer, ptr, res.length); in usbd_copy_out_user()
327 len -= res.length; in usbd_copy_out_user()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_bitvector.h155 return res; in setBit()
169 return res; in clearBit()
190 return res; in getAndClearFirstOne()
209 return res; in setUnion()
217 res = true; in setIntersection()
229 return res; in setIntersection()
246 return res; in setDifference()
314 return res; in next()
329 return res; in idx0()
335 return res; in idx1()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dsyzkaller4.sh129 return res;
151 return res;
246 intptr_t res;
291 if (res != -1)
292 r[0] = res;
296 if (res != -1)
297 r[1] = res;
304 if (res != -1)
328 r[3] = res;
348 r[4] = res;
[all …]
H A Dsyzkaller13.sh201 intptr_t res = 0;
204 if (res != -1)
205 r[0] = res;
211 if (res != -1)
212 r[1] = res;
214 if (res != -1)
216 res = syscall(SYS_dup2, r[2], r[1]);
217 if (res != -1)
218 r[3] = res;
221 if (res != -1)
[all …]
/freebsd/crypto/heimdal/lib/roken/
H A Dparse_units.c55 int res = init; in parse_something() local
94 res = (*func)(res, val, def_mult); in parse_something()
95 if (res < 0) in parse_something()
96 return res; in parse_something()
116 res = (*func)(res, val, u->mult); in parse_something()
117 if (res < 0) in parse_something()
118 return res; in parse_something()
129 res = (*func)(res, val, partial_unit->mult); in parse_something()
130 if (res < 0) in parse_something()
131 return res; in parse_something()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_mac.cpp66 CHECK_EQ(res, 0); in ThreadStateDestructor()
70 int res; in InitializeThreadStateStorage() local
73 CHECK_EQ(res, 0); in InitializeThreadStateStorage()
75 CHECK_EQ(res, 0); in InitializeThreadStateStorage()
83 CHECK_EQ(res, 0); in InitializeThreadStateStorage()
100 CHECK_EQ(res, 0); in cur_thread()
107 CHECK_EQ(res, 0); in set_cur_thread()
124 CHECK_EQ(res, 0); in cur_thread_finalize()
297 int res; in call_pthread_cancel_with_cleanup() local
299 res = fn(arg); in call_pthread_cancel_with_cleanup()
[all …]
/freebsd/contrib/ntp/sntp/libevent/
H A Ddevpoll.c173 int i, res, timeout = -1; in devpoll_dispatch() local
191 if (res == -1) { in devpoll_dispatch()
202 for (i = 0; i < res; i++) { in devpoll_dispatch()
231 int res; in devpoll_add() local
241 res = 0; in devpoll_add()
243 res |= POLLIN; in devpoll_add()
245 res |= POLLOUT; in devpoll_add()
257 int res; in devpoll_del() local
260 res = 0; in devpoll_del()
262 res |= POLLIN; in devpoll_del()
[all …]
/freebsd/contrib/libevent/
H A Ddevpoll.c173 int i, res, timeout = -1; in devpoll_dispatch() local
191 if (res == -1) { in devpoll_dispatch()
202 for (i = 0; i < res; i++) { in devpoll_dispatch()
231 int res; in devpoll_add() local
241 res = 0; in devpoll_add()
243 res |= POLLIN; in devpoll_add()
245 res |= POLLOUT; in devpoll_add()
257 int res; in devpoll_del() local
260 res = 0; in devpoll_del()
262 res |= POLLIN; in devpoll_del()
[all …]
/freebsd/crypto/openssl/test/
H A Dsparse_array_test.c41 int res = 0; in test_sparse_array() local
61 res = 1; in test_sparse_array()
64 return res; in test_sparse_array()
81 int res = 0; in test_sparse_array_num() local
91 res = 1; in test_sparse_array_num()
94 return res; in test_sparse_array_num()
107 int res; member
117 doall_data->res = 0; in leaf_check_all()
153 int res = 0; in test_sparse_array_doall() local
184 res = 1; in test_sparse_array_doall()
[all …]
H A Dcmp_ctx_test.c70 int res = 0; in execute_CTX_reinit_test() local
106 res = 1; in execute_CTX_reinit_test()
111 return res; in execute_CTX_reinit_test()
143 int res = 1; in execute_CTX_print_errors_test() local
146 res = 0; in execute_CTX_print_errors_test()
148 res = 0; in execute_CTX_print_errors_test()
157 res = 0; in execute_CTX_print_errors_test()
159 res = 0; in execute_CTX_print_errors_test()
190 return res; in execute_CTX_print_errors_test()
235 return res; in execute_CTX_reqExtensions_have_SAN_test()
[all …]
/freebsd/tools/bus_space/C/
H A Dlang.c105 int res; in busdma_tag_create() local
109 if (res == -1) in busdma_tag_create()
111 *out_p = res; in busdma_tag_create()
120 int res; in busdma_tag_derive() local
124 if (res == -1) in busdma_tag_derive()
126 *out_p = res; in busdma_tag_derive()
140 int res; in busdma_mem_alloc() local
143 if (res == -1) in busdma_mem_alloc()
145 *out_p = res; in busdma_mem_alloc()
159 int res; in busdma_md_create() local
[all …]
/freebsd/sys/dev/xen/bus/
H A Dxenpv.c116 struct resource *res; in xenpv_alloc_physmem() local
123 if (res == NULL) in xenpv_alloc_physmem()
126 phys_addr = rman_get_start(res); in xenpv_alloc_physmem()
130 bus_release_resource(child, SYS_RES_MEMORY, *res_id, res); in xenpv_alloc_physmem()
135 rman_set_virtual(res, virt_addr); in xenpv_alloc_physmem()
137 return (res); in xenpv_alloc_physmem()
147 phys_addr = rman_get_start(res); in xenpv_free_physmem()
148 size = rman_get_size(res); in xenpv_free_physmem()
149 virt_addr = rman_get_virtual(res); in xenpv_free_physmem()
198 xenmem_free(device_t dev, int res_id, struct resource *res) in xenmem_free() argument
[all …]
/freebsd/lib/libthr/thread/
H A Dthr_info.c62 int res; in _pthread_setname_np() local
73 res = 0; in _pthread_setname_np()
76 res = errno; in _pthread_setname_np()
81 res = ESRCH; in _pthread_setname_np()
88 res = 0; in _pthread_setname_np()
95 return (res); in _pthread_setname_np()
122 int res; in _thr_getname_np() local
124 res = 0; in _thr_getname_np()
135 res = ESRCH; in _thr_getname_np()
138 res = ESRCH; in _thr_getname_np()
[all …]
/freebsd/sys/kgssapi/
H A Dgss_export_name.c46 struct export_name_res res; in gss_export_name() local
58 bzero(&res, sizeof(res)); in gss_export_name()
59 stat = gssd_export_name_1(&args, &res, cl); in gss_export_name()
66 if (res.major_status != GSS_S_COMPLETE) { in gss_export_name()
67 *minor_status = res.minor_status; in gss_export_name()
68 return (res.major_status); in gss_export_name()
71 kgss_copy_buffer(&res.exported_name, exported_name); in gss_export_name()
72 xdr_free((xdrproc_t) xdr_export_name_res, &res); in gss_export_name()
/freebsd/sys/dev/gpio/
H A Dgpioc.c411 int res; in gpioc_set_intr_config() local
413 res = 0; in gpioc_set_intr_config()
428 if (res == 0) in gpioc_set_intr_config()
431 res = 0; in gpioc_set_intr_config()
439 res = 0; in gpioc_set_intr_config()
449 if (res == 0) in gpioc_set_intr_config()
465 res = 0; in gpioc_set_intr_config()
470 return (res); in gpioc_set_intr_config()
802 if (res) in gpioc_ioctl()
805 if (res) in gpioc_ioctl()
[all …]
/freebsd/sys/dev/spibus/
H A Dacpi_spibus.c129 struct spibus_ivar *res) in acpi_spibus_get_acpi_res() argument
156 res->cs = sb.DeviceSelection; in acpi_spibus_get_acpi_res()
157 res->mode = in acpi_spibus_get_acpi_res()
160 res->clock = sb.ConnectionSpeed; in acpi_spibus_get_acpi_res()
272 struct spibus_ivar res; in acpi_spibus_enumerate_child() local
290 bzero(&res, sizeof(res)); in acpi_spibus_enumerate_child()
298 if (!found || res.clock == 0) in acpi_spibus_enumerate_child()
311 spibus_set_cs(child, res.cs); in acpi_spibus_enumerate_child()
424 struct resource *res; in acpi_spibus_alloc_resource() local
440 return (res); in acpi_spibus_alloc_resource()
[all …]
/freebsd/sys/dev/ahci/
H A Dahci.h553 #define ATA_INB(res, offset) \ argument
554 bus_read_1((res), (offset))
555 #define ATA_INW(res, offset) \ argument
556 bus_read_2((res), (offset))
557 #define ATA_INL(res, offset) \ argument
558 bus_read_4((res), (offset))
567 #define ATA_OUTB(res, offset, value) \ argument
568 bus_write_1((res), (offset), (value))
591 #define ATA_RBL(res, offset) \ argument
592 bus_read_4((res), (offset))
[all …]
/freebsd/contrib/netbsd-tests/fs/common/
H A Dfstest_zfs.c54 int res; in zfs_fstest_newfs() local
60 res = rump_init(); in zfs_fstest_newfs()
61 if (res != 0) { in zfs_fstest_newfs()
62 errno = res; in zfs_fstest_newfs()
75 res = rump_pub_etfs_register(ZFSDEV, image, RUMP_ETFS_BLK); in zfs_fstest_newfs()
76 if (res != 0) { in zfs_fstest_newfs()
77 errno = res; in zfs_fstest_newfs()
81 res = rump_init_server(SRVURL); in zfs_fstest_newfs()
82 if (res != 0) { in zfs_fstest_newfs()
83 errno = res; in zfs_fstest_newfs()
/freebsd/contrib/bc/src/
H A Drand.c74 res.lo = a + b; in bc_rand_addition()
75 res.hi = (res.lo < a); in bc_rand_addition()
77 return res; in bc_rand_addition()
95 return res; in bc_rand_addition2()
125 return res; in bc_rand_multiply()
262 ulong res = 0; in bc_rand_rand() local
272 return res; in bc_rand_rand()
500 BcRand res; in bc_rand_int() local
514 return res; in bc_rand_int()
577 res.lo |= (res.hi & 1) << (BC_LONG_BIT - 1); in bc_rand_getInc()
[all …]
/freebsd/stand/usb/
H A Dusb_busdma_loader.c88 res->physaddr = 0; in usbd_get_page()
129 if (res.length > len) { in usbd_copy_out()
130 res.length = len; in usbd_copy_out()
132 memcpy(ptr, res.buffer, res.length); in usbd_copy_out()
134 offset += res.length; in usbd_copy_out()
135 len -= res.length; in usbd_copy_out()
153 if (res.length > len) { in usbd_frame_zero()
154 res.length = len; in usbd_frame_zero()
156 memset(res.buffer, 0, res.length); in usbd_frame_zero()
158 offset += res.length; in usbd_frame_zero()
[all …]
/freebsd/contrib/ntp/sntp/libopts/
H A Denum.c167 uintptr_t res = name_ct; in find_name() local
205 if (res < name_ct) in find_name()
262 uintptr_t res = 0UL; in optionEnumerationVal() local
316 return res; in optionEnumerationVal()
417 res = 0UL; in check_membership_start()
445 return res; in check_membership_start()
498 char * res; in optionMemberList() local
502 return res; in optionMemberList()
583 res = 0; in optionSetMembers()
588 res = 0; in optionSetMembers()
[all …]
/freebsd/sys/kern/
H A Dkern_sharedpage.c80 int res; in shared_page_alloc_locked() local
84 res = -1; in shared_page_alloc_locked()
87 return (res); in shared_page_alloc_locked()
93 int res; in shared_page_alloc() local
98 return (res); in shared_page_alloc()
104 int res; in shared_page_fill() local
108 if (res != -1) in shared_page_fill()
111 return (res); in shared_page_fill()
307 int res; in exec_sysvec_init() local
321 if (res == -1) in exec_sysvec_init()
[all …]

12345678910>>...98