Home
last modified time | relevance | path

Searched refs:hints (Results 1 – 25 of 99) sorted by relevance

1234

/linux/drivers/misc/sgi-gru/
H A Dgru_instructions.h350 unsigned int tri0, int iaa, unsigned long hints) in gru_vload_phys() argument
358 (unsigned long)tri0, CB_IMA(hints))); in gru_vload_phys()
362 unsigned int tri0, int iaa, unsigned long hints) in gru_vstore_phys() argument
370 (unsigned long)tri0, CB_IMA(hints))); in gru_vstore_phys()
375 unsigned long stride, unsigned long hints) in gru_vload() argument
383 (unsigned long)tri0, CB_IMA(hints))); in gru_vload()
388 unsigned long stride, unsigned long hints) in gru_vstore() argument
396 tri0, CB_IMA(hints))); in gru_vstore()
401 unsigned long nelem, unsigned long hints) in gru_ivload() argument
409 tri0, CB_IMA(hints))); in gru_ivload()
[all …]
/linux/tools/testing/selftests/drivers/net/
H A Dnapi_id_helper.c18 struct addrinfo hints; in main() local
29 memset(&hints, 0, sizeof(hints)); in main()
30 hints.ai_family = AF_UNSPEC; in main()
31 hints.ai_socktype = SOCK_STREAM; in main()
32 hints.ai_flags = AI_PASSIVE; in main()
34 ret = getaddrinfo(argv[1], argv[2], &hints, &result); in main()
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_inq.c75 struct addrinfo *hints, in xgetaddrinfo() argument
81 err = getaddrinfo(node, service, hints, res); in xgetaddrinfo()
86 hints->ai_protocol = IPPROTO_TCP; in xgetaddrinfo()
102 struct addrinfo hints = { in sock_listen_mptcp() local
108 hints.ai_family = pf; in sock_listen_mptcp()
113 xgetaddrinfo(listenaddr, port, &hints, &addr); in sock_listen_mptcp()
114 hints.ai_family = pf; in sock_listen_mptcp()
147 struct addrinfo hints = { in sock_connect_mptcp() local
154 hints.ai_family = pf; in sock_connect_mptcp()
156 xgetaddrinfo(remoteaddr, port, &hints, in sock_connect_mptcp()
[all...]
H A Dmptcp_sockopt.c162 struct addrinfo *hints, in xgetaddrinfo() argument
168 err = getaddrinfo(node, service, hints, res); in xgetaddrinfo()
173 hints->ai_protocol = IPPROTO_TCP; in xgetaddrinfo()
189 struct addrinfo hints = { in sock_listen_mptcp() local
195 hints.ai_family = pf; in sock_listen_mptcp()
200 xgetaddrinfo(listenaddr, port, &hints, &addr); in sock_listen_mptcp()
201 hints.ai_family = pf; in sock_listen_mptcp()
234 struct addrinfo hints = { in sock_connect_mptcp() local
241 hints.ai_family = pf; in sock_connect_mptcp()
243 xgetaddrinfo(remoteaddr, port, &hints, &addr); in sock_connect_mptcp()
H A Dmptcp_connect.c183 struct addrinfo *hints, in xgetaddrinfo() argument
189 err = getaddrinfo(node, service, hints, res); in xgetaddrinfo()
199 hints->ai_protocol = IPPROTO_TCP; in xgetaddrinfo()
308 struct addrinfo hints = { in sock_listen_mptcp() local
314 hints.ai_family = pf; in sock_listen_mptcp()
319 xgetaddrinfo(listenaddr, port, &hints, &addr); in sock_listen_mptcp()
320 hints.ai_family = pf; in sock_listen_mptcp()
372 struct addrinfo hints = { in sock_connect_mptcp() local
380 hints.ai_family = pf; in sock_connect_mptcp()
382 xgetaddrinfo(remoteaddr, port, &hints, &addr); in sock_connect_mptcp()
/linux/tools/usb/usbip/src/
H A Dusbip_network.c263 struct addrinfo hints, *res, *rp; in usbip_net_tcp_connect() local
267 memset(&hints, 0, sizeof(hints)); in usbip_net_tcp_connect()
268 hints.ai_family = AF_UNSPEC; in usbip_net_tcp_connect()
269 hints.ai_socktype = SOCK_STREAM; in usbip_net_tcp_connect()
272 ret = getaddrinfo(hostname, service, &hints, &res); in usbip_net_tcp_connect()
H A Dusbipd.c428 struct addrinfo hints, *ai_head; in do_getaddrinfo() local
431 memset(&hints, 0, sizeof(hints)); in do_getaddrinfo()
432 hints.ai_family = ai_family; in do_getaddrinfo()
433 hints.ai_socktype = SOCK_STREAM; in do_getaddrinfo()
434 hints.ai_flags = AI_PASSIVE; in do_getaddrinfo()
436 rc = getaddrinfo(host, usbip_port_string, &hints, &ai_head); in do_getaddrinfo()
/linux/arch/x86/kernel/cpu/
H A Dmshyperv.c164 if (ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED) in DEFINE_IDTENTRY_SYSVEC()
496 ms_hyperv.hints = cpuid_eax(HYPERV_CPUID_ENLIGHTMENT_INFO); in ms_hyperv_init_platform()
502 ms_hyperv.ext_features, ms_hyperv.hints, in ms_hyperv_init_platform()
514 ms_hyperv.hints |= HV_DEPRECATING_AEOI_RECOMMENDED; in ms_hyperv_init_platform()
516 if (ms_hyperv.hints & HV_X64_HYPERV_NESTED) { in ms_hyperv_init_platform()
561 ms_hyperv.hints &= ~HV_X64_APIC_ACCESS_RECOMMENDED; in ms_hyperv_init_platform()
586 ms_hyperv.hints &= ~HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED; in ms_hyperv_init_platform()
/linux/drivers/gpu/drm/vboxvideo/
H A Dmodesetting.c98 struct vbva_modehint *hints) in hgsmi_get_mode_hints() argument
103 if (WARN_ON(!hints)) in hgsmi_get_mode_hints()
123 memcpy(hints, ((u8 *)p) + sizeof(struct vbva_query_mode_hints), size); in hgsmi_get_mode_hints()
/linux/lib/
H A Dtest_objagg.c912 struct objagg_hints *hints, struct objagg *objagg) in test_hints_case2() argument
921 pr_debug_hints_stats(hints); in test_hints_case2()
922 err = check_expect_hints_stats(hints, &hints_case->expect_stats_hints, in test_hints_case2()
929 objagg2 = objagg_create(&delta_ops, hints, &world2); in test_hints_case2()
965 struct objagg_hints *hints; in test_hints_case() local
992 hints = objagg_hints_get(objagg, OBJAGG_OPT_ALGO_SIMPLE_GREEDY); in test_hints_case()
993 if (IS_ERR(hints)) { in test_hints_case()
994 err = PTR_ERR(hints); in test_hints_case()
998 err = test_hints_case2(hints_case, hints, objagg); in test_hints_case()
1000 objagg_hints_put(hints); in test_hints_case()
H A Dobjagg.c51 struct objagg_hints *hints; member
232 if (!objagg->hints) { in objagg_obj_root_id_alloc()
244 min = objagg->hints->root_count; in objagg_obj_root_id_alloc()
259 if (!objagg->hints) in objagg_obj_root_id_free()
306 hnode = objagg_hints_lookup(objagg->hints, objagg_obj->obj); in objagg_obj_init_with_hints()
533 objagg->hints = objagg_hints; in objagg_create()
570 if (objagg->hints) in objagg_destroy()
571 objagg_hints_put(objagg->hints); in objagg_destroy()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_erp.c1307 struct objagg_hints *hints) in mlxsw_sp_acl_erp_table_create() argument
1317 hints, aregion); in mlxsw_sp_acl_erp_table_create()
1369 struct objagg_hints *hints, bool *p_rehash_needed) in mlxsw_sp_acl_erp_hints_check() argument
1386 hstats = objagg_hints_stats_get(hints); in mlxsw_sp_acl_erp_hints_check()
1410 struct objagg_hints *hints; in mlxsw_sp_acl_erp_rehash_hints_get() local
1415 hints = objagg_hints_get(erp_table->objagg, in mlxsw_sp_acl_erp_rehash_hints_get()
1418 if (IS_ERR(hints)) { in mlxsw_sp_acl_erp_rehash_hints_get()
1420 return ERR_CAST(hints); in mlxsw_sp_acl_erp_rehash_hints_get()
1422 err = mlxsw_sp_acl_erp_hints_check(mlxsw_sp, aregion, hints, in mlxsw_sp_acl_erp_rehash_hints_get()
1431 return hints; in mlxsw_sp_acl_erp_rehash_hints_get()
[all …]
/linux/tools/lib/python/abi/
H A Dsystem_symbols.py125 def __init__(self, abi, sysfs="/sys", hints=False): argument
145 self.hints = hints
206 if self.hints and not res["found"]:
/linux/arch/x86/hyperv/
H A Dhv_apic.c120 if (!(ms_hyperv.hints & HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED)) in __send_ipi_mask_ex()
304 if (ms_hyperv.hints & HV_X64_CLUSTER_IPI_RECOMMENDED) { in hv_apic_init()
319 if (ms_hyperv.hints & HV_X64_APIC_ACCESS_RECOMMENDED) { in hv_apic_init()
/linux/tools/testing/vsock/
H A Dcontrol.c39 struct addrinfo hints = { in control_init() local
46 ret = getaddrinfo(control_host, control_port, &hints, &result); in control_init()
/linux/tools/testing/selftests/net/
H A Dcmsg_sender.c472 struct addrinfo hints, *ai; in main() local
486 memset(&hints, 0, sizeof(hints)); in main()
487 hints.ai_family = opt.sock.family; in main()
490 err = getaddrinfo(opt.host, opt.service, &hints, &ai); in main()
H A Dtxtimestamp.c837 struct addrinfo hints = { .ai_family = do_ipv4 ? AF_INET : AF_INET6 }; in resolve_hostname() local
842 if (getaddrinfo(hostname, NULL, &hints, &addrs)) in resolve_hostname()
862 if (do_ipv6 && hints.ai_family != AF_INET6) { in resolve_hostname()
863 hints.ai_family = AF_INET6; in resolve_hostname()
/linux/tools/testing/selftests/bpf/
H A Dxdping.c90 struct addrinfo *a, hints = { .ai_family = AF_INET }; in main() local
158 /* Only supports IPv4; see hints initialization above. */ in main()
159 if (getaddrinfo(argv[optind], NULL, &hints, &a) || !a) { in main()
/linux/tools/objtool/include/objtool/
H A Dobjtool.h31 bool ignore_unreachables, hints, rodata, klp; member
/linux/include/linux/
H A Dobjagg.h29 struct objagg_hints *hints, void *priv);
/linux/Documentation/ABI/testing/
H A Dsysfs-firmware-opal-psr6 Power-Shift-Ratio allows to provide hints the firmware
/linux/include/asm-generic/
H A Dmshyperv.h42 u32 hints; member
90 return !(ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED); in hv_recommend_using_aeoi()
/linux/tools/hv/
H A Dhv_kvp_daemon.c1747 struct addrinfo hints, *info ; in kvp_get_domain_name() local
1751 memset(&hints, 0, sizeof(hints)); in kvp_get_domain_name()
1752 hints.ai_family = AF_INET; /*Get only ipv4 addrinfo. */ in kvp_get_domain_name()
1753 hints.ai_socktype = SOCK_STREAM; in kvp_get_domain_name()
1754 hints.ai_flags = AI_CANONNAME; in kvp_get_domain_name()
1756 error = getaddrinfo(buffer, NULL, &hints, &info); in kvp_get_domain_name()
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c3636 struct ena_admin_ena_hw_hints *hints) in ena_update_hints() argument
3640 if (hints->admin_completion_tx_timeout) in ena_update_hints()
3642 hints->admin_completion_tx_timeout * 1000; in ena_update_hints()
3644 if (hints->mmio_read_timeout) in ena_update_hints()
3647 hints->mmio_read_timeout * 1000; in ena_update_hints()
3649 if (hints->missed_tx_completion_count_threshold_to_reset) in ena_update_hints()
3651 hints->missed_tx_completion_count_threshold_to_reset; in ena_update_hints()
3653 if (hints->missing_tx_completion_timeout) { in ena_update_hints()
3654 if (hints->missing_tx_completion_timeout == ENA_HW_HINTS_NO_TIMEOUT) in ena_update_hints()
3658 msecs_to_jiffies(hints->missing_tx_completion_timeout); in ena_update_hints()
[all …]
/linux/drivers/ata/
H A Dlibata.h205 unsigned hints);
219 enum ata_lpm_policy policy, unsigned hints) in sata_pmp_set_lpm() argument

1234