Home
last modified time | relevance | path

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

123

/linux/drivers/md/
A Ddm-target.c23 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()
101 void dm_unregister_target(struct target_type *tt) in dm_unregister_target()
[all …]
A Ddm.h71 struct target_type *dm_table_get_immutable_target_type(struct dm_table *t);
81 struct target_type *dm_get_immutable_target_type(struct mapped_device *md);
130 struct target_type *dm_get_target_type(const char *name);
131 void dm_put_target_type(struct target_type *tt);
132 int dm_target_iterate(void (*iter_func)(struct target_type *tt,
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()
A Ddm-core.h75 struct target_type *immutable_target_type;
205 struct target_type *immutable_target_type;
A Ddm-zero.c68 static struct target_type zero_target = {
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()
2302 r = dm_table_add_target(t, spec_array[i]->target_type, in dm_early_create()
/linux/drivers/acpi/acpica/
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()
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()
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()
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()
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()
/linux/include/scsi/
A Dscsi_host.h858 static inline unsigned int scsi_host_dif_capable(struct Scsi_Host *shost, unsigned int target_type) in scsi_host_dif_capable() argument
865 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dif_capable()
868 return shost->prot_capabilities & cap[target_type] ? target_type : 0; in scsi_host_dif_capable()
871 static inline unsigned int scsi_host_dix_capable(struct Scsi_Host *shost, unsigned int target_type) in scsi_host_dix_capable() argument
879 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dix_capable()
882 return shost->prot_capabilities & cap[target_type]; in scsi_host_dix_capable()
/linux/security/selinux/ss/
A Davtab.c53 mix(keyp->target_type); in avtab_hash()
104 key1->target_type == key2->target_type && in avtab_node_cmp()
111 key1->target_type < key2->target_type) in avtab_node_cmp()
114 key1->target_type == key2->target_type && in avtab_node_cmp()
382 key.target_type = (u16)val; in avtab_read_item()
383 if (key.target_type != val) { in avtab_read_item()
436 key.target_type = le16_to_cpu(buf16[items++]); in avtab_read_item()
441 !policydb_type_isvalid(pol, key.target_type) || in avtab_read_item()
554 buf16[1] = cpu_to_le16(cur->key.target_type); in avtab_write_item()
A Davtab.h28 u16 target_type; /* target type */ member
/linux/drivers/net/wireless/ath/ath6kl/
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))
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()
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()
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()
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()
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/include/linux/
A Ddevice-mapper.h191 struct target_type { struct
304 struct target_type *type;
429 int dm_register_target(struct target_type *t);
430 void dm_unregister_target(struct target_type *t);
/linux/drivers/cxl/core/
A Dhdm.c575 !!(cxld->target_type == CXL_DECODER_HOSTONLYMEM), in cxld_set_type()
808 cxld->target_type = CXL_DECODER_HOSTONLYMEM; in cxl_setup_hdm_decoder_from_dvsec()
884 cxld->target_type = CXL_DECODER_HOSTONLYMEM; in init_hdm_decoder()
886 cxld->target_type = CXL_DECODER_DEVMEM; in init_hdm_decoder()
913 cxld->target_type = CXL_DECODER_HOSTONLYMEM; in init_hdm_decoder()
915 cxld->target_type = CXL_DECODER_DEVMEM; in init_hdm_decoder()
918 cxld->target_type = CXL_DECODER_HOSTONLYMEM; in init_hdm_decoder()
922 cxld->target_type == CXL_DECODER_HOSTONLYMEM) { in init_hdm_decoder()
/linux/drivers/net/wireless/ath/ath10k/
A Dsnoc.h38 u32 target_type; member
/linux/Documentation/admin-guide/device-mapper/
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/
A Ddm-ioctl.h170 char target_type[DM_MAX_TYPE_NAME]; member

Completed in 48 milliseconds

123