Home
last modified time | relevance | path

Searched refs:res (Results 176 – 200 of 2447) sorted by relevance

12345678910>>...98

/freebsd/crypto/heimdal/lib/ipc/
H A Dts-http.c77 struct addrinfo hints, *res, *res0; in setup_sockets() local
89 for (res = res0; res ; res = res->ai_next) { in setup_sockets()
90 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in setup_sockets()
98 if (bind(s, res->ai_addr, res->ai_addrlen) < 0) { in setup_sockets()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dspectral.c182 int res; in ath10k_spectral_scan_trigger() local
198 if (res < 0) in ath10k_spectral_scan_trigger()
199 return res; in ath10k_spectral_scan_trigger()
204 if (res < 0) in ath10k_spectral_scan_trigger()
205 return res; in ath10k_spectral_scan_trigger()
233 return res; in ath10k_spectral_scan_config()
267 return res; in ath10k_spectral_scan_config()
308 int res; in write_file_spec_scan_ctl() local
328 res); in write_file_spec_scan_ctl()
350 if (res < 0) in write_file_spec_scan_ctl()
[all …]
/freebsd/lib/libutil/
H A Dlogin_cap.c224 res[i++] = ptr; in arrayize()
237 res[i] = NULL; in arrayize()
244 return res; in arrayize()
461 char *res; in login_getcapstr() local
666 oval = res; in login_getcaptime()
667 while (*res) { in login_getcaptime()
703 res = ep; in login_getcaptime()
725 char *ep, *res; in login_getcapnum() local
839 oval = res; in login_getcapsize()
840 while (*res) { in login_getcapsize()
[all …]
/freebsd/contrib/wpa/src/p2p/
H A Dp2p_utils.c85 res->reg_class = a->reg_class; in p2p_reg_class_intersect()
91 res->channel[res->channels] = a->channel[i]; in p2p_reg_class_intersect()
92 res->channels++; in p2p_reg_class_intersect()
117 os_memset(res, 0, sizeof(*res)); in p2p_channels_intersect()
127 &res->reg_class[res->reg_classes]); in p2p_channels_intersect()
128 if (res->reg_class[res->reg_classes].channels) { in p2p_channels_intersect()
129 res->reg_classes++; in p2p_channels_intersect()
186 if (i == res->reg_classes) { in p2p_channels_union_inplace()
189 os_memcpy(&res->reg_class[res->reg_classes++], in p2p_channels_union_inplace()
204 struct p2p_channels *res) in p2p_channels_union() argument
[all …]
/freebsd/sys/dev/mvs/
H A Dmvs.h633 #define ATA_INB(res, offset) \ argument
634 bus_read_1((res), (offset))
635 #define ATA_INW(res, offset) \ argument
636 bus_read_2((res), (offset))
637 #define ATA_INL(res, offset) \ argument
638 bus_read_4((res), (offset))
647 #define ATA_OUTB(res, offset, value) \ argument
648 bus_write_1((res), (offset), (value))
649 #define ATA_OUTW(res, offset, value) \ argument
650 bus_write_2((res), (offset), (value))
[all …]
/freebsd/sys/dev/fdc/
H A Dfdc_isa.c78 struct resource *res; in fdc_isa_alloc_resources() local
92 if (res == NULL) in fdc_isa_alloc_resources()
98 i = rman_get_start(res) & 0x7; in fdc_isa_alloc_resources()
99 if (i + rman_get_size(res) - 1 > FDC_MAXREG) { in fdc_isa_alloc_resources()
103 for (j = 0; j < rman_get_size(res); j++) { in fdc_isa_alloc_resources()
104 fdc->resio[i + j] = res; in fdc_isa_alloc_resources()
107 fdc->ioh[i + j] = rman_get_bushandle(res); in fdc_isa_alloc_resources()
120 if (res == NULL) { in fdc_isa_alloc_resources()
127 fdc->resio[7] = res; in fdc_isa_alloc_resources()
129 fdc->ioff[7] = rman_get_start(res) & 7; in fdc_isa_alloc_resources()
[all …]
/freebsd/crypto/openssl/test/helpers/
H A Dcmp_testlib.c37 int i, res; in STACK_OF_X509_cmp() local
46 if ((res = sk_X509_num(sk1) - sk_X509_num(sk2))) in STACK_OF_X509_cmp()
47 return res; in STACK_OF_X509_cmp()
52 if ((res = X509_cmp(a, b)) != 0) in STACK_OF_X509_cmp()
53 return res; in STACK_OF_X509_cmp()
65 int res; in STACK_OF_X509_push1() local
71 res = sk_X509_push(sk, cert); in STACK_OF_X509_push1()
72 if (res <= 0) in STACK_OF_X509_push1()
74 return res; in STACK_OF_X509_push1()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dwpa_cli.c396 return res; in wpa_cli_complete_help()
419 int res; in wpa_cli_cmd_set() local
682 int res; in wpa_cli_cmd_bss_flush() local
810 int res; in wpa_cli_cmd_wps_reg() local
942 int res; in wpa_cli_cmd_wps_er_config() local
1853 int res; in wpa_cli_cmd_interface_add() local
2296 int res; in wpa_cli_cmd_p2p_serv_disc_resp() local
2363 int res; in wpa_cli_cmd_p2p_service_del() local
2613 int res; in wpa_cli_cmd_wfd_subelem_set() local
2634 int res; in wpa_cli_cmd_wfd_subelem_get() local
[all …]
/freebsd/contrib/unbound/util/
H A Dalloc.c377 void* res; in unbound_stat_malloc() local
381 if(!res) return NULL; in unbound_stat_malloc()
386 return res+16; in unbound_stat_malloc()
398 void* res; in unbound_stat_calloc() local
404 if(!res) return NULL; in unbound_stat_calloc()
409 return res+16; in unbound_stat_calloc()
437 void* res; in unbound_stat_realloc() local
454 if(!res) return NULL; in unbound_stat_realloc()
467 return res+16; in unbound_stat_realloc()
527 void* res; in unbound_stat_malloc_lite() local
[all …]
/freebsd/tools/test/sort/bigtest/
H A Dkcmd48 rm siks/res.0.0
65 rm siks/res.0.0
82 rm siks/res.0.0
99 rm siks/res.0.0
122 rm siks/res.${f1}.${c1}
139 rm siks/res.${f1}.${c1}
156 rm siks/res.${f1}.${c1}
173 rm siks/res.${f1}.${c1}
190 rm siks/res.${f1}.${c1}
207 rm siks/res.${f1}.${c1}
[all …]
/freebsd/usr.sbin/mlx5tool/
H A Dmlx5tool.c82 int error, res; in mlx5tool_save_dump() local
92 res = 1; in mlx5tool_save_dump()
117 res = 0; in mlx5tool_save_dump()
121 return (res); in mlx5tool_save_dump()
154 res = 0; in mlx5tool_fw_update()
158 res = 1; in mlx5tool_fw_update()
164 res = 1; in mlx5tool_fw_update()
173 res = 1; in mlx5tool_fw_update()
186 return (res); in mlx5tool_fw_update()
394 res = 0; in main()
[all …]
/freebsd/crypto/openssl/crypto/ec/
H A Decp_ppc.c14 void ecp_nistz256_mul_mont(unsigned long res[4], const unsigned long a[4],
17 void ecp_nistz256_to_mont(unsigned long res[4], const unsigned long in[4]);
18 void ecp_nistz256_to_mont(unsigned long res[4], const unsigned long in[4]) in ecp_nistz256_to_mont()
25 ecp_nistz256_mul_mont(res, in, RR); in ecp_nistz256_to_mont()
28 void ecp_nistz256_from_mont(unsigned long res[4], const unsigned long in[4]);
29 void ecp_nistz256_from_mont(unsigned long res[4], const unsigned long in[4]) in ecp_nistz256_from_mont()
33 ecp_nistz256_mul_mont(res, in, one); in ecp_nistz256_from_mont()
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_aes_gcm_hw.c71 size_t res = (16 - ctx->gcm.mres) % 16; in generic_aes_gcm_cipher_update() local
73 if (CRYPTO_gcm128_encrypt(&ctx->gcm, in, out, res)) in generic_aes_gcm_cipher_update()
76 bulk = AES_gcm_encrypt(in + res, out + res, len - res, in generic_aes_gcm_cipher_update()
81 bulk += res; in generic_aes_gcm_cipher_update()
100 size_t res = (16 - ctx->gcm.mres) % 16; in generic_aes_gcm_cipher_update() local
102 if (CRYPTO_gcm128_decrypt(&ctx->gcm, in, out, res)) in generic_aes_gcm_cipher_update()
105 bulk = AES_gcm_decrypt(in + res, out + res, len - res, in generic_aes_gcm_cipher_update()
110 bulk += res; in generic_aes_gcm_cipher_update()
/freebsd/lib/libc/include/
H A Dnscache.h97 int res; \
99 res = name##_mp_getstate(&mp_state); \
100 if (res != 0) \
110 int res; \
112 res = name##_mp_getstate(&mp_state); \
113 if (res != 0) \
123 int res; \
125 res = name##_mp_getstate(&mp_state); \
126 if (res != 0) \
136 int res; \
[all …]
/freebsd/sys/x86/isa/
H A Dorm.c66 struct resource *res[MAX_ROMS]; member
88 struct resource *res; in orm_identify() local
107 res = bus_alloc_resource_any(child, SYS_RES_MEMORY, &rid, in orm_identify()
109 if (res == NULL) { in orm_identify()
114 bt = rman_get_bustag(res); in orm_identify()
115 bh = rman_get_bushandle(res); in orm_identify()
129 bus_release_resource(child, SYS_RES_MEMORY, rid, res); in orm_identify()
139 res = bus_alloc_resource_any(child, SYS_RES_MEMORY, &rid, 0); in orm_identify()
140 if (res == NULL) { in orm_identify()
146 sc->res[sc->rnum] = res; in orm_identify()
[all …]
/freebsd/sys/dev/pccbb/
H A Dpccbb.c179 if (rle->res == res) { in cbb_remove_res()
194 return (rle->res); in cbb_find_res()
211 rle->res = res; in cbb_insert_res()
1184 res); in cbb_cardbus_activate_resource()
1198 res); in cbb_cardbus_deactivate_resource()
1251 if (res == NULL) { in cbb_cardbus_alloc_resource()
1262 return (res); in cbb_cardbus_alloc_resource()
1279 res)); in cbb_cardbus_release_resource()
1413 if (res == NULL) in cbb_pcic_alloc_resource()
1423 return (res); in cbb_pcic_alloc_resource()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_interceptors.cpp88 if (!res) in INTERCEPTOR()
90 return res; in INTERCEPTOR()
140 if (res != (void *)-1) { in INTERCEPTOR()
143 return res; in INTERCEPTOR()
154 if (res != (void *)-1) { in INTERCEPTOR()
157 return res; in INTERCEPTOR()
164 int res = REAL(munmap)(addr, length); in INTERCEPTOR() local
165 if (res != -1) in INTERCEPTOR()
167 return res; in INTERCEPTOR()
182 void *res = REAL(__tls_get_addr)(arg); in INTERCEPTOR() local
[all …]
/freebsd/sys/kgssapi/
H A Dgss_canonicalize_name.c48 struct canonicalize_name_res res; in gss_canonicalize_name() local
62 bzero(&res, sizeof(res)); in gss_canonicalize_name()
63 stat = gssd_canonicalize_name_1(&args, &res, cl); in gss_canonicalize_name()
70 if (res.major_status != GSS_S_COMPLETE) { in gss_canonicalize_name()
71 *minor_status = res.minor_status; in gss_canonicalize_name()
72 return (res.major_status); in gss_canonicalize_name()
76 name->handle = res.output_name; in gss_canonicalize_name()
H A Dgss_import_name.c48 struct import_name_res res; in gss_import_name() local
64 bzero(&res, sizeof(res)); in gss_import_name()
65 stat = gssd_import_name_1(&args, &res, cl); in gss_import_name()
72 if (res.major_status != GSS_S_COMPLETE) { in gss_import_name()
73 *minor_status = res.minor_status; in gss_import_name()
74 return (res.major_status); in gss_import_name()
78 name->handle = res.output_name; in gss_import_name()
/freebsd/sbin/mount/
H A Dmount.c951 char *res; in flags2opts() local
953 res = NULL; in flags2opts()
955 if (flags & MNT_RDONLY) res = catopt(res, "ro"); in flags2opts()
957 if (flags & MNT_NOEXEC) res = catopt(res, "noexec"); in flags2opts()
958 if (flags & MNT_NOSUID) res = catopt(res, "nosuid"); in flags2opts()
959 if (flags & MNT_UNION) res = catopt(res, "union"); in flags2opts()
960 if (flags & MNT_ASYNC) res = catopt(res, "async"); in flags2opts()
961 if (flags & MNT_NOATIME) res = catopt(res, "noatime"); in flags2opts()
965 if (flags & MNT_SUIDDIR) res = catopt(res, "suiddir"); in flags2opts()
967 if (flags & MNT_ACLS) res = catopt(res, "acls"); in flags2opts()
[all …]
/freebsd/lib/libc/net/
H A Dgetaddrinfo.c405 *res = NULL; in getaddrinfo()
666 if (!*res) in getaddrinfo()
1199 *res = NULL; in explore_null()
1228 *res = ai; in explore_null()
1252 *res = NULL; in explore_numeric()
1318 *res = ai; in explore_numeric()
1388 *res = NULL; in explore_numeric_scope()
1965 *res = result; in explore_fqdn()
2267 res_state res; in _dns_getaddrinfo() local
2460 for (res = res0; res; res = res->ai_next) { in _gethtent()
[all …]
/freebsd/contrib/unbound/libunbound/
H A Dlibworker.c453 res->ttl = 0; in fill_res()
462 if(!res->data) in fill_res()
465 if(!res->len) { in fill_res()
478 if(!res->data) in fill_res()
481 if(!res->len) { in fill_res()
482 free(res->data); in fill_res()
489 res->data[i] = memdup(data->rr_data[i]+2, (size_t)res->len[i]); in fill_res()
498 free(res->len); in fill_res()
541 if(res->data && res->data[0]) in libworker_enter_result()
546 res->secure = 1; in libworker_enter_result()
[all …]
/freebsd/sys/i386/i386/
H A Dcopyout.c277 int res; in fubyte() local
284 if (res != -1) in fubyte()
285 return (res); in fubyte()
290 return (res); in fubyte()
303 int res; in fuword16() local
316 return (res); in fuword16()
329 uint32_t res; in fueword() local
341 *val = res; in fueword()
427 int res; member
445 int res; in casueword32() local
[all …]
/freebsd/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.c217 int res = 0; in try_wait_for_completion() local
221 res = 1; in try_wait_for_completion()
231 int res = 0; in wait_for_completion_interruptible_timeout() local
238 if (res) in wait_for_completion_interruptible_timeout()
251 res = 0; in wait_for_completion_interruptible_timeout()
258 } else if ((res == EINTR) || (res == ERESTART)) { in wait_for_completion_interruptible_timeout()
261 KASSERT((res == 0), ("res = %d", res)); in wait_for_completion_interruptible_timeout()
269 int res = 0; in wait_for_completion_interruptible() local
274 if (res) in wait_for_completion_interruptible()
283 if ((res == EINTR) || (res == ERESTART)) in wait_for_completion_interruptible()
[all …]
/freebsd/crypto/openssl/apps/lib/
H A Ds_socket.c81 BIO_ADDRINFO *res = NULL; in init_client() local
92 &res); in init_client()
199 BIO_ADDRINFO_free(res); in init_client()
266 BIO_ADDRINFO *res = NULL; in do_server() local
279 &res)) { in do_server()
290 sock_family = BIO_ADDRINFO_family(res); in do_server()
291 sock_type = BIO_ADDRINFO_socktype(res); in do_server()
294 next = BIO_ADDRINFO_next(res); in do_server()
323 BIO_ADDRINFO_free(res); in do_server()
351 BIO_ADDRINFO_free(res); in do_server()
[all …]

12345678910>>...98