Home
last modified time | relevance | path

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

12

/linux-3.4.99/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.h65 struct target_type *dm_table_get_immutable_target_type(struct dm_table *t);
78 struct target_type *dm_get_immutable_target_type(struct mapped_device *md);
97 struct target_type *dm_get_target_type(const char *name);
98 void dm_put_target_type(struct target_type *tt);
99 int dm_target_iterate(void (*iter_func)(struct target_type *tt,
Ddm-zero.c57 static struct target_type zero_target = {
Ddm-ioctl.c536 static void list_version_get_needed(struct target_type *tt, void *needed_param) in list_version_get_needed()
545 static void list_version_get_info(struct target_type *tt, void *param) in list_version_get_info()
1082 strncpy(spec->target_type, ti->type->name, in retrieve_status()
1083 sizeof(spec->target_type)); in retrieve_status()
1202 r = dm_table_add_target(table, spec->target_type, in populate_table()
1223 struct target_type *immutable_target_type; in table_load()
Ddm-linear.c155 static struct target_type linear_target = {
Ddm-flakey.c406 static struct target_type flakey_target = {
Ddm-delay.c345 static struct target_type delay_target = {
/linux-3.4.99/security/selinux/ss/
Davtab.c30 return ((keyp->target_class + (keyp->target_type << 2) + in avtab_hash()
71 key->target_type == cur->key.target_type && in avtab_insert()
78 key->target_type < cur->key.target_type) in avtab_insert()
81 key->target_type == cur->key.target_type && in avtab_insert()
111 key->target_type == cur->key.target_type && in avtab_insert_nonunique()
118 key->target_type < cur->key.target_type) in avtab_insert_nonunique()
121 key->target_type == cur->key.target_type && in avtab_insert_nonunique()
140 key->target_type == cur->key.target_type && in avtab_search()
148 key->target_type < cur->key.target_type) in avtab_search()
151 key->target_type == cur->key.target_type && in avtab_search()
[all …]
Davtab.h28 u16 target_type; /* target type */ member
Dpolicydb.h130 u32 target_type; member
/linux-3.4.99/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()
421 status = acpi_ex_resolve_object(&source_desc, target_type, walk_state); in acpi_ex_store_object_to_node()
428 switch (target_type) { in acpi_ex_store_object_to_node()
Dexstoren.c70 acpi_object_type target_type, in acpi_ex_resolve_object() argument
80 switch (target_type) { in acpi_ex_resolve_object()
130 acpi_ut_get_type_name(target_type))); in acpi_ex_resolve_object()
Dexresolv.c189 switch (stack_desc->reference.target_type) { in acpi_ex_resolve_object_to_value()
235 stack_desc->reference.target_type, in acpi_ex_resolve_object_to_value()
435 type = obj_desc->reference.target_type; in acpi_ex_resolve_multiple()
Dexoparg2.c382 return_desc->reference.target_type = in acpi_ex_opcode_2A_1T_1R()
392 return_desc->reference.target_type = in acpi_ex_opcode_2A_1T_1R()
402 return_desc->reference.target_type = ACPI_TYPE_PACKAGE; in acpi_ex_opcode_2A_1T_1R()
Dexoparg1.c932 switch (operand[0]->reference.target_type) { in acpi_ex_opcode_1A_0T_1R()
991 target_type, operand[0])); in acpi_ex_opcode_1A_0T_1R()
Dacobject.h333 u8 target_type; /* Used for Index Op */ member
/linux-3.4.99/include/scsi/
Dscsi_host.h869 static inline unsigned int scsi_host_dif_capable(struct Scsi_Host *shost, unsigned int target_type) in scsi_host_dif_capable() argument
876 return shost->prot_capabilities & cap[target_type] ? target_type : 0; in scsi_host_dif_capable()
879 static inline unsigned int scsi_host_dix_capable(struct Scsi_Host *shost, unsigned int target_type) in scsi_host_dix_capable() argument
887 return shost->prot_capabilities & cap[target_type]; in scsi_host_dix_capable()
/linux-3.4.99/drivers/net/wireless/ath/ath6kl/
Dtarget.h335 #define TARG_VTOP(target_type, vaddr) \ argument
336 (((target_type) == TARGET_TYPE_AR6003) ? AR6003_VTOP(vaddr) : \
337 (((target_type) == TARGET_TYPE_AR6004) ? AR6004_VTOP(vaddr) : 0))
Dinit.c187 address = TARG_VTOP(ar->target_type, address); in ath6kl_set_host_app_area()
192 address = TARG_VTOP(ar->target_type, data); in ath6kl_set_host_app_area()
1091 if (ar->target_type == TARGET_TYPE_AR6003 && in ath6kl_upload_board_file()
1097 switch (ar->target_type) { in ath6kl_upload_board_file()
1231 if (ar->target_type != TARGET_TYPE_AR6004) { in ath6kl_upload_firmware()
1297 if (ar->target_type != TARGET_TYPE_AR6003 && in ath6kl_init_upload()
1298 ar->target_type != TARGET_TYPE_AR6004) in ath6kl_init_upload()
1331 if (ar->target_type != TARGET_TYPE_AR6004) { in ath6kl_init_upload()
1443 ar->version.target_ver, ar->target_type, in ath6kl_init_hw_params()
1680 ath6kl_reset_device(ar, ar->target_type, true, true); in ath6kl_stop_txrx()
Dmain.c278 address = TARG_VTOP(ar->target_type, in ath6kl_read_fwlogs()
293 address = TARG_VTOP(ar->target_type, debug_hdr_addr); in ath6kl_read_fwlogs()
296 address = TARG_VTOP(ar->target_type, in ath6kl_read_fwlogs()
305 address = TARG_VTOP(ar->target_type, in ath6kl_read_fwlogs()
321 address = TARG_VTOP(ar->target_type, in ath6kl_read_fwlogs()
345 void ath6kl_reset_device(struct ath6kl *ar, u32 target_type, in ath6kl_reset_device() argument
352 if (target_type != TARGET_TYPE_AR6003 && in ath6kl_reset_device()
353 target_type != TARGET_TYPE_AR6004) in ath6kl_reset_device()
359 switch (target_type) { in ath6kl_reset_device()
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.h594 u32 target_type; member
734 if (ar->target_type == TARGET_TYPE_AR6003) in ath6kl_get_hi_item_addr()
736 else if (ar->target_type == TARGET_TYPE_AR6004) in ath6kl_get_hi_item_addr()
812 void ath6kl_reset_device(struct ath6kl *ar, u32 target_type,
Dcore.c70 ar->target_type = le32_to_cpu(targ_info.type); in ath6kl_core_init()
/linux-3.4.99/include/linux/
Ddevice-mapper.h131 struct target_type { struct
185 struct target_type *type;
234 int dm_register_target(struct target_type *t);
235 void dm_unregister_target(struct target_type *t);
Ddm-ioctl.h169 char target_type[DM_MAX_TYPE_NAME]; member

12