Home
last modified time | relevance | path

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

123

/Linux-v6.6/drivers/md/
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 …]
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);
132 struct target_type *dm_get_target_type(const char *name);
133 void dm_put_target_type(struct target_type *tt);
134 int dm_target_iterate(void (*iter_func)(struct target_type *tt,
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()
Ddm-core.h73 struct target_type *immutable_target_type;
203 struct target_type *immutable_target_type;
Ddm-zero.c69 static struct target_type zero_target = {
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()
1298 strncpy(spec->target_type, ti->type->name, in retrieve_status()
1299 sizeof(spec->target_type) - 1); in retrieve_status()
1472 r = dm_table_add_target(table, spec->target_type, in populate_table()
1502 struct target_type *immutable_target_type; in table_load()
2283 r = dm_table_add_target(t, spec_array[i]->target_type, in dm_early_create()
/Linux-v6.6/security/selinux/ss/
Davtab.c54 mix(keyp->target_type); in avtab_hash()
121 key->target_type == cur->key.target_type && in avtab_insert()
132 key->target_type < cur->key.target_type) in avtab_insert()
135 key->target_type == cur->key.target_type && in avtab_insert()
166 key->target_type == cur->key.target_type && in avtab_insert_nonunique()
173 key->target_type < cur->key.target_type) in avtab_insert_nonunique()
176 key->target_type == cur->key.target_type && in avtab_insert_nonunique()
200 key->target_type == cur->key.target_type && in avtab_search_node()
208 key->target_type < cur->key.target_type) in avtab_search_node()
211 key->target_type == cur->key.target_type && in avtab_search_node()
[all …]
Davtab.h28 u16 target_type; /* target type */ member
/Linux-v6.6/drivers/acpi/acpica/
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()
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()
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()
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()
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-v6.6/include/scsi/
Dscsi_host.h846 static inline unsigned int scsi_host_dif_capable(struct Scsi_Host *shost, unsigned int target_type) in scsi_host_dif_capable() argument
853 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dif_capable()
856 return shost->prot_capabilities & cap[target_type] ? target_type : 0; in scsi_host_dif_capable()
859 static inline unsigned int scsi_host_dix_capable(struct Scsi_Host *shost, unsigned int target_type) in scsi_host_dix_capable() argument
867 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dix_capable()
870 return shost->prot_capabilities & cap[target_type]; in scsi_host_dix_capable()
/Linux-v6.6/drivers/net/wireless/ath/ath6kl/
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))
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()
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()
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()
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()
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-v6.6/include/linux/
Ddevice-mapper.h185 struct target_type { struct
298 struct target_type *type;
407 int dm_register_target(struct target_type *t);
408 void dm_unregister_target(struct target_type *t);
/Linux-v6.6/drivers/cxl/core/
Dhdm.c574 !!(cxld->target_type == CXL_DECODER_HOSTONLYMEM), in cxld_set_type()
768 cxld->target_type = CXL_DECODER_HOSTONLYMEM; in cxl_setup_hdm_decoder_from_dvsec()
844 cxld->target_type = CXL_DECODER_HOSTONLYMEM; in init_hdm_decoder()
846 cxld->target_type = CXL_DECODER_DEVMEM; in init_hdm_decoder()
871 cxld->target_type = CXL_DECODER_HOSTONLYMEM; in init_hdm_decoder()
873 cxld->target_type = CXL_DECODER_DEVMEM; in init_hdm_decoder()
876 cxld->target_type = CXL_DECODER_HOSTONLYMEM; in init_hdm_decoder()
880 cxld->target_type == CXL_DECODER_HOSTONLYMEM) { in init_hdm_decoder()
/Linux-v6.6/drivers/net/wireless/ath/ath10k/
Dsnoc.h38 u32 target_type; member
/Linux-v6.6/Documentation/admin-guide/device-mapper/
Ddm-init.rst31 <table> ::= <start_sector> <num_sectors> <target_type> <target_args>
32 <target_type> ::= "verity" | "linear" | ... (see list below)
/Linux-v6.6/include/uapi/linux/
Ddm-ioctl.h170 char target_type[DM_MAX_TYPE_NAME]; member

123