/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-target.c | 19 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 *t [all...] |
H A D | dm.h | 67 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,
|
H A D | dm-init.c | 26 * Table format: <start_sector> <num_sectors> <target_type> <target_args> 101 * <start_sector> <num_sectors> <target_type> <target_args>[, ...] 136 /* target_type */ in dm_parse_table_entry() 137 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()
|
H A D | dm-core.h | 62 struct target_type *immutable_target_type; 157 struct target_type *immutable_target_type;
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-target.c | 21 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 *t [all...] |
H A D | dm.h | 71 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,
|
H A D | dm-init.c | 29 * Table format: <start_sector> <num_sectors> <target_type> <target_args> 106 * <start_sector> <num_sectors> <target_type> <target_args>[, ...] 141 /* target_type */ in dm_parse_table_entry() 142 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()
|
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | avtab.c | 54 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 < cu in avtab_insert_nonunique() [all...] |
/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | avtab.c | 54 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 < cu in avtab_insert_nonunique() [all...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | exstore.c | 209 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 D | exstoren.c | 24 * target_type - Current type of the target 35 acpi_object_type target_type, in acpi_ex_resolve_object() 45 switch (target_type) { in acpi_ex_resolve_object() 93 acpi_ut_get_type_name(target_type))); in acpi_ex_resolve_object() 34 acpi_ex_resolve_object(union acpi_operand_object **source_desc_ptr, acpi_object_type target_type, struct acpi_walk_state *walk_state) acpi_ex_resolve_object() argument
|
H A D | exresolv.c | 153 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 D | exoparg2.c | 350 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()
|
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | exstore.c | 209 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 D | exstoren.c | 24 * target_type - Current type of the target 35 acpi_object_type target_type, in acpi_ex_resolve_object() 45 switch (target_type) { in acpi_ex_resolve_object() 93 acpi_ut_get_type_name(target_type))); in acpi_ex_resolve_object() 34 acpi_ex_resolve_object(union acpi_operand_object **source_desc_ptr, acpi_object_type target_type, struct acpi_walk_state *walk_state) acpi_ex_resolve_object() argument
|
H A D | exresolv.c | 153 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 D | exoparg2.c | 350 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()
|
/kernel/linux/linux-5.10/include/scsi/ |
H A D | scsi_host.h | 832 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()
|
/kernel/linux/linux-6.6/include/scsi/ |
H A D | scsi_host.h | 846 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/ |
H A D | target.h | 336 #define TARG_VTOP(target_type, vaddr) \ 337 (((target_type) == TARGET_TYPE_AR6003) ? AR6003_VTOP(vaddr) : \ 338 (((target_type) == TARGET_TYPE_AR6004) ? AR6004_VTOP(vaddr) : 0))
|
H A D | init.c | 259 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() 1597 "target_ver 0x%x target_type in ath6kl_init_hw_params() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/ |
H A D | target.h | 336 #define TARG_VTOP(target_type, vaddr) \ 337 (((target_type) == TARGET_TYPE_AR6003) ? AR6003_VTOP(vaddr) : \ 338 (((target_type) == TARGET_TYPE_AR6004) ? AR6004_VTOP(vaddr) : 0))
|
H A D | init.c | 259 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() 1597 "target_ver 0x%x target_type in ath6kl_init_hw_params() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | device-mapper.h | 170 struct target_type { struct 275 struct target_type *type; 354 int dm_register_target(struct target_type *t); 355 void dm_unregister_target(struct target_type *t);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | device-mapper.h | 106 * awkward #ifdefs in their target_type, etc. 185 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);
|