Home
last modified time | relevance | path

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

12345678

/openbmc/linux/drivers/misc/sgi-gru/
H A Dgru_instructions.h406 tri0, CB_IMA(hints))); in gru_vstore()
446 0, CB_IMA(hints))); in gru_vset()
460 0, CB_IMA(hints))); in gru_ivset()
465 unsigned long hints) in gru_vflush() argument
473 0, CB_IMA(hints))); in gru_vflush()
519 0, CB_IMA(hints))); in gru_gamir()
529 0, CB_IMA(hints))); in gru_gamirr()
535 unsigned long hints) in gru_gamer() argument
543 0, CB_IMA(hints))); in gru_gamer()
556 0, CB_IMA(hints))); in gru_gamerr()
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/
H A D11_usagi_fix.patch19 memset(&hints, 0, sizeof(hints));
20 hints.ai_family = AF_INET6;
21 hints.ai_socktype = SOCK_STREAM;
40 hints.ai_family = sin->sa_family;
41 hints.ai_socktype = SOCK_STREAM;
42 hints.ai_flags = AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST;
43 - if ((err = getaddrinfo(host->name, NULL, &hints, &res0) == 0)) {
44 + if ((err = getaddrinfo(host->name, NULL, &hints, &res0)) == 0) {
H A D10_usagi-ipv6.patch119 + struct addrinfo hints, *res;
128 + memset(&hints, 0, sizeof(hints));
129 + hints.ai_family = AF_INET6;
211 + memset(&hints, 0, sizeof(hints));
212 + hints.ai_family = AF_INET6;
545 + memset(&hints, 0, sizeof(hints));
552 + memset(&hints, 0, sizeof(hints));
785 + memset(&hints, 0, sizeof(hints));
815 + memset(&hints, 0, sizeof(hints));
964 + memset(&hints, 0, sizeof(hints));
[all …]
/openbmc/linux/drivers/gpu/drm/vboxvideo/
H A Dvbox_irq.c113 struct vbva_modehint *hints; in vbox_update_mode_hints() local
133 hints = &vbox->last_mode_hints[vbox_conn->vbox_crtc->crtc_id]; in vbox_update_mode_hints()
134 if (hints->magic != VBVAMODEHINT_MAGIC) in vbox_update_mode_hints()
137 disconnected = !(hints->enabled); in vbox_update_mode_hints()
139 vbox_conn->mode_hint.width = hints->cx; in vbox_update_mode_hints()
140 vbox_conn->mode_hint.height = hints->cy; in vbox_update_mode_hints()
141 vbox_conn->vbox_crtc->x_hint = hints->dx; in vbox_update_mode_hints()
142 vbox_conn->vbox_crtc->y_hint = hints->dy; in vbox_update_mode_hints()
154 hints->cx * 4, hints->cx, in vbox_update_mode_hints()
155 hints->cy, 0, flags); in vbox_update_mode_hints()
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()
/openbmc/phosphor-user-manager/phosphor-ldap-config/
H A Dutils.cpp52 addrinfo hints{}; in isValidLDAPURI() local
54 hints.ai_family = AF_UNSPEC; in isValidLDAPURI()
55 hints.ai_socktype = SOCK_STREAM; in isValidLDAPURI()
56 hints.ai_flags |= AI_CANONNAME; in isValidLDAPURI()
58 auto result = getaddrinfo(ludppPtr->lud_host, nullptr, &hints, &servinfo); in isValidLDAPURI()
/openbmc/phosphor-ipmi-flash/tools/
H A Dnet.cpp71 struct addrinfo hints; in sendContents() local
72 std::memset(&hints, 0, sizeof(hints)); in sendContents()
73 hints.ai_flags = AI_NUMERICHOST; in sendContents()
74 hints.ai_family = AF_UNSPEC; in sendContents()
75 hints.ai_socktype = SOCK_STREAM; in sendContents()
78 int ret = sys->getaddrinfo(host.c_str(), port.c_str(), &hints, &addrs); in sendContents()
/openbmc/qemu/net/
H A Dl2tpv3.c528 struct addrinfo hints; in net_init_l2tpv3() local
614 memset(&hints, 0, sizeof(hints)); in net_init_l2tpv3()
617 hints.ai_family = AF_INET6; in net_init_l2tpv3()
619 hints.ai_family = AF_INET; in net_init_l2tpv3()
623 hints.ai_protocol = 0; in net_init_l2tpv3()
629 hints.ai_socktype = SOCK_RAW; in net_init_l2tpv3()
654 memset(&hints, 0, sizeof(hints)); in net_init_l2tpv3()
657 hints.ai_family = AF_INET6; in net_init_l2tpv3()
659 hints.ai_family = AF_INET; in net_init_l2tpv3()
663 hints.ai_protocol = 0; in net_init_l2tpv3()
[all …]
/openbmc/ipmitool/src/plugins/
H A Dipmi_intf.c338 struct addrinfo hints; in ipmi_intf_socket_connect() local
358 memset(&hints, 0, sizeof(hints)); in ipmi_intf_socket_connect()
359 hints.ai_family = AF_UNSPEC; /* Allow IPv4 or IPv6 */ in ipmi_intf_socket_connect()
360 hints.ai_socktype = SOCK_DGRAM; /* Datagram socket */ in ipmi_intf_socket_connect()
361 hints.ai_flags = 0; /* use AI_NUMERICSERV for no name resolution */ in ipmi_intf_socket_connect()
362 hints.ai_protocol = IPPROTO_UDP; /* */ in ipmi_intf_socket_connect()
364 if (getaddrinfo(params->hostname, service, &hints, &rp0) != 0) { in ipmi_intf_socket_connect()
389 hints.ai_family = rp->ai_family; in ipmi_intf_socket_connect()
406 hints.ai_family = rp->ai_family; in ipmi_intf_socket_connect()
462 hints.ai_family = rp->ai_family; in ipmi_intf_socket_connect()
[all …]
/openbmc/phosphor-snmp/
H A Dsnmp_util.cpp48 addrinfo hints{}; in resolveAddress() local
51 hints.ai_family = AF_UNSPEC; in resolveAddress()
52 hints.ai_socktype = SOCK_STREAM; in resolveAddress()
53 hints.ai_flags |= AI_CANONNAME; in resolveAddress()
55 auto result = getaddrinfo(address.c_str(), NULL, &hints, &addr); in resolveAddress()
/openbmc/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()
/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_inq.c75 const struct addrinfo *hints, in xgetaddrinfo() argument
78 int err = getaddrinfo(node, service, hints, res); in xgetaddrinfo()
93 struct addrinfo hints = { in sock_listen_mptcp() local
99 hints.ai_family = pf; in sock_listen_mptcp()
104 xgetaddrinfo(listenaddr, port, &hints, &addr); in sock_listen_mptcp()
105 hints.ai_family = pf; in sock_listen_mptcp()
138 struct addrinfo hints = { in sock_connect_mptcp() local
145 hints.ai_family = pf; in sock_connect_mptcp()
147 xgetaddrinfo(remoteaddr, port, &hints, &addr); in sock_connect_mptcp()
H A Dmptcp_sockopt.c162 const struct addrinfo *hints, in xgetaddrinfo() argument
165 int err = getaddrinfo(node, service, hints, res); in xgetaddrinfo()
180 struct addrinfo hints = { in sock_listen_mptcp() local
186 hints.ai_family = pf; in sock_listen_mptcp()
191 xgetaddrinfo(listenaddr, port, &hints, &addr); in sock_listen_mptcp()
192 hints.ai_family = pf; in sock_listen_mptcp()
225 struct addrinfo hints = { in sock_connect_mptcp() local
232 hints.ai_family = pf; in sock_connect_mptcp()
234 xgetaddrinfo(remoteaddr, port, &hints, &addr); in sock_connect_mptcp()
/openbmc/phosphor-logging/phosphor-rsyslog-config/
H A Dserver-conf.cpp258 addrinfo hints{}; in addressValid() local
260 hints.ai_family = AF_UNSPEC; in addressValid()
261 hints.ai_socktype = SOCK_STREAM; in addressValid()
262 hints.ai_flags |= AI_CANONNAME; in addressValid()
264 auto result = getaddrinfo(address.c_str(), nullptr, &hints, &res); in addressValid()
/openbmc/linux/arch/x86/kernel/cpu/
H A Dmshyperv.c126 if (ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED) in DEFINE_IDTENTRY_SYSVEC()
368 ms_hyperv.hints = cpuid_eax(HYPERV_CPUID_ENLIGHTMENT_INFO); in ms_hyperv_init_platform()
373 ms_hyperv.features, ms_hyperv.priv_high, ms_hyperv.hints, in ms_hyperv_init_platform()
402 if (ms_hyperv.hints & HV_X64_HYPERV_NESTED) { in ms_hyperv_init_platform()
448 ms_hyperv.hints &= ~HV_X64_APIC_ACCESS_RECOMMENDED; in ms_hyperv_init_platform()
458 ms_hyperv.hints &= ~HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED; in ms_hyperv_init_platform()
/openbmc/linux/arch/arm64/hyperv/
H A Dmshyperv.c51 ms_hyperv.hints = result.as32.a; in hyperv_init()
54 ms_hyperv.features, ms_hyperv.priv_high, ms_hyperv.hints, in hyperv_init()
/openbmc/qemu/tests/unit/
H A Dcrypto-tls-x509-helpers.c169 struct addrinfo hints; in test_tls_get_ipaddr() local
171 memset(&hints, 0, sizeof(hints)); in test_tls_get_ipaddr()
172 hints.ai_flags = AI_NUMERICHOST; in test_tls_get_ipaddr()
173 g_assert(getaddrinfo(addrstr, NULL, &hints, &res) == 0); in test_tls_get_ipaddr()
/openbmc/openbmc/poky/meta/recipes-support/apr/apr-util/
H A Dconfigure_fixes.patch13 -sinclude(build/apu-hints.m4)
22 +#sinclude(build/apu-hints.m4)
/openbmc/linux/sound/pci/hda/
H A Dhda_sysfs.c273 snd_array_for_each(&codec->hints, i, hint) { in hints_show()
286 snd_array_for_each(&codec->hints, i, hint) { in get_hint()
342 if (codec->hints.used >= MAX_HINTS) in parse_hints()
345 hint = snd_array_new(&codec->hints); in parse_hints()
405 static DEVICE_ATTR_RW(hints);
776 snd_array_init(&codec->hints, sizeof(struct hda_hint), 32); in snd_hda_sysfs_init()
790 snd_array_for_each(&codec->hints, i, hint) { in snd_hda_sysfs_clear()
793 snd_array_free(&codec->hints); in snd_hda_sysfs_clear()
/openbmc/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()
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
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()
1431 return hints; in mlxsw_sp_acl_erp_rehash_hints_get()
1434 objagg_hints_put(hints); in mlxsw_sp_acl_erp_rehash_hints_get()
1440 struct objagg_hints *hints = hints_priv; in mlxsw_sp_acl_erp_rehash_hints_put() local
1442 objagg_hints_put(hints); in mlxsw_sp_acl_erp_rehash_hints_put()
[all …]
/openbmc/linux/arch/x86/hyperv/
H A Dhv_apic.c115 if (!(ms_hyperv.hints & HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED)) in __send_ipi_mask_ex()
291 if (ms_hyperv.hints & HV_X64_CLUSTER_IPI_RECOMMENDED) { in hv_apic_init()
306 if (ms_hyperv.hints & HV_X64_APIC_ACCESS_RECOMMENDED) { in hv_apic_init()
/openbmc/linux/lib/
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()
/openbmc/phosphor-ipmi-flash/internal/
H A Dsys.cpp119 const struct addrinfo* hints, in getaddrinfo() argument
122 return ::getaddrinfo(node, service, hints, res); in getaddrinfo()
/openbmc/linux/tools/testing/selftests/net/
H A Dcmsg_sender.c417 struct addrinfo hints, *ai; in main() local
430 memset(&hints, 0, sizeof(hints)); in main()
431 hints.ai_family = opt.sock.family; in main()
434 err = getaddrinfo(opt.host, opt.service, &hints, &ai); in main()

12345678