Home
last modified time | relevance | path

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

/linux-6.1.9/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()
306 vm_mem_backing_src_alias(src_type)->name); in pre_init_before_test()
446 .src_type = DEFAULT_VM_MEM_SRC, in main()
469 p.src_type = parse_backing_src_type(optarg); in main()
Ddemand_paging_test.c273 enum vm_mem_backing_src_type src_type; member
289 p->src_type, p->partition_vcpu_memory_access); in run_test()
291 demand_paging_size = get_backing_src_pagesz(p->src_type); in run_test()
400 .src_type = DEFAULT_VM_MEM_SRC, in main()
427 p.src_type = parse_backing_src_type(optarg); in main()
445 !backing_src_is_shared(p.src_type)) { in main()
/linux-6.1.9/drivers/irqchip/
Dirq-sunxi-nmi.c103 unsigned int src_type; in sunxi_sc_nmi_set_type() local
110 src_type = SUNXI_SRC_TYPE_EDGE_FALLING; in sunxi_sc_nmi_set_type()
113 src_type = SUNXI_SRC_TYPE_EDGE_RISING; in sunxi_sc_nmi_set_type()
116 src_type = SUNXI_SRC_TYPE_LEVEL_HIGH; in sunxi_sc_nmi_set_type()
120 src_type = SUNXI_SRC_TYPE_LEVEL_LOW; in sunxi_sc_nmi_set_type()
138 src_type_reg |= src_type; in sunxi_sc_nmi_set_type()
/linux-6.1.9/net/bluetooth/
Dl2cap_sock.c132 chan->src_type = la.l2_bdaddr_type; in l2cap_sock_bind()
168 if (chan->psm && bdaddr_type_is_le(chan->src_type) && in l2cap_sock_bind()
232 if (chan->src_type == BDADDR_BREDR && bacmp(&chan->src, BDADDR_ANY) && in l2cap_sock_connect()
250 chan->src_type = BDADDR_LE_PUBLIC; in l2cap_sock_connect()
253 if (chan->src_type != BDADDR_BREDR && la.l2_bdaddr_type == BDADDR_BREDR) in l2cap_sock_connect()
266 if (chan->psm && bdaddr_type_is_le(chan->src_type) && in l2cap_sock_connect()
428 la->l2_bdaddr_type = chan->src_type; in l2cap_sock_getname()
475 if (bdaddr_type_is_le(chan->src_type) && in l2cap_sock_getsockopt_old()
659 if (!bdaddr_type_is_le(chan->src_type)) { in l2cap_sock_getsockopt()
674 if (!bdaddr_type_is_le(chan->src_type)) { in l2cap_sock_getsockopt()
[all …]
Diso.c53 __u8 src_type; member
256 iso_pi(sk)->src_type); in iso_connect_bis()
327 iso_pi(sk)->src_type); in iso_connect_cis()
712 iso_pi(sk)->src_type = BDADDR_LE_PUBLIC; in iso_sock_alloc()
806 iso_pi(sk)->src_type = sa->iso_bdaddr_type; in iso_sock_bind()
891 iso_pi(sk)->src_type); in iso_listen_bis()
1029 sa->iso_bdaddr_type = iso_pi(sk)->src_type; in iso_sock_getname()
1467 iso_pi(sk)->src_type = hcon->src_type; in iso_conn_ready()
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()
1987 if (link_type == ACL_LINK && c->src_type != BDADDR_BREDR) in l2cap_global_chan_by_psm()
1990 if (link_type == LE_LINK && c->src_type == BDADDR_BREDR) in l2cap_global_chan_by_psm()
4174 chan->src_type = bdaddr_src_type(conn->hcon); in l2cap_connect()
[all …]
Dhci_conn.c999 hci_copy_identity_address(hdev, &conn->src, &conn->src_type); in hci_conn_add()
1003 hci_copy_identity_address(hdev, &conn->src, &conn->src_type); in hci_conn_add()
1112 struct hci_dev *hci_get_route(bdaddr_t *dst, bdaddr_t *src, uint8_t src_type) in hci_get_route() argument
1136 if (src_type == BDADDR_BREDR) { in hci_get_route()
1155 if (!bacmp(&id_addr, src) && id_addr_type == src_type) { in hci_get_route()
Dsmp.c1324 addrinfo.addr_type = hcon->src_type; in smp_distribute_keys()
3336 chan->src_type = BDADDR_LE_PUBLIC; in smp_add_cid()
3338 chan->src_type = BDADDR_LE_RANDOM; in smp_add_cid()
3341 chan->src_type = BDADDR_BREDR; in smp_add_cid()
/linux-6.1.9/tools/testing/selftests/kvm/lib/
Dkvm_util.c813 enum vm_mem_backing_src_type src_type, in vm_userspace_mem_region_add() argument
819 size_t backing_src_pagesz = get_backing_src_pagesz(src_type); in vm_userspace_mem_region_add()
887 if (src_type == VM_MEM_SRC_ANONYMOUS_THP) in vm_userspace_mem_region_add()
897 if (backing_src_is_shared(src_type)) in vm_userspace_mem_region_add()
899 src_type == VM_MEM_SRC_SHARED_HUGETLB); in vm_userspace_mem_region_add()
903 vm_mem_backing_src_alias(src_type)->flag, in vm_userspace_mem_region_add()
908 TEST_ASSERT(!is_backing_src_hugetlb(src_type) || in vm_userspace_mem_region_add()
917 if ((src_type == VM_MEM_SRC_ANONYMOUS || in vm_userspace_mem_region_add()
918 src_type == VM_MEM_SRC_ANONYMOUS_THP) && thp_configured()) { in vm_userspace_mem_region_add()
920 src_type == VM_MEM_SRC_ANONYMOUS ? MADV_NOHUGEPAGE : MADV_HUGEPAGE); in vm_userspace_mem_region_add()
[all …]
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_hw.c606 u8 src_type, in qed_dmae_execute_sub_operation() argument
614 switch (src_type) { in qed_dmae_execute_sub_operation()
671 u8 src_type, u8 dst_type, in qed_dmae_execute_command() argument
687 src_addr, src_type, dst_addr, dst_type, in qed_dmae_execute_command()
695 (src_type == QED_DMAE_ADDRESS_GRC), in qed_dmae_execute_command()
714 if (src_type == QED_DMAE_ADDRESS_GRC) in qed_dmae_execute_command()
735 src_type, in qed_dmae_execute_command()
/linux-6.1.9/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.1.9/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.c1591 int btf__add_type(struct btf *btf, const struct btf *src_btf, const struct btf_type *src_type) in btf__add_type() argument
1597 sz = btf_type_size(src_type); in btf__add_type()
1609 memcpy(t, src_type, sz); in btf__add_type()
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Dintel_memory_region.c1214 u64 size, u32 src_type, u32 dst_type) in _perf_memcpy() argument
1241 src = create_region_for_mapping(src_mr, size, src_type, &src_addr); in _perf_memcpy()
1276 src_mr->name, repr_type(src_type), in _perf_memcpy()
1285 src_mr->name, repr_type(src_type), in _perf_memcpy()
/linux-6.1.9/tools/perf/
Dbuiltin-kwork.c383 enum kwork_trace_type src_type, in work_push_atom() argument
421 list_add_tail(&atom->list, &work->atom_list[src_type]); in work_push_atom()
428 enum kwork_trace_type src_type, in work_pop_atom() argument
458 list_add_tail(&src_atom->list, &work->atom_list[src_type]); in work_pop_atom()
/linux-6.1.9/include/net/bluetooth/
Dl2cap.h552 __u8 src_type; member
Dhci_core.h687 __u8 src_type; member
1461 struct hci_dev *hci_get_route(bdaddr_t *dst, bdaddr_t *src, u8 src_type);
/linux-6.1.9/tools/testing/selftests/kvm/include/
Dkvm_util_base.h378 enum vm_mem_backing_src_type src_type,
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h2050 u32 bnx2x_dmae_opcode(struct bnx2x *bp, u8 src_type, u8 dst_type,
2054 u8 src_type, u8 dst_type);
Dbnx2x_main.c407 u32 src_type = dmae->opcode & DMAE_COMMAND_SRC; in bnx2x_dp_dmae() local
412 if (src_type == DMAE_CMD_SRC_PCI) in bnx2x_dp_dmae()
430 if (src_type == DMAE_CMD_SRC_PCI) in bnx2x_dp_dmae()
448 if (src_type == DMAE_CMD_SRC_PCI) in bnx2x_dp_dmae()
494 u32 bnx2x_dmae_opcode(struct bnx2x *bp, u8 src_type, u8 dst_type, in bnx2x_dmae_opcode() argument
499 opcode |= ((src_type << DMAE_COMMAND_SRC_SHIFT) | in bnx2x_dmae_opcode()
521 u8 src_type, u8 dst_type) in bnx2x_prep_dmae_with_comp() argument
526 dmae->opcode = bnx2x_dmae_opcode(bp, src_type, dst_type, in bnx2x_prep_dmae_with_comp()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dqp.c2069 static int __mlx4_ib_modify_qp(void *src, enum mlx4_ib_source_type src_type, in __mlx4_ib_modify_qp() argument
2092 if (src_type == MLX4_IB_RWQ_SRC) { in __mlx4_ib_modify_qp()
2317 get_cqs(qp, src_type, &send_cq, &recv_cq); in __mlx4_ib_modify_qp()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h7202 u8 src_type; member