Home
last modified time | relevance | path

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

/linux-4.4.14/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.h75 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,
Ddm-zero.c56 static struct target_type zero_target = {
Ddm-linear.c144 static struct target_type linear_target = {
Ddm-ioctl.c558 static void list_version_get_needed(struct target_type *tt, void *needed_param) in list_version_get_needed()
567 static void list_version_get_info(struct target_type *tt, void *param) in list_version_get_info()
1133 strncpy(spec->target_type, ti->type->name, in retrieve_status()
1134 sizeof(spec->target_type)); in retrieve_status()
1255 r = dm_table_add_target(table, spec->target_type, in populate_table()
1276 struct target_type *immutable_target_type; in table_load()
Ddm-flakey.c399 static struct target_type flakey_target = {
Ddm-delay.c340 static struct target_type delay_target = {
Ddm-stripe.c417 static struct target_type stripe_target = {
Ddm-switch.c551 static struct target_type switch_target = {
Ddm-table.c45 struct target_type *immutable_target_type;
930 struct target_type *dm_table_get_immutable_target_type(struct dm_table *t) in dm_table_get_immutable_target_type()
Ddm-snap.c2356 static struct target_type origin_target = {
2369 static struct target_type snapshot_target = {
2383 static struct target_type merge_target = {
Ddm-log-writes.c775 static struct target_type log_writes_target = {
Ddm-verity.c959 static struct target_type verity_target = {
Ddm-raid1.c1459 static struct target_type mirror_target = {
Ddm-raid.c1719 static struct target_type raid_target = {
Ddm-era-target.c1693 static struct target_type era_target = {
Ddm-mpath.c1685 static struct target_type multipath_target = {
Ddm.c165 struct target_type *immutable_target_type;
2580 struct target_type *dm_get_immutable_target_type(struct mapped_device *md) in dm_get_immutable_target_type()
Ddm-thin.c3885 static struct target_type pool_target = {
4261 static struct target_type thin_target = {
Ddm-crypt.c2062 static struct target_type crypt_target = {
Ddm-cache-target.c3818 static struct target_type cache_target = {
/linux-4.4.14/security/selinux/ss/
Davtab.c54 mix(keyp->target_type); in avtab_hash()
122 key->target_type == cur->key.target_type && in avtab_insert()
133 key->target_type < cur->key.target_type) in avtab_insert()
136 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()
196 key->target_type == cur->key.target_type && in avtab_search()
204 key->target_type < cur->key.target_type) in avtab_search()
207 key->target_type == cur->key.target_type && in avtab_search()
[all …]
Davtab.h31 u16 target_type; /* target type */ member
Dpolicydb.h144 u32 target_type; member
Dpolicydb.c247 return (key->source_type + (key->target_type << 3) + in rangetr_hash()
260 v = key1->target_type - key2->target_type; in rangetr_cmp()
1868 rt->target_type = le32_to_cpu(buf[1]); in range_read()
1879 !policydb_type_isvalid(p, rt->target_type) || in range_read()
3227 buf[1] = cpu_to_le32(rt->target_type); in range_write_helper()
Dmls.c524 rtr.target_type = tcontext->type; in mls_compute_sid()
Dservices.c692 avkey.target_type = j + 1; in context_struct_compute_av()
1055 avkey.target_type = j + 1; in security_compute_xperms_decision()
1675 avkey.target_type = tcontext->type; in security_compute_sid()
/linux-4.4.14/drivers/acpi/acpica/
Dexstore.c243 switch (index_desc->reference.target_type) { in acpi_ex_store_object_to_index()
403 acpi_object_type target_type; in acpi_ex_store_object_to_node() local
409 target_type = acpi_ns_get_type(node); in acpi_ex_store_object_to_node()
415 acpi_ut_get_type_name(target_type))); in acpi_ex_store_object_to_node()
438 switch (target_type) { in acpi_ex_store_object_to_node()
485 status = acpi_ex_resolve_object(&source_desc, target_type, walk_state); in acpi_ex_store_object_to_node()
492 switch (target_type) { in acpi_ex_store_object_to_node()
Dexstoren.c69 acpi_object_type target_type, in acpi_ex_resolve_object() argument
79 switch (target_type) { in acpi_ex_resolve_object()
127 acpi_ut_get_type_name(target_type))); in acpi_ex_resolve_object()
Dexresolv.c187 switch (stack_desc->reference.target_type) { in acpi_ex_resolve_object_to_value()
232 stack_desc->reference.target_type, in acpi_ex_resolve_object_to_value()
441 type = obj_desc->reference.target_type; in acpi_ex_resolve_multiple()
Dexoparg2.c381 return_desc->reference.target_type = in acpi_ex_opcode_2A_1T_1R()
394 return_desc->reference.target_type = in acpi_ex_opcode_2A_1T_1R()
407 return_desc->reference.target_type = ACPI_TYPE_PACKAGE; in acpi_ex_opcode_2A_1T_1R()
Dexoparg1.c931 switch (operand[0]->reference.target_type) { in acpi_ex_opcode_1A_0T_1R()
983 target_type, operand[0])); in acpi_ex_opcode_1A_0T_1R()
Dacobject.h334 u8 target_type; /* Used for Index Op */ member
Ddbobject.c304 switch (obj_desc->reference.target_type) { in acpi_db_display_internal_object()
Dacinterp.h435 acpi_object_type target_type,
Dexdump.c230 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(reference.target_type), "Target Type"},
/linux-4.4.14/include/scsi/
Dscsi_host.h876 static inline unsigned int scsi_host_dif_capable(struct Scsi_Host *shost, unsigned int target_type) in scsi_host_dif_capable() argument
883 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dif_capable()
886 return shost->prot_capabilities & cap[target_type] ? target_type : 0; in scsi_host_dif_capable()
889 static inline unsigned int scsi_host_dix_capable(struct Scsi_Host *shost, unsigned int target_type) in scsi_host_dix_capable() argument
897 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dix_capable()
900 return shost->prot_capabilities & cap[target_type]; in scsi_host_dix_capable()
/linux-4.4.14/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.c258 address = TARG_VTOP(ar->target_type, address); in ath6kl_set_host_app_area()
263 address = TARG_VTOP(ar->target_type, data); in ath6kl_set_host_app_area()
624 if ((ar->target_type == TARGET_TYPE_AR6003) || in ath6kl_configure_target()
1210 if (ar->target_type == TARGET_TYPE_AR6003 && in ath6kl_upload_board_file()
1216 switch (ar->target_type) { in ath6kl_upload_board_file()
1354 if (ar->target_type != TARGET_TYPE_AR6004) { in ath6kl_upload_firmware()
1424 if (ar->target_type != TARGET_TYPE_AR6003 && in ath6kl_init_upload()
1425 ar->target_type != TARGET_TYPE_AR6004) in ath6kl_init_upload()
1458 if (ar->target_type != TARGET_TYPE_AR6004) { in ath6kl_init_upload()
1575 ar->version.target_ver, ar->target_type, in ath6kl_init_hw_params()
Dhif.c76 if (ar->target_type != TARGET_TYPE_AR6003) in ath6kl_hif_dump_fw_crash()
81 address = TARG_VTOP(ar->target_type, address); in ath6kl_hif_dump_fw_crash()
94 regdump_addr = TARG_VTOP(ar->target_type, regdump_addr); in ath6kl_hif_dump_fw_crash()
Dcore.c104 ar->target_type = le32_to_cpu(targ_info.type); in ath6kl_core_init()
130 if (ar->target_type == TARGET_TYPE_AR6004 && in ath6kl_core_init()
Dcore.h728 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()
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()
314 address = TARG_VTOP(ar->target_type, in ath6kl_read_fwlogs()
330 address = TARG_VTOP(ar->target_type, in ath6kl_read_fwlogs()
Ddebug.c966 TARG_VTOP(ar->target_type, addr), in ath6kl_regdump_open()
982 TARG_VTOP(ar->target_type, addr), in ath6kl_regdump_open()
/linux-4.4.14/include/linux/
Ddevice-mapper.h141 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/
Ddm-ioctl.h169 char target_type[DM_MAX_TYPE_NAME]; member
/linux-4.4.14/mm/
Dmemcontrol.c4908 enum mc_target_type target_type; in mem_cgroup_move_charge_pte_range() local
4927 target_type = get_mctgt_type_thp(vma, addr, *pmd, &target); in mem_cgroup_move_charge_pte_range()
4928 if (target_type == MC_TARGET_PAGE) { in mem_cgroup_move_charge_pte_range()