Home
last modified time | relevance | path

Searched full:hints (Results 1 – 25 of 464) sorted by relevance

12345678910>>...19

/openbmc/linux/drivers/gpu/drm/vboxvideo/
H A Dvbox_irq.c61 * Check that the position hints provided by the host are suitable for GNOME
62 * shell (i.e. all screens disjoint and hints for all enabled screens) and if
63 * not replace them with default ones. Providing valid hints improves the
106 /* Query the host for the most recent video mode hints. */
113 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()
[all …]
H A Dmodesetting.c91 * hgsmi_get_mode_hints - Get most recent video mode hints.
94 * @screens: The number of screens to query hints for, starting at 0.
95 * @hints: Array of vbva_modehint structures for receiving the hints.
98 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/linux/drivers/misc/sgi-gru/
H A Dgru_instructions.h348 /* Convert "hints" to IMA */
360 unsigned int tri0, int iaa, unsigned long hints) in gru_vload_phys() argument
368 (unsigned long)tri0, CB_IMA(hints))); in gru_vload_phys()
372 unsigned int tri0, int iaa, unsigned long hints) in gru_vstore_phys() argument
380 (unsigned long)tri0, CB_IMA(hints))); in gru_vstore_phys()
385 unsigned long stride, unsigned long hints) in gru_vload() argument
393 (unsigned long)tri0, CB_IMA(hints))); in gru_vload()
398 unsigned long stride, unsigned long hints) in gru_vstore() argument
406 tri0, CB_IMA(hints))); in gru_vstore()
411 unsigned long nelem, unsigned long hints) in gru_ivload() argument
[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;
130 + hints.ai_socktype = SOCK_STREAM;
131 + hints.ai_flags = AI_PASSIVE | AI_NUMERICHOST;
132 + if ((ret = getaddrinfo(tok + 1, NULL, &hints, &res)) == 0) {
137 + if (ret != 0 || getaddrinfo(string, NULL, &hints, &res) != 0)
205 + struct addrinfo hints, *res;
211 + memset(&hints, 0, sizeof(hints));
212 + hints.ai_family = AF_INET6;
[all …]
/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/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()
622 hints.ai_socktype = SOCK_DGRAM; in net_init_l2tpv3()
623 hints.ai_protocol = 0; in net_init_l2tpv3()
629 hints.ai_socktype = SOCK_RAW; in net_init_l2tpv3()
630 hints.ai_protocol = IPPROTO_L2TP; in net_init_l2tpv3()
633 gairet = getaddrinfo(l2tpv3->src, srcport, &hints, &result); in net_init_l2tpv3()
654 memset(&hints, 0, sizeof(hints)); in net_init_l2tpv3()
[all …]
/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/linux/lib/
H A Dobjagg.c51 struct objagg_hints *hints; member
231 /* In case there are no hints available, the root id is invalid. */ in objagg_obj_root_id_alloc()
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()
340 /* First, try to use hints if they are available and in objagg_obj_init()
492 * @objagg_hints: hints, can be NULL
533 objagg->hints = objagg_hints; in objagg_create()
570 if (objagg->hints) in objagg_destroy()
[all …]
/openbmc/linux/include/net/
H A Dregulatory.h110 * domain programmed further regulatory hints shall only be considered
121 * domain is set, and all other regulatory hints will be ignored
125 * cfg80211 due to regulatory beacon hints. For more information on beacon
126 * hints read the documenation for regulatory_hint_found_beacon()
148 * beacon-hints, country-code IEs and hints from other devices on the same
150 * hints with other devices in the system. If a system contains several
154 * with non-locally originated hints.
/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(), nullptr, &hints, &addr); in resolveAddress()
/openbmc/linux/arch/arm64/hyperv/
H A Dmshyperv.c44 /* Get the features and hints from Hyper-V */ in hyperv_init()
51 ms_hyperv.hints = result.as32.a; in hyperv_init()
53 pr_info("Hyper-V: privilege flags low 0x%x, high 0x%x, hints 0x%x, misc 0x%x\n", in hyperv_init()
54 ms_hyperv.features, ms_hyperv.priv_high, ms_hyperv.hints, in hyperv_init()
/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/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()
/openbmc/linux/net/wireless/
H A DKconfig126 bool "cfg80211 regulatory support for cellular base station hints"
129 This option enables support for parsing regulatory hints
131 claims support for parsing cellular base station hints the
132 regulatory core will allow and parse these regulatory hints.
133 The regulatory core will only apply these regulatory hints on
/openbmc/linux/include/uapi/linux/
H A Dioprio.h67 * optionally define I/O hints for any combination of I/O priority class and
69 * the target I/O device being used, hints can influence how I/Os are processed
81 * I/O hints.
93 * one of these hints set will have the duration limit index (dld field)
/openbmc/boost-dbus/cmake/
H A DFinddbus.cmake36 HINTS ${PC_DBUS_LIBDIR}
44 HINTS ${PC_DBUS_INCLUDEDIR}
51 HINTS ${PC_DBUS_INCLUDEDIR}
/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()
/openbmc/linux/drivers/md/
H A Ddm-cache-metadata.h131 * policies are changed, then hints will be lost. If the machine crashes,
132 * hints will be lost.
134 * The hints are indexed by the cblock, but many policies will not
137 * structures and fill in the hints in whatever order it wishes.
/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/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);
632 .alias = "[hints]",
776 snd_array_init(&codec->hints, sizeof(struct hda_hint), 32); in snd_hda_sysfs_init()
789 /* clear hints */ in snd_hda_sysfs_clear()
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()
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()
1388 dev_err_ratelimited(mlxsw_sp->bus_info->dev, "Failed to get ERP hints stats\n"); 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()
1419 dev_err_ratelimited(mlxsw_sp->bus_info->dev, "Failed to create ERP hints\n"); in mlxsw_sp_acl_erp_rehash_hints_get()
1420 return ERR_CAST(hints); in mlxsw_sp_acl_erp_rehash_hints_get()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/rdma-core/rdma-core/
H A D0001-cmake-Allow-SYSTEMCTL_BIN-to-be-overridden-from-envi.patch24 -find_program(SYSTEMCTL_BIN systemctl HINTS "/usr/bin" "/bin")
26 + find_program(SYSTEMCTL_BIN systemctl HINTS "/usr/bin" "/bin")
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-typer_0.15.1.bb1 SUMMARY = "Typer, build great CLIs. Easy to code. Based on Python type hints."
3 …cations that users will love using and developers will love creating. Based on Python type hints. \
/openbmc/linux/arch/x86/kernel/cpu/
H A Dmshyperv.c125 if (ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED) in DEFINE_IDTENTRY_SYSVEC()
419 * Extract the features and hints in ms_hyperv_init_platform()
424 ms_hyperv.hints = cpuid_eax(HYPERV_CPUID_ENLIGHTMENT_INFO); in ms_hyperv_init_platform()
428 pr_info("Hyper-V: privilege flags low 0x%x, high 0x%x, hints 0x%x, misc 0x%x\n", in ms_hyperv_init_platform()
429 ms_hyperv.features, ms_hyperv.priv_high, ms_hyperv.hints, in ms_hyperv_init_platform()
458 if (ms_hyperv.hints & HV_X64_HYPERV_NESTED) { in ms_hyperv_init_platform()
505 ms_hyperv.hints &= ~HV_X64_APIC_ACCESS_RECOMMENDED; in ms_hyperv_init_platform()
515 ms_hyperv.hints &= ~HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED; in ms_hyperv_init_platform()

12345678910>>...19