/linux-4.4.14/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 | 75 struct target_type *dm_table_get_immutable_target_type(struct dm_table *t); 85 struct target_type *dm_get_immutable_target_type(struct mapped_device *md); 116 struct target_type *dm_get_target_type(const char *name); 117 void dm_put_target_type(struct target_type *tt); 118 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 | 144 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 | 340 static struct target_type delay_target = {
|
H A D | dm-flakey.c | 399 static struct target_type flakey_target = {
|
H A D | dm-stripe.c | 417 static struct target_type stripe_target = {
|
H A D | dm-switch.c | 551 static struct target_type switch_target = {
|
H A D | dm-table.c | 45 struct target_type *immutable_target_type; 930 struct target_type *dm_table_get_immutable_target_type(struct dm_table *t) dm_table_get_immutable_target_type()
|
H A D | dm-snap.c | 2356 static struct target_type origin_target = { 2369 static struct target_type snapshot_target = { 2383 static struct target_type merge_target = {
|
H A D | dm-log-writes.c | 775 static struct target_type log_writes_target = {
|
H A D | dm-verity.c | 959 static struct target_type verity_target = {
|
H A D | dm-era-target.c | 1693 static struct target_type era_target = {
|
H A D | dm-mpath.c | 1685 static struct target_type multipath_target = {
|
H A D | dm-raid1.c | 1459 static struct target_type mirror_target = {
|
H A D | dm.c | 165 struct target_type *immutable_target_type; 2580 struct target_type *dm_get_immutable_target_type(struct mapped_device *md) dm_get_immutable_target_type()
|
H A D | dm-raid.c | 1719 static struct target_type raid_target = {
|
H A D | dm-crypt.c | 2062 static struct target_type crypt_target = {
|
H A D | dm-thin.c | 3885 static struct target_type pool_target = { 4261 static struct target_type thin_target = {
|
H A D | dm-cache-target.c | 3818 static struct target_type cache_target = {
|
/linux-4.4.14/security/selinux/ss/ |
H A D | avtab.c | 54 mix(keyp->target_type); avtab_hash() 122 key->target_type == cur->key.target_type && avtab_insert() 133 key->target_type < cur->key.target_type) avtab_insert() 136 key->target_type == cur->key.target_type && avtab_insert() 166 key->target_type == cur->key.target_type && avtab_insert_nonunique() 173 key->target_type < cur->key.target_type) avtab_insert_nonunique() 176 key->target_type == cur->key.target_type && avtab_insert_nonunique() 196 key->target_type == cur->key.target_type && avtab_search() 204 key->target_type < cur->key.target_type) avtab_search() 207 key->target_type == cur->key.target_type && avtab_search() 232 key->target_type == cur->key.target_type && avtab_search_node() 240 key->target_type < cur->key.target_type) avtab_search_node() 243 key->target_type == cur->key.target_type && avtab_search_node() 261 node->key.target_type == cur->key.target_type && avtab_search_node_next() 269 node->key.target_type < cur->key.target_type) avtab_search_node_next() 272 node->key.target_type == cur->key.target_type && avtab_search_node_next() 433 key.target_type = (u16)val; avtab_read_item() 434 if (key.target_type != val) { avtab_read_item() 487 key.target_type = le16_to_cpu(buf16[items++]); avtab_read_item() 492 !policydb_type_isvalid(pol, key.target_type) || avtab_read_item() 608 buf16[1] = cpu_to_le16(cur->key.target_type); avtab_write_item()
|
H A D | avtab.h | 31 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 | 247 return (key->source_type + (key->target_type << 3) + rangetr_hash() 260 v = key1->target_type - key2->target_type; rangetr_cmp() 1868 rt->target_type = le32_to_cpu(buf[1]); range_read() 1879 !policydb_type_isvalid(p, rt->target_type) || range_read() 3227 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 | 692 avkey.target_type = j + 1; ebitmap_for_each_positive_bit() 1055 avkey.target_type = j + 1; ebitmap_for_each_positive_bit() 1675 avkey.target_type = tcontext->type; security_compute_sid()
|
/linux-4.4.14/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() 403 acpi_object_type target_type; acpi_ex_store_object_to_node() local 409 target_type = acpi_ns_get_type(node); acpi_ex_store_object_to_node() 415 acpi_ut_get_type_name(target_type))); acpi_ex_store_object_to_node() 438 switch (target_type) { acpi_ex_store_object_to_node() 485 status = acpi_ex_resolve_object(&source_desc, target_type, walk_state); acpi_ex_store_object_to_node() 492 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() 232 stack_desc->reference.target_type, acpi_ex_resolve_object_to_value() 441 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() 394 return_desc->reference.target_type = acpi_ex_opcode_2A_1T_1R() 407 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 | dbobject.c | 304 switch (obj_desc->reference.target_type) { acpi_db_display_internal_object()
|
H A D | acinterp.h | 435 acpi_object_type target_type,
|
H A D | acobject.h | 334 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.4.14/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() 1210 if (ar->target_type == TARGET_TYPE_AR6003 && ath6kl_upload_board_file() 1216 switch (ar->target_type) { ath6kl_upload_board_file() 1354 if (ar->target_type != TARGET_TYPE_AR6004) { ath6kl_upload_firmware() 1424 if (ar->target_type != TARGET_TYPE_AR6003 && ath6kl_init_upload() 1425 ar->target_type != TARGET_TYPE_AR6004) ath6kl_init_upload() 1458 if (ar->target_type != TARGET_TYPE_AR6004) { ath6kl_init_upload() 1574 "target_ver 0x%x target_type 0x%x dataset_patch 0x%x app_load_addr 0x%x\n", ath6kl_init_hw_params() 1575 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 886 if (ar->target_type == TARGET_TYPE_AR6003) ath6kl_get_hi_item_addr() 888 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 | 966 TARG_VTOP(ar->target_type, addr), ath6kl_regdump_open() 982 TARG_VTOP(ar->target_type, addr), ath6kl_regdump_open()
|
/linux-4.4.14/include/scsi/ |
H A D | scsi_host.h | 876 static inline unsigned int scsi_host_dif_capable(struct Scsi_Host *shost, unsigned int target_type) scsi_host_dif_capable() argument 883 if (target_type >= ARRAY_SIZE(cap)) scsi_host_dif_capable() 886 return shost->prot_capabilities & cap[target_type] ? target_type : 0; scsi_host_dif_capable() 889 static inline unsigned int scsi_host_dix_capable(struct Scsi_Host *shost, unsigned int target_type) scsi_host_dix_capable() argument 897 if (target_type >= ARRAY_SIZE(cap)) scsi_host_dix_capable() 900 return shost->prot_capabilities & cap[target_type]; scsi_host_dix_capable()
|
/linux-4.4.14/include/linux/ |
H A D | device-mapper.h | 141 struct target_type { struct 204 struct target_type *type; 314 int dm_register_target(struct target_type *t); 315 void dm_unregister_target(struct target_type *t);
|
/linux-4.4.14/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.4.14/mm/ |
H A D | memcontrol.c | 4908 enum mc_target_type target_type; mem_cgroup_move_charge_pte_range() local 4927 target_type = get_mctgt_type_thp(vma, addr, *pmd, &target); mem_cgroup_move_charge_pte_range() 4928 if (target_type == MC_TARGET_PAGE) { mem_cgroup_move_charge_pte_range()
|