Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/kvm/
Dkvm_page_table_test.c57 enum vm_mem_backing_src_type src_type; member
134 if (p->src_type == VM_MEM_SRC_ANONYMOUS) { in guest_code()
234 enum vm_mem_backing_src_type src_type; member
241 enum vm_mem_backing_src_type src_type = p->src_type; in pre_init_before_test() local
242 uint64_t large_page_size = get_backing_src_pagesz(src_type); in pre_init_before_test()
279 test_args.src_type = src_type; in pre_init_before_test()
282 vm_userspace_mem_region_add(vm, src_type, guest_test_phys_mem, in pre_init_before_test()
305 vm_mem_backing_src_alias(src_type)->name); in pre_init_before_test()
444 .src_type = DEFAULT_VM_MEM_SRC, in main()
467 p.src_type = parse_backing_src_type(optarg); in main()
Ddemand_paging_test.c114 enum vm_mem_backing_src_type src_type; member
140 p->src_type, p->partition_vcpu_memory_access); in run_test()
142 demand_paging_size = get_backing_src_pagesz(p->src_type); in run_test()
235 .src_type = DEFAULT_VM_MEM_SRC, in main()
262 p.src_type = parse_backing_src_type(optarg); in main()
283 !backing_src_is_shared(p.src_type)) { in main()
/linux-6.6.21/drivers/irqchip/
Dirq-sunxi-nmi.c102 unsigned int src_type; in sunxi_sc_nmi_set_type() local
109 src_type = SUNXI_SRC_TYPE_EDGE_FALLING; in sunxi_sc_nmi_set_type()
112 src_type = SUNXI_SRC_TYPE_EDGE_RISING; in sunxi_sc_nmi_set_type()
115 src_type = SUNXI_SRC_TYPE_LEVEL_HIGH; in sunxi_sc_nmi_set_type()
119 src_type = SUNXI_SRC_TYPE_LEVEL_LOW; in sunxi_sc_nmi_set_type()
137 src_type_reg |= src_type; in sunxi_sc_nmi_set_type()
/linux-6.6.21/tools/testing/selftests/kvm/aarch64/
Dpage_fault_test.c70 enum vm_mem_backing_src_type src_type; member
578 uint64_t backing_src_pagesz = get_backing_src_pagesz(p->src_type); in setup_memslots()
604 vm_userspace_mem_region_add(vm, p->src_type, data_gpa - pt_size, in setup_memslots()
609 vm_userspace_mem_region_add(vm, p->src_type, data_gpa, TEST_DATA_MEMSLOT, in setup_memslots()
645 vm_mem_backing_src_alias(p->src_type)->name); in print_test_banner()
1092 static void for_each_test_and_guest_mode(enum vm_mem_backing_src_type src_type) in for_each_test_and_guest_mode() argument
1101 .src_type = src_type, in for_each_test_and_guest_mode()
1111 enum vm_mem_backing_src_type src_type; in main() local
1114 src_type = DEFAULT_VM_MEM_SRC; in main()
1122 src_type = parse_backing_src_type(optarg); in main()
[all …]
/linux-6.6.21/net/bluetooth/
Dl2cap_sock.c133 chan->src_type = la.l2_bdaddr_type; in l2cap_sock_bind()
169 if (chan->psm && bdaddr_type_is_le(chan->src_type) && in l2cap_sock_bind()
218 if (chan->src_type == BDADDR_BREDR && bacmp(&chan->src, BDADDR_ANY) && in l2cap_sock_connect()
236 chan->src_type = BDADDR_LE_PUBLIC; in l2cap_sock_connect()
239 if (chan->src_type != BDADDR_BREDR && la.l2_bdaddr_type == BDADDR_BREDR) in l2cap_sock_connect()
252 if (chan->psm && bdaddr_type_is_le(chan->src_type) && in l2cap_sock_connect()
410 la->l2_bdaddr_type = chan->src_type; in l2cap_sock_getname()
457 if (bdaddr_type_is_le(chan->src_type) && in l2cap_sock_getsockopt_old()
641 if (!bdaddr_type_is_le(chan->src_type)) { in l2cap_sock_getsockopt()
656 if (!bdaddr_type_is_le(chan->src_type)) { in l2cap_sock_getsockopt()
[all …]
Diso.c61 __u8 src_type; member
311 iso_pi(sk)->src_type); in iso_connect_bis()
402 iso_pi(sk)->src_type); in iso_connect_cis()
787 iso_pi(sk)->src_type = BDADDR_LE_PUBLIC; in iso_sock_alloc()
881 iso_pi(sk)->src_type = sa->iso_bdaddr_type; in iso_sock_bind()
966 iso_pi(sk)->src_type); in iso_listen_bis()
1108 sa->iso_bdaddr_type = iso_pi(sk)->src_type; in iso_sock_getname()
1207 iso_pi(sk)->src_type); in iso_conn_big_sync()
1678 if (hcon->src_type == ADDR_LE_DEV_PUBLIC) in iso_conn_ready()
1679 iso_pi(sk)->src_type = BDADDR_LE_PUBLIC; in iso_conn_ready()
[all …]
D6lowpan.c704 &chan->src, chan->src_type); in setup_netdev()
936 chan->src_type = BDADDR_LE_PUBLIC; in bt_6lowpan_listen()
940 BT_DBG("chan %p src type %u", chan, chan->src_type); in bt_6lowpan_listen()
Dl2cap_core.c82 return bdaddr_type(hcon->type, hcon->src_type); in bdaddr_src_type()
189 u8 src_type) in __l2cap_global_chan_by_addr() argument
194 if (src_type == BDADDR_BREDR && c->src_type != BDADDR_BREDR) in __l2cap_global_chan_by_addr()
197 if (src_type != BDADDR_BREDR && c->src_type == BDADDR_BREDR) in __l2cap_global_chan_by_addr()
212 if (psm && __l2cap_global_chan_by_addr(psm, src, chan->src_type)) { in l2cap_add_psm()
224 if (chan->src_type == BDADDR_BREDR) { in l2cap_add_psm()
237 chan->src_type)) { in l2cap_add_psm()
1983 if (link_type == ACL_LINK && c->src_type != BDADDR_BREDR) in l2cap_global_chan_by_psm()
1986 if (link_type == LE_LINK && c->src_type == BDADDR_BREDR) in l2cap_global_chan_by_psm()
4189 chan->src_type = bdaddr_src_type(conn->hcon); in l2cap_connect()
[all …]
Dhci_conn.c981 hci_copy_identity_address(hdev, &conn->src, &conn->src_type); in hci_conn_add()
985 hci_copy_identity_address(hdev, &conn->src, &conn->src_type); in hci_conn_add()
1162 struct hci_dev *hci_get_route(bdaddr_t *dst, bdaddr_t *src, uint8_t src_type) in hci_get_route() argument
1186 if (src_type == BDADDR_BREDR) { in hci_get_route()
1205 if (!bacmp(&id_addr, src) && id_addr_type == src_type) { in hci_get_route()
Dsmp.c1338 addrinfo.addr_type = hcon->src_type; in smp_distribute_keys()
3350 chan->src_type = BDADDR_LE_PUBLIC; in smp_add_cid()
3352 chan->src_type = BDADDR_LE_RANDOM; in smp_add_cid()
3355 chan->src_type = BDADDR_BREDR; in smp_add_cid()
/linux-6.6.21/tools/testing/selftests/kvm/lib/
Dkvm_util.c924 enum vm_mem_backing_src_type src_type, in vm_userspace_mem_region_add() argument
930 size_t backing_src_pagesz = get_backing_src_pagesz(src_type); in vm_userspace_mem_region_add()
998 if (src_type == VM_MEM_SRC_ANONYMOUS_THP) in vm_userspace_mem_region_add()
1008 if (backing_src_is_shared(src_type)) in vm_userspace_mem_region_add()
1010 src_type == VM_MEM_SRC_SHARED_HUGETLB); in vm_userspace_mem_region_add()
1014 vm_mem_backing_src_alias(src_type)->flag, in vm_userspace_mem_region_add()
1019 TEST_ASSERT(!is_backing_src_hugetlb(src_type) || in vm_userspace_mem_region_add()
1028 if ((src_type == VM_MEM_SRC_ANONYMOUS || in vm_userspace_mem_region_add()
1029 src_type == VM_MEM_SRC_ANONYMOUS_THP) && thp_configured()) { in vm_userspace_mem_region_add()
1031 src_type == VM_MEM_SRC_ANONYMOUS ? MADV_NOHUGEPAGE : MADV_HUGEPAGE); in vm_userspace_mem_region_add()
[all …]
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_hw.c624 u8 src_type, in qed_dmae_execute_sub_operation() argument
632 switch (src_type) { in qed_dmae_execute_sub_operation()
689 u8 src_type, u8 dst_type, in qed_dmae_execute_command() argument
705 src_addr, src_type, dst_addr, dst_type, in qed_dmae_execute_command()
713 (src_type == QED_DMAE_ADDRESS_GRC), in qed_dmae_execute_command()
732 if (src_type == QED_DMAE_ADDRESS_GRC) in qed_dmae_execute_command()
753 src_type, in qed_dmae_execute_command()
/linux-6.6.21/drivers/dma/
Ddma-axi-dmac.c132 unsigned int src_type; member
183 return chan->src_type == AXI_DMAC_BUS_TYPE_AXI_MM; in axi_dmac_src_is_mem()
771 chan->src_type = val; in axi_dmac_parse_chan_dt()
833 chan->src_type = val; in axi_dmac_read_chan_config()
889 chan->src_type == AXI_DMAC_BUS_TYPE_AXI_MM) { in axi_dmac_detect_caps()
/linux-6.6.21/tools/lib/bpf/
Dbpf_core_read.h316 #define ___read(read_fn, dst, src_type, src, accessor) \ argument
317 read_fn((void *)(dst), sizeof(*(dst)), &((src_type)(src))->accessor)
Dbtf.h152 const struct btf_type *src_type);
Dbtf.c1603 int btf__add_type(struct btf *btf, const struct btf *src_btf, const struct btf_type *src_type) in btf__add_type() argument
1609 sz = btf_type_size(src_type); in btf__add_type()
1621 memcpy(t, src_type, sz); in btf__add_type()
/linux-6.6.21/drivers/gpu/drm/i915/selftests/
Dintel_memory_region.c1216 u64 size, u32 src_type, u32 dst_type) in _perf_memcpy() argument
1243 src = create_region_for_mapping(src_mr, size, src_type, &src_addr); in _perf_memcpy()
1278 src_mr->name, repr_type(src_type), in _perf_memcpy()
1287 src_mr->name, repr_type(src_type), in _perf_memcpy()
/linux-6.6.21/tools/perf/
Dbuiltin-kwork.c390 enum kwork_trace_type src_type, in work_push_atom() argument
430 list_add_tail(&atom->list, &work->atom_list[src_type]); in work_push_atom()
437 enum kwork_trace_type src_type, in work_pop_atom() argument
467 list_add_tail(&src_atom->list, &work->atom_list[src_type]); in work_pop_atom()
/linux-6.6.21/include/net/bluetooth/
Dl2cap.h552 __u8 src_type; member
Dhci_core.h700 __u8 src_type; member
1625 struct hci_dev *hci_get_route(bdaddr_t *dst, bdaddr_t *src, u8 src_type);
/linux-6.6.21/tools/testing/selftests/kvm/include/
Dkvm_util_base.h439 enum vm_mem_backing_src_type src_type,
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h2051 u32 bnx2x_dmae_opcode(struct bnx2x *bp, u8 src_type, u8 dst_type,
2055 u8 src_type, u8 dst_type);
Dbnx2x_main.c406 u32 src_type = dmae->opcode & DMAE_COMMAND_SRC; in bnx2x_dp_dmae() local
411 if (src_type == DMAE_CMD_SRC_PCI) in bnx2x_dp_dmae()
429 if (src_type == DMAE_CMD_SRC_PCI) in bnx2x_dp_dmae()
447 if (src_type == DMAE_CMD_SRC_PCI) in bnx2x_dp_dmae()
493 u32 bnx2x_dmae_opcode(struct bnx2x *bp, u8 src_type, u8 dst_type, in bnx2x_dmae_opcode() argument
498 opcode |= ((src_type << DMAE_COMMAND_SRC_SHIFT) | in bnx2x_dmae_opcode()
520 u8 src_type, u8 dst_type) in bnx2x_prep_dmae_with_comp() argument
525 dmae->opcode = bnx2x_dmae_opcode(bp, src_type, dst_type, in bnx2x_prep_dmae_with_comp()
/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dqp.c2108 static int __mlx4_ib_modify_qp(void *src, enum mlx4_ib_source_type src_type, in __mlx4_ib_modify_qp() argument
2131 if (src_type == MLX4_IB_RWQ_SRC) { in __mlx4_ib_modify_qp()
2356 get_cqs(qp, src_type, &send_cq, &recv_cq); in __mlx4_ib_modify_qp()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h6894 u8 src_type; member