Home
last modified time | relevance | path

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

12345

/linux/drivers/misc/sgi-gru/
H A Dgru_instructions.h338 /* Convert "hints" to IMA */
350 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
414 gru_ivstore(void * cb,unsigned long mem_addr,unsigned int tri0,unsigned int tri1,unsigned char xtype,unsigned long nelem,unsigned long hints) gru_ivstore() argument
427 gru_vset(void * cb,unsigned long mem_addr,unsigned long value,unsigned char xtype,unsigned long nelem,unsigned long stride,unsigned long hints) gru_vset() argument
441 gru_ivset(void * cb,unsigned long mem_addr,unsigned int tri1,unsigned long value,unsigned char xtype,unsigned long nelem,unsigned long hints) gru_ivset() argument
455 gru_vflush(void * cb,unsigned long mem_addr,unsigned long nelem,unsigned char xtype,unsigned long stride,unsigned long hints) gru_vflush() argument
466 gru_nop(void * cb,int hints) gru_nop() argument
477 gru_bcopy(void * cb,const unsigned long src,unsigned long dest,unsigned int tri0,unsigned int xtype,unsigned long nelem,unsigned int bufsize,unsigned long hints) gru_bcopy() argument
491 gru_bstore(void * cb,const unsigned long src,unsigned long dest,unsigned int tri0,unsigned int xtype,unsigned long nelem,unsigned long hints) gru_bstore() argument
503 gru_gamir(void * cb,int exopc,unsigned long src,unsigned int xtype,unsigned long hints) gru_gamir() argument
513 gru_gamirr(void * cb,int exopc,unsigned long src,unsigned int xtype,unsigned long hints) gru_gamirr() argument
525 gru_gamer(void * cb,int exopc,unsigned long src,unsigned int xtype,unsigned long operand1,unsigned long operand2,unsigned long hints) gru_gamer() argument
538 gru_gamerr(void * cb,int exopc,unsigned long src,unsigned int xtype,unsigned long operand1,unsigned long operand2,unsigned long hints) gru_gamerr() argument
550 gru_gamxr(void * cb,unsigned long src,unsigned int tri0,unsigned long hints) gru_gamxr() argument
562 gru_mesq(void * cb,unsigned long queue,unsigned long tri0,unsigned long nelem,unsigned long hints) gru_mesq() argument
[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/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 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()
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_inq.c75 struct addrinfo *hints, in xgetaddrinfo() argument
79 int err = getaddrinfo(node, service, hints, res); in xgetaddrinfo()
85 hints->ai_protocol = IPPROTO_TCP; in xgetaddrinfo()
101 struct addrinfo hints = { in sock_listen_mptcp() local
107 hints.ai_family = pf; in sock_listen_mptcp()
112 xgetaddrinfo(listenaddr, port, &hints, &addr); in sock_listen_mptcp()
113 hints.ai_family = pf; in sock_listen_mptcp()
146 struct addrinfo hints = { in sock_connect_mptcp() local
153 hints.ai_family = pf; in sock_connect_mptcp()
155 xgetaddrinfo(remoteaddr, port, &hints, in sock_connect_mptcp()
[all...]
H A Dmptcp_sockopt.c162 struct addrinfo *hints, in xgetaddrinfo() argument
166 int err = getaddrinfo(node, service, hints, res); in xgetaddrinfo()
172 hints->ai_protocol = IPPROTO_TCP; in xgetaddrinfo()
188 struct addrinfo hints = { in sock_listen_mptcp() local
194 hints.ai_family = pf; in sock_listen_mptcp()
199 xgetaddrinfo(listenaddr, port, &hints, &addr); in sock_listen_mptcp()
200 hints.ai_family = pf; in sock_listen_mptcp()
233 struct addrinfo hints = { in sock_connect_mptcp() local
240 hints.ai_family = pf; in sock_connect_mptcp()
242 xgetaddrinfo(remoteaddr, port, &hints, in sock_connect_mptcp()
[all...]
H A Dmptcp_connect.c183 struct addrinfo *hints, in xgetaddrinfo() argument
187 int err = getaddrinfo(node, service, hints, res); in xgetaddrinfo()
198 hints->ai_protocol = IPPROTO_TCP; in xgetaddrinfo()
307 struct addrinfo hints = { in sock_listen_mptcp() local
313 hints.ai_family = pf; in sock_listen_mptcp()
318 xgetaddrinfo(listenaddr, port, &hints, &addr); in sock_listen_mptcp()
319 hints.ai_family = pf; in sock_listen_mptcp()
371 struct addrinfo hints = { in sock_connect_mptcp() local
379 hints.ai_family = pf; in sock_connect_mptcp()
381 xgetaddrinfo(remoteaddr, port, &hints, in sock_connect_mptcp()
[all...]
/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.c128 if (ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED) in DEFINE_IDTENTRY_SYSVEC()
444 * Extract the features and hints in ms_hyperv_init_platform()
450 ms_hyperv.hints = cpuid_eax(HYPERV_CPUID_ENLIGHTMENT_INFO); in ms_hyperv_init_platform()
454 pr_info("Hyper-V: privilege flags low %#x, high %#x, ext %#x, hints %#x, misc %#x\n", in ms_hyperv_init_platform()
456 ms_hyperv.ext_features, ms_hyperv.hints, in ms_hyperv_init_platform()
467 if (ms_hyperv.hints & HV_X64_HYPERV_NESTED) { in ms_hyperv_init_platform()
499 ms_hyperv.hints &= ~HV_X64_APIC_ACCESS_RECOMMENDED; in ms_hyperv_init_platform()
523 ms_hyperv.hints &= ~HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED; in ms_hyperv_init_platform()
/linux/sound/hda/common/
H A Dsysfs.c271 snd_array_for_each(&codec->hints, i, hint) { in hints_show()
284 snd_array_for_each(&codec->hints, i, hint) { in get_hint()
340 if (codec->hints.used >= MAX_HINTS) in parse_hints()
343 hint = snd_array_new(&codec->hints); in parse_hints()
403 static DEVICE_ATTR_RW(hints);
630 .alias = "[hints]",
772 snd_array_init(&codec->hints, sizeof(struct hda_hint), 32); in snd_hda_sysfs_init()
785 /* clear hints */ in snd_hda_sysfs_clear()
786 snd_array_for_each(&codec->hints, i, hint) { in snd_hda_sysfs_clear()
789 snd_array_free(&codec->hints); in snd_hda_sysfs_clear()
[all...]
/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()
[all...]
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...]
/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()
1440 struct objagg_hints *hints = hints_priv; mlxsw_sp_acl_erp_rehash_hints_put() local
1449 struct objagg_hints *hints = hints_priv; mlxsw_sp_acl_erp_region_init() local
[all...]
/linux/scripts/lib/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.c115 if (!(ms_hyperv.hints & HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED)) in __send_ipi_mask_ex()
296 if (ms_hyperv.hints & HV_X64_CLUSTER_IPI_RECOMMENDED) { in hv_apic_init()
311 if (ms_hyperv.hints & HV_X64_APIC_ACCESS_RECOMMENDED) { in hv_apic_init()
H A Dmmu.c179 if (!(ms_hyperv.hints & HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED)) in hyperv_flush_tlb_others_ex()
241 if (!(ms_hyperv.hints & HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED)) in hyperv_setup_mmu_ops()
H A Dhv_spinlock.c74 !(ms_hyperv.hints & HV_X64_CLUSTER_IPI_RECOMMENDED) || in hv_init_spinlocks()
/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()
/linux/net/wireless/
H A DKconfig123 bool "cfg80211 regulatory support for cellular base station hints"
126 This option enables support for parsing regulatory hints
128 claims support for parsing cellular base station hints the
129 regulatory core will allow and parse these regulatory hints.
130 The regulatory core will only apply these regulatory hints on
/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 initiailization 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; member
/linux/include/linux/
H A Dobjagg.h29 struct objagg_hints *hints, void *priv);
/linux/tools/objtool/
H A Dobjtool.c42 file.hints = false; in objtool_open_read()

12345