Home
last modified time | relevance | path

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

123

/linux/drivers/md/
H A Ddm-target.c21 static inline struct target_type *__find_target_type(const char *name) in __find_target_type()
23 struct target_type *tt; in __find_target_type()
32 static struct target_type *get_target_type(const char *name) in get_target_type()
34 struct target_type *tt; in get_target_type()
51 struct target_type *dm_get_target_type(const char *name) in dm_get_target_type()
53 struct target_type *tt = get_target_type(name); in dm_get_target_type()
63 void dm_put_target_type(struct target_type *tt) in dm_put_target_type()
70 int dm_target_iterate(void (*iter_func)(struct target_type *tt, in dm_target_iterate()
73 struct target_type *tt; in dm_target_iterate()
83 int dm_register_target(struct target_type *tt) in dm_register_target()
[all …]
H A Ddm-init.c142 strscpy(sp->target_type, field[2], sizeof(sp->target_type)); in dm_parse_table_entry()
143 if (dm_verify_target_type(sp->target_type)) { in dm_parse_table_entry()
144 DMERR("invalid type \"%s\"", sp->target_type); in dm_parse_table_entry()
H A Ddm-ioctl.c672 static void list_version_get_needed(struct target_type *tt, void *needed_param) in list_version_get_needed()
681 static void list_version_get_info(struct target_type *tt, void *param) in list_version_get_info()
709 struct target_type *tt = NULL; in __list_versions()
1316 strscpy_pad(spec->target_type, ti->type->name, in retrieve_status()
1317 sizeof(spec->target_type)); in retrieve_status()
1490 r = dm_table_add_target(table, spec->target_type, in populate_table()
1520 struct target_type *immutable_target_type; in table_load()
2298 r = dm_table_add_target(t, spec_array[i]->target_type, in dm_early_create()
H A Ddm-unstripe.c183 static struct target_type unstripe_target = {
H A Ddm-linear.c202 static struct target_type linear_target = {
/linux/drivers/acpi/acpica/
H A Dexstore.c209 switch (index_desc->reference.target_type) { in acpi_ex_store_object_to_index()
369 acpi_object_type target_type; in acpi_ex_store_object_to_node() local
375 target_type = acpi_ns_get_type(node); in acpi_ex_store_object_to_node()
381 acpi_ut_get_type_name(target_type))); in acpi_ex_store_object_to_node()
404 switch (target_type) { in acpi_ex_store_object_to_node()
452 status = acpi_ex_resolve_object(&source_desc, target_type, walk_state); in acpi_ex_store_object_to_node()
459 switch (target_type) { in acpi_ex_store_object_to_node()
H A Dexstoren.c35 acpi_object_type target_type, in acpi_ex_resolve_object() argument
45 switch (target_type) { in acpi_ex_resolve_object()
93 acpi_ut_get_type_name(target_type))); in acpi_ex_resolve_object()
H A Dexresolv.c153 switch (stack_desc->reference.target_type) { in acpi_ex_resolve_object_to_value()
200 stack_desc->reference.target_type, in acpi_ex_resolve_object_to_value()
421 type = obj_desc->reference.target_type; in acpi_ex_resolve_multiple()
H A Dexoparg2.c350 return_desc->reference.target_type = in acpi_ex_opcode_2A_1T_1R()
363 return_desc->reference.target_type = in acpi_ex_opcode_2A_1T_1R()
376 return_desc->reference.target_type = ACPI_TYPE_PACKAGE; in acpi_ex_opcode_2A_1T_1R()
H A Dexoparg1.c942 switch (operand[0]->reference.target_type) { in acpi_ex_opcode_1A_0T_1R()
994 target_type, operand[0])); in acpi_ex_opcode_1A_0T_1R()
H A Ddbobject.c277 switch (obj_desc->reference.target_type) { in acpi_db_display_internal_object()
H A Dacobject.h343 u8 target_type; /* Used for Index Op */ member
/linux/include/scsi/
H A Dscsi_host.h889 static inline unsigned int scsi_host_dif_capable(struct Scsi_Host *shost, unsigned int target_type) in scsi_host_dif_capable()
896 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dif_capable()
899 return shost->prot_capabilities & cap[target_type] ? target_type : 0; in scsi_host_dix_capable()
902 static inline unsigned int scsi_host_dix_capable(struct Scsi_Host *shost, unsigned int target_type) in scsi_host_dix_capable()
910 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dix_capable()
913 return shost->prot_capabilities & cap[target_type];
885 scsi_host_dif_capable(struct Scsi_Host * shost,unsigned int target_type) scsi_host_dif_capable() argument
898 scsi_host_dix_capable(struct Scsi_Host * shost,unsigned int target_type) scsi_host_dix_capable() argument
/linux/security/selinux/ss/
H A Davtab.c30 return av_hash((u32)keyp->target_class, (u32)keyp->target_type, in avtab_hash()
71 key1->target_type == key2->target_type && in avtab_node_cmp()
78 key1->target_type < key2->target_type) in avtab_node_cmp()
81 key1->target_type == key2->target_type && in avtab_node_cmp()
349 key.target_type = (u16)val; in avtab_read_item()
350 if (key.target_type != val) { in avtab_read_item()
403 key.target_type = le16_to_cpu(buf16[items++]); in avtab_read_item()
408 !policydb_type_isvalid(pol, key.target_type) || in avtab_read_item()
528 buf16[1] = cpu_to_le16(cur->key.target_type); in avtab_write_item()
H A Dpolicydb.h141 u32 target_type; member
/linux/drivers/net/wireless/ath/ath6kl/
H A Dtarget.h336 #define TARG_VTOP(target_type, vaddr) \ argument
337 (((target_type) == TARGET_TYPE_AR6003) ? AR6003_VTOP(vaddr) : \
338 (((target_type) == TARGET_TYPE_AR6004) ? AR6004_VTOP(vaddr) : 0))
H A Dinit.c259 address = TARG_VTOP(ar->target_type, address); in ath6kl_set_host_app_area()
264 address = TARG_VTOP(ar->target_type, data); in ath6kl_set_host_app_area()
625 if ((ar->target_type == TARGET_TYPE_AR6003) || in ath6kl_configure_target()
1233 if (ar->target_type == TARGET_TYPE_AR6003 && in ath6kl_upload_board_file()
1239 switch (ar->target_type) { in ath6kl_upload_board_file()
1377 if (ar->target_type != TARGET_TYPE_AR6004) { in ath6kl_upload_firmware()
1447 if (ar->target_type != TARGET_TYPE_AR6003 && in ath6kl_init_upload()
1448 ar->target_type != TARGET_TYPE_AR6004) in ath6kl_init_upload()
1481 if (ar->target_type != TARGET_TYPE_AR6004) { in ath6kl_init_upload()
1598 ar->version.target_ver, ar->target_type, in ath6kl_init_hw_params()
H A Dcore.c106 ar->target_type = le32_to_cpu(targ_info.type); in ath6kl_core_init()
132 if (ar->target_type == TARGET_TYPE_AR6004 && in ath6kl_core_init()
H A Dcore.h727 u32 target_type; member
886 if (ar->target_type == TARGET_TYPE_AR6003) in ath6kl_get_hi_item_addr()
888 else if (ar->target_type == TARGET_TYPE_AR6004) in ath6kl_get_hi_item_addr()
H A Dhif.c78 address = TARG_VTOP(ar->target_type, address); in ath6kl_hif_dump_fw_crash()
91 regdump_addr = TARG_VTOP(ar->target_type, regdump_addr); in ath6kl_hif_dump_fw_crash()
H A Dmain.c283 address = TARG_VTOP(ar->target_type, in ath6kl_read_fwlogs()
298 address = TARG_VTOP(ar->target_type, debug_hdr_addr); in ath6kl_read_fwlogs()
303 address = TARG_VTOP(ar->target_type, in ath6kl_read_fwlogs()
313 address = TARG_VTOP(ar->target_type, in ath6kl_read_fwlogs()
329 address = TARG_VTOP(ar->target_type, in ath6kl_read_fwlogs()
/linux/drivers/cxl/core/
H A Dhdm.c714 !!(cxld->target_type == CXL_DECODER_HOSTONLYMEM), in cxld_set_type()
953 cxld->target_type = CXL_DECODER_HOSTONLYMEM; in cxl_setup_hdm_decoder_from_dvsec()
1029 cxld->target_type = CXL_DECODER_HOSTONLYMEM; in init_hdm_decoder()
1031 cxld->target_type = CXL_DECODER_DEVMEM; in init_hdm_decoder()
1058 cxld->target_type = CXL_DECODER_HOSTONLYMEM; in init_hdm_decoder()
1060 cxld->target_type = CXL_DECODER_DEVMEM; in init_hdm_decoder()
1063 cxld->target_type = CXL_DECODER_HOSTONLYMEM; in init_hdm_decoder()
1067 cxld->target_type == CXL_DECODER_HOSTONLYMEM) { in init_hdm_decoder()
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-init.rst31 <table> ::= <start_sector> <num_sectors> <target_type> <target_args>
32 <target_type> ::= "verity" | "linear" | ... (see list below)
/linux/include/uapi/linux/
H A Ddm-ioctl.h170 char target_type[DM_MAX_TYPE_NAME]; member
/linux/drivers/iommu/
H A Diommu.c140 int target_type);
1855 int target_type) in iommu_get_default_domain_type() argument
1913 if (target_type) { in iommu_get_default_domain_type()
1914 if (driver_type && target_type != driver_type) in iommu_get_default_domain_type()
1916 return target_type; in iommu_get_default_domain_type()
3072 int target_type) in iommu_setup_default_domain() argument
3083 req_type = iommu_get_default_domain_type(group, target_type); in iommu_setup_default_domain()

123