Home
last modified time | relevance | path

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

123

/Linux-v5.10/drivers/md/
Ddm-target.c19 static inline struct target_type *__find_target_type(const char *name) in __find_target_type()
21 struct target_type *tt; in __find_target_type()
30 static struct target_type *get_target_type(const char *name) in get_target_type()
32 struct target_type *tt; in get_target_type()
49 struct target_type *dm_get_target_type(const char *name) in dm_get_target_type()
51 struct target_type *tt = get_target_type(name); in dm_get_target_type()
61 void dm_put_target_type(struct target_type *tt) in dm_put_target_type()
68 int dm_target_iterate(void (*iter_func)(struct target_type *tt, in dm_target_iterate()
71 struct target_type *tt; in dm_target_iterate()
81 int dm_register_target(struct target_type *tt) in dm_register_target()
[all …]
Ddm.h67 struct target_type *dm_table_get_immutable_target_type(struct dm_table *t);
83 struct target_type *dm_get_immutable_target_type(struct mapped_device *md);
108 struct target_type *dm_get_target_type(const char *name);
109 void dm_put_target_type(struct target_type *tt);
110 int dm_target_iterate(void (*iter_func)(struct target_type *tt,
Ddm-init.c137 strscpy(sp->target_type, field[2], sizeof(sp->target_type)); in dm_parse_table_entry()
138 if (dm_verify_target_type(sp->target_type)) { in dm_parse_table_entry()
139 DMERR("invalid type \"%s\"", sp->target_type); in dm_parse_table_entry()
Ddm-core.h60 struct target_type *immutable_target_type;
151 struct target_type *immutable_target_type;
Ddm-zero.c59 static struct target_type zero_target = {
Ddm-ioctl.c570 static void list_version_get_needed(struct target_type *tt, void *needed_param) in list_version_get_needed()
579 static void list_version_get_info(struct target_type *tt, void *param) in list_version_get_info()
609 struct target_type *tt = NULL; in __list_versions()
1170 strncpy(spec->target_type, ti->type->name, in retrieve_status()
1171 sizeof(spec->target_type) - 1); in retrieve_status()
1305 r = dm_table_add_target(table, spec->target_type, in populate_table()
1335 struct target_type *immutable_target_type; in table_load()
2102 r = dm_table_add_target(t, spec_array[i]->target_type, in dm_early_create()
Ddm-unstripe.c178 static struct target_type unstripe_target = {
/Linux-v5.10/security/selinux/ss/
Davtab.c54 mix(keyp->target_type); in avtab_hash()
120 key->target_type == cur->key.target_type && in avtab_insert()
131 key->target_type < cur->key.target_type) in avtab_insert()
134 key->target_type == cur->key.target_type && in avtab_insert()
164 key->target_type == cur->key.target_type && in avtab_insert_nonunique()
171 key->target_type < cur->key.target_type) in avtab_insert_nonunique()
174 key->target_type == cur->key.target_type && in avtab_insert_nonunique()
194 key->target_type == cur->key.target_type && in avtab_search()
202 key->target_type < cur->key.target_type) in avtab_search()
205 key->target_type == cur->key.target_type && in avtab_search()
[all …]
Davtab.h28 u16 target_type; /* target type */ member
/Linux-v5.10/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.c921 switch (operand[0]->reference.target_type) { in acpi_ex_opcode_1A_0T_1R()
973 target_type, operand[0])); in acpi_ex_opcode_1A_0T_1R()
/Linux-v5.10/include/scsi/
Dscsi_host.h832 static inline unsigned int scsi_host_dif_capable(struct Scsi_Host *shost, unsigned int target_type) in scsi_host_dif_capable() argument
839 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dif_capable()
842 return shost->prot_capabilities & cap[target_type] ? target_type : 0; in scsi_host_dif_capable()
845 static inline unsigned int scsi_host_dix_capable(struct Scsi_Host *shost, unsigned int target_type) in scsi_host_dix_capable() argument
853 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dix_capable()
856 return shost->prot_capabilities & cap[target_type]; in scsi_host_dix_capable()
/Linux-v5.10/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-v5.10/include/linux/
Ddevice-mapper.h170 struct target_type { struct
262 struct target_type *type;
336 int dm_register_target(struct target_type *t);
337 void dm_unregister_target(struct target_type *t);
/Linux-v5.10/drivers/net/wireless/ath/ath10k/
Dsnoc.h36 u32 target_type; member
/Linux-v5.10/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-v5.10/include/uapi/linux/
Ddm-ioctl.h170 char target_type[DM_MAX_TYPE_NAME]; member

123