/linux-4.1.27/drivers/md/ |
H A D | dm-target.c | 21 static inline struct target_type *__find_target_type(const char *name) __find_target_type() 23 struct target_type *tt; __find_target_type() 32 static struct target_type *get_target_type(const char *name) get_target_type() 34 struct target_type *tt; get_target_type() 51 struct target_type *dm_get_target_type(const char *name) dm_get_target_type() 53 struct target_type *tt = get_target_type(name); dm_get_target_type() 63 void dm_put_target_type(struct target_type *tt) dm_put_target_type() 70 int dm_target_iterate(void (*iter_func)(struct target_type *tt, dm_target_iterate() 73 struct target_type *tt; dm_target_iterate() 83 int dm_register_target(struct target_type *tt) dm_register_target() 97 void dm_unregister_target(struct target_type *tt) dm_unregister_target() 151 static struct target_type error_target = {
|
H A D | dm.h | 74 struct target_type *dm_table_get_immutable_target_type(struct dm_table *t); 86 struct target_type *dm_get_immutable_target_type(struct mapped_device *md); 117 struct target_type *dm_get_target_type(const char *name); 118 void dm_put_target_type(struct target_type *tt); 119 int dm_target_iterate(void (*iter_func)(struct target_type *tt,
|
H A D | dm-zero.c | 56 static struct target_type zero_target = {
|
H A D | dm-linear.c | 156 static struct target_type linear_target = {
|
H A D | dm-ioctl.c | 558 static void list_version_get_needed(struct target_type *tt, void *needed_param) list_version_get_needed() 567 static void list_version_get_info(struct target_type *tt, void *param) list_version_get_info() 1133 strncpy(spec->target_type, ti->type->name, retrieve_status() 1134 sizeof(spec->target_type)); retrieve_status() 1255 r = dm_table_add_target(table, spec->target_type, populate_table() 1276 struct target_type *immutable_target_type; table_load()
|
H A D | dm-delay.c | 333 static struct target_type delay_target = {
|
H A D | dm-flakey.c | 412 static struct target_type flakey_target = {
|
H A D | dm-stripe.c | 435 static struct target_type stripe_target = {
|
H A D | dm-switch.c | 554 static struct target_type switch_target = {
|
H A D | dm-snap.c | 2346 static struct target_type origin_target = { 2360 static struct target_type snapshot_target = { 2374 static struct target_type merge_target = {
|
H A D | dm-log-writes.c | 789 static struct target_type log_writes_target = {
|
H A D | dm-verity.c | 989 static struct target_type verity_target = {
|
H A D | dm-table.c | 45 struct target_type *immutable_target_type; 926 struct target_type *dm_table_get_immutable_target_type(struct dm_table *t) dm_table_get_immutable_target_type()
|
H A D | dm-era-target.c | 1708 static struct target_type era_target = {
|
H A D | dm-raid1.c | 1416 static struct target_type mirror_target = {
|
H A D | dm.c | 162 struct target_type *immutable_target_type; 2638 struct target_type *dm_get_immutable_target_type(struct mapped_device *md) dm_get_immutable_target_type()
|
H A D | dm-mpath.c | 1706 static struct target_type multipath_target = {
|
H A D | dm-raid.c | 1703 static struct target_type raid_target = {
|
H A D | dm-crypt.c | 2055 static struct target_type crypt_target = {
|
H A D | dm-thin.c | 3665 static struct target_type pool_target = { 4043 static struct target_type thin_target = {
|
H A D | dm-cache-target.c | 3359 static struct target_type cache_target = {
|
/linux-4.1.27/security/selinux/ss/ |
H A D | avtab.c | 53 mix(keyp->target_type); avtab_hash() 108 key->target_type == cur->key.target_type && avtab_insert() 115 key->target_type < cur->key.target_type) avtab_insert() 118 key->target_type == cur->key.target_type && avtab_insert() 148 key->target_type == cur->key.target_type && avtab_insert_nonunique() 155 key->target_type < cur->key.target_type) avtab_insert_nonunique() 158 key->target_type == cur->key.target_type && avtab_insert_nonunique() 178 key->target_type == cur->key.target_type && avtab_search() 186 key->target_type < cur->key.target_type) avtab_search() 189 key->target_type == cur->key.target_type && avtab_search() 214 key->target_type == cur->key.target_type && avtab_search_node() 222 key->target_type < cur->key.target_type) avtab_search_node() 225 key->target_type == cur->key.target_type && avtab_search_node() 243 node->key.target_type == cur->key.target_type && avtab_search_node_next() 251 node->key.target_type < cur->key.target_type) avtab_search_node_next() 254 node->key.target_type == cur->key.target_type && avtab_search_node_next() 408 key.target_type = (u16)val; avtab_read_item() 409 if (key.target_type != val) { avtab_read_item() 458 key.target_type = le16_to_cpu(buf16[items++]); avtab_read_item() 463 !policydb_type_isvalid(pol, key.target_type) || avtab_read_item() 550 buf16[1] = cpu_to_le16(cur->key.target_type); avtab_write_item()
|
H A D | avtab.h | 30 u16 target_type; /* target type */ member in struct:avtab_key
|
H A D | policydb.h | 144 u32 target_type; member in struct:range_trans
|
H A D | policydb.c | 242 return (key->source_type + (key->target_type << 3) + rangetr_hash() 255 v = key1->target_type - key2->target_type; rangetr_cmp() 1863 rt->target_type = le32_to_cpu(buf[1]); range_read() 1874 !policydb_type_isvalid(p, rt->target_type) || range_read() 3222 buf[1] = cpu_to_le32(rt->target_type); range_write_helper()
|
H A D | mls.c | 524 rtr.target_type = tcontext->type; mls_compute_sid()
|
H A D | services.c | 658 avkey.target_type = j + 1; ebitmap_for_each_positive_bit() 1500 avkey.target_type = tcontext->type; security_compute_sid()
|
/linux-4.1.27/drivers/acpi/acpica/ |
H A D | exstoren.c | 58 * target_type - Current type of the target 69 acpi_object_type target_type, acpi_ex_resolve_object() 79 switch (target_type) { acpi_ex_resolve_object() 127 acpi_ut_get_type_name(target_type))); acpi_ex_resolve_object() 68 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 | exstore.c | 243 switch (index_desc->reference.target_type) { acpi_ex_store_object_to_index() 402 acpi_object_type target_type; acpi_ex_store_object_to_node() local 408 target_type = acpi_ns_get_type(node); acpi_ex_store_object_to_node() 414 acpi_ut_get_type_name(target_type))); acpi_ex_store_object_to_node() 420 status = acpi_ex_resolve_object(&source_desc, target_type, walk_state); acpi_ex_store_object_to_node() 427 switch (target_type) { acpi_ex_store_object_to_node()
|
H A D | exresolv.c | 187 switch (stack_desc->reference.target_type) { acpi_ex_resolve_object_to_value() 233 stack_desc->reference.target_type, acpi_ex_resolve_object_to_value() 436 type = obj_desc->reference.target_type; acpi_ex_resolve_multiple()
|
H A D | exoparg2.c | 381 return_desc->reference.target_type = acpi_ex_opcode_2A_1T_1R() 392 return_desc->reference.target_type = acpi_ex_opcode_2A_1T_1R() 403 return_desc->reference.target_type = ACPI_TYPE_PACKAGE; acpi_ex_opcode_2A_1T_1R()
|
H A D | exoparg1.c | 931 switch (operand[0]->reference.target_type) { acpi_ex_opcode_1A_0T_1R() 983 target_type, operand[0])); acpi_ex_opcode_1A_0T_1R()
|
H A D | acinterp.h | 415 acpi_object_type target_type,
|
H A D | acobject.h | 333 u8 target_type; /* Used for Index Op */ member in struct:acpi_object_reference
|
H A D | exdump.c | 230 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(reference.target_type), "Target Type"},
|
/linux-4.1.27/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 | 258 address = TARG_VTOP(ar->target_type, address); ath6kl_set_host_app_area() 263 address = TARG_VTOP(ar->target_type, data); ath6kl_set_host_app_area() 624 if ((ar->target_type == TARGET_TYPE_AR6003) || ath6kl_configure_target() 1209 if (ar->target_type == TARGET_TYPE_AR6003 && ath6kl_upload_board_file() 1215 switch (ar->target_type) { ath6kl_upload_board_file() 1353 if (ar->target_type != TARGET_TYPE_AR6004) { ath6kl_upload_firmware() 1423 if (ar->target_type != TARGET_TYPE_AR6003 && ath6kl_init_upload() 1424 ar->target_type != TARGET_TYPE_AR6004) ath6kl_init_upload() 1457 if (ar->target_type != TARGET_TYPE_AR6004) { ath6kl_init_upload() 1573 "target_ver 0x%x target_type 0x%x dataset_patch 0x%x app_load_addr 0x%x\n", ath6kl_init_hw_params() 1574 ar->version.target_ver, ar->target_type, ath6kl_init_hw_params()
|
H A D | core.c | 104 ar->target_type = le32_to_cpu(targ_info.type); ath6kl_core_init() 130 if (ar->target_type == TARGET_TYPE_AR6004 && ath6kl_core_init()
|
H A D | main.c | 283 address = TARG_VTOP(ar->target_type, ath6kl_read_fwlogs() 298 address = TARG_VTOP(ar->target_type, debug_hdr_addr); ath6kl_read_fwlogs() 303 address = TARG_VTOP(ar->target_type, ath6kl_read_fwlogs() 314 address = TARG_VTOP(ar->target_type, ath6kl_read_fwlogs() 330 address = TARG_VTOP(ar->target_type, ath6kl_read_fwlogs()
|
H A D | core.h | 728 u32 target_type; member in struct:ath6kl 884 if (ar->target_type == TARGET_TYPE_AR6003) ath6kl_get_hi_item_addr() 886 else if (ar->target_type == TARGET_TYPE_AR6004) ath6kl_get_hi_item_addr()
|
H A D | hif.c | 76 if (ar->target_type != TARGET_TYPE_AR6003) ath6kl_hif_dump_fw_crash() 81 address = TARG_VTOP(ar->target_type, address); ath6kl_hif_dump_fw_crash() 94 regdump_addr = TARG_VTOP(ar->target_type, regdump_addr); ath6kl_hif_dump_fw_crash()
|
H A D | debug.c | 957 TARG_VTOP(ar->target_type, addr), ath6kl_regdump_open() 973 TARG_VTOP(ar->target_type, addr), ath6kl_regdump_open()
|
/linux-4.1.27/include/scsi/ |
H A D | scsi_host.h | 878 static inline unsigned int scsi_host_dif_capable(struct Scsi_Host *shost, unsigned int target_type) scsi_host_dif_capable() argument 885 if (target_type >= ARRAY_SIZE(cap)) scsi_host_dif_capable() 888 return shost->prot_capabilities & cap[target_type] ? target_type : 0; scsi_host_dif_capable() 891 static inline unsigned int scsi_host_dix_capable(struct Scsi_Host *shost, unsigned int target_type) scsi_host_dix_capable() argument 899 if (target_type >= ARRAY_SIZE(cap)) scsi_host_dix_capable() 902 return shost->prot_capabilities & cap[target_type]; scsi_host_dix_capable()
|
/linux-4.1.27/include/linux/ |
H A D | device-mapper.h | 142 struct target_type { struct 206 struct target_type *type; 316 int dm_register_target(struct target_type *t); 317 void dm_unregister_target(struct target_type *t);
|
/linux-4.1.27/include/uapi/linux/ |
H A D | dm-ioctl.h | 169 char target_type[DM_MAX_TYPE_NAME]; member in struct:dm_target_spec
|
/linux-4.1.27/mm/ |
H A D | memcontrol.c | 5063 enum mc_target_type target_type; mem_cgroup_move_charge_pte_range() local 5082 target_type = get_mctgt_type_thp(vma, addr, *pmd, &target); mem_cgroup_move_charge_pte_range() 5083 if (target_type == MC_TARGET_PAGE) { mem_cgroup_move_charge_pte_range()
|