/linux-4.4.14/crypto/asymmetric_keys/ |
H A D | asymmetric_type.c | 99 * @match_id: The key ID we're looking for 104 const struct asymmetric_key_id *match_id, asymmetric_match_key_ids() 110 if (!kids || !match_id) asymmetric_match_key_ids() 113 if (match(kids->id[i], match_id)) asymmetric_match_key_ids() 120 struct asymmetric_key_id *match_id, __asymmetric_key_hex_to_key_id() 123 match_id->len = hexlen; __asymmetric_key_hex_to_key_id() 124 return hex2bin(match_id->data, id, hexlen); __asymmetric_key_hex_to_key_id() 133 struct asymmetric_key_id *match_id; asymmetric_key_hex_to_key_id() local 143 match_id = kmalloc(sizeof(struct asymmetric_key_id) + asciihexlen / 2, asymmetric_key_hex_to_key_id() 145 if (!match_id) asymmetric_key_hex_to_key_id() 147 ret = __asymmetric_key_hex_to_key_id(id, match_id, asciihexlen / 2); asymmetric_key_hex_to_key_id() 149 kfree(match_id); asymmetric_key_hex_to_key_id() 152 return match_id; asymmetric_key_hex_to_key_id() 162 const struct asymmetric_key_id *match_id = match_data->preparsed; asymmetric_key_cmp() local 164 return asymmetric_match_key_ids(kids, match_id, asymmetric_key_cmp() 175 const struct asymmetric_key_id *match_id = match_data->preparsed; asymmetric_key_cmp_partial() local 177 return asymmetric_match_key_ids(kids, match_id, asymmetric_key_cmp_partial() 196 struct asymmetric_key_id *match_id; asymmetric_key_match_preparse() local 217 match_id = asymmetric_key_hex_to_key_id(id); asymmetric_key_match_preparse() 218 if (IS_ERR(match_id)) asymmetric_key_match_preparse() 219 return PTR_ERR(match_id); asymmetric_key_match_preparse() 221 match_data->preparsed = match_id; asymmetric_key_match_preparse() 102 asymmetric_match_key_ids( const struct asymmetric_key_ids *kids, const struct asymmetric_key_id *match_id, bool (*match)(const struct asymmetric_key_id *kid1, const struct asymmetric_key_id *kid2)) asymmetric_match_key_ids() argument 119 __asymmetric_key_hex_to_key_id(const char *id, struct asymmetric_key_id *match_id, size_t hexlen) __asymmetric_key_hex_to_key_id() argument
|
/linux-4.4.14/arch/powerpc/platforms/ps3/ |
H A D | system-bus.c | 168 pr_debug("%s:%d: match_id: %u\n", __func__, __LINE__, dev->match_id); ps3_open_hv_device() 170 switch (dev->match_id) { ps3_open_hv_device() 185 pr_debug("%s:%d: unsupported match_id: %u\n", __func__, ps3_open_hv_device() 186 __LINE__, dev->match_id); ps3_open_hv_device() 196 pr_debug("%s:%d: unknown match_id: %u\n", __func__, __LINE__, ps3_open_hv_device() 197 dev->match_id); ps3_open_hv_device() 206 pr_debug("%s:%d: match_id: %u\n", __func__, __LINE__, dev->match_id); ps3_close_hv_device() 208 switch (dev->match_id) { ps3_close_hv_device() 223 pr_debug("%s:%d: unsupported match_id: %u\n", __func__, ps3_close_hv_device() 224 __LINE__, dev->match_id); ps3_close_hv_device() 234 pr_debug("%s:%d: unknown match_id: %u\n", __func__, __LINE__, ps3_close_hv_device() 235 dev->match_id); ps3_close_hv_device() 354 result = dev->match_id == drv->match_id; ps3_system_bus_match() 357 dev->match_id == drv->match_id; ps3_system_bus_match() 362 dev->match_id, dev->match_sub_id, dev_name(&dev->core), ps3_system_bus_match() 363 drv->match_id, drv->match_sub_id, drv->core.name); ps3_system_bus_match() 367 dev->match_id, dev->match_sub_id, dev_name(&dev->core), ps3_system_bus_match() 368 drv->match_id, drv->match_sub_id, drv->core.name); ps3_system_bus_match() 424 dev_dbg(&dev->core, " -> %s:%d: match_id %d\n", __func__, __LINE__, ps3_system_bus_shutdown() 425 dev->match_id); ps3_system_bus_shutdown() 459 if (add_uevent_var(env, "MODALIAS=ps3:%d:%d", dev->match_id, ps3_system_bus_uevent() 469 int len = snprintf(buf, PAGE_SIZE, "ps3:%d:%d\n", dev->match_id, modalias_show()
|
H A D | device-init.c | 48 dev->match_id = PS3_MATCH_ID_LPM; ps3_register_lpm_devices() 146 p->dev.match_id = PS3_MATCH_ID_GELIC; ps3_setup_gelic_device() 193 const struct ps3_repository_device *repo, enum ps3_match_id match_id, ps3_setup_uhc_device() 217 p->dev.match_id = match_id; ps3_setup_uhc_device() 296 static int __init ps3_setup_vuart_device(enum ps3_match_id match_id, ps3_setup_vuart_device() argument 304 pr_debug(" -> %s:%d: match_id %u, port %u\n", __func__, __LINE__, ps3_setup_vuart_device() 305 match_id, port_number); ps3_setup_vuart_device() 312 p->dev.match_id = match_id; ps3_setup_vuart_device() 333 enum ps3_match_id match_id) ps3_setup_storage_dev() 340 pr_debug(" -> %s:%u: match_id %u\n", __func__, __LINE__, match_id); ps3_setup_storage_dev() 365 p->sbd.match_id = match_id; ps3_setup_storage_dev() 466 p->dev.match_id = PS3_MATCH_ID_SOUND; ps3_register_sound_devices() 501 p->dev.match_id = PS3_MATCH_ID_GPU; ps3_register_graphics_devices() 536 p->dev.match_id = PS3_MATCH_ID_GPU; ps3_register_ramdisk_device() 192 ps3_setup_uhc_device( const struct ps3_repository_device *repo, enum ps3_match_id match_id, enum ps3_interrupt_type interrupt_type, enum ps3_reg_type reg_type) ps3_setup_uhc_device() argument 332 ps3_setup_storage_dev(const struct ps3_repository_device *repo, enum ps3_match_id match_id) ps3_setup_storage_dev() argument
|
H A D | os-area.c | 408 struct os_area_db_id match_id; member in struct:db_iterator 431 const struct os_area_db_id *match_id, struct db_iterator *i) db_for_each_64() 436 i->match_id = match_id ? *match_id : os_area_db_id_any; db_for_each_64() 451 if (i->match_id.owner != OS_AREA_DB_OWNER_ANY db_for_each_64() 452 && i->match_id.owner != (int)i->idx->owner) db_for_each_64() 454 if (i->match_id.key != OS_AREA_DB_KEY_ANY db_for_each_64() 455 && i->match_id.key != (int)i->idx->key) db_for_each_64() 430 db_for_each_64(const struct os_area_db *db, const struct os_area_db_id *match_id, struct db_iterator *i) db_for_each_64() argument
|
/linux-4.4.14/drivers/soc/qcom/ |
H A D | spm.c | 212 const struct of_device_id *match_id; qcom_cpuidle_init() local 235 match_id = of_match_node(qcom_idle_state_match, state_node); qcom_cpuidle_init() 236 if (!match_id) qcom_cpuidle_init() 239 idle_fns[state_count] = match_id->data; qcom_cpuidle_init() 242 if (match_id->data == qcom_cpu_spc) qcom_cpuidle_init() 328 const struct of_device_id *match_id; spm_dev_probe() local 341 match_id = of_match_node(spm_match_table, pdev->dev.of_node); spm_dev_probe() 342 if (!match_id) spm_dev_probe() 345 drv->reg_data = match_id->data; spm_dev_probe()
|
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/ |
H A D | lib-me.c | 51 * \param match_id Specifies the match criteria for the process ID of 77 lnet_process_id_t match_id, LNetMEAttach() 92 mtable = lnet_mt_of_attach(portal, match_id, LNetMEAttach() 104 me->me_match_id = match_id; LNetMEAttach() 115 head = lnet_mt_match_head(mtable, match_id, match_bits); LNetMEAttach() 140 * \param match_id,match_bits,ignore_bits,unlink,pos,handle See the discussion 149 lnet_process_id_t match_id, LNetMEInsert() 193 new_me->me_match_id = match_id; LNetMEInsert() 76 LNetMEAttach(unsigned int portal, lnet_process_id_t match_id, __u64 match_bits, __u64 ignore_bits, lnet_unlink_t unlink, lnet_ins_pos_t pos, lnet_handle_me_t *handle) LNetMEAttach() argument 148 LNetMEInsert(lnet_handle_me_t current_meh, lnet_process_id_t match_id, __u64 match_bits, __u64 ignore_bits, lnet_unlink_t unlink, lnet_ins_pos_t pos, lnet_handle_me_t *handle) LNetMEInsert() argument
|
H A D | lib-ptl.c | 47 lnet_ptl_match_type(unsigned int index, lnet_process_id_t match_id, lnet_ptl_match_type() argument 54 match_id.nid != LNET_NID_ANY && lnet_ptl_match_type() 55 match_id.pid != LNET_PID_ANY; lnet_ptl_match_type()
|
/linux-4.4.14/drivers/s390/cio/ |
H A D | cio.c | 886 struct sch_match_id *match_id = data; __reipl_subchannel_match() local 891 (schib.pmcw.dev == match_id->devid.devno) && __reipl_subchannel_match() 892 (schid.ssid == match_id->devid.ssid)) { __reipl_subchannel_match() 893 match_id->schid = schid; __reipl_subchannel_match() 894 match_id->rc = 0; __reipl_subchannel_match() 903 struct sch_match_id match_id; reipl_find_schid() local 905 match_id.devid = *devid; reipl_find_schid() 906 match_id.rc = -ENODEV; reipl_find_schid() 907 for_each_subchannel(__reipl_subchannel_match, &match_id); reipl_find_schid() 908 if (match_id.rc == 0) reipl_find_schid() 909 *schid = match_id.schid; reipl_find_schid() 910 return match_id.rc; reipl_find_schid()
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | probe_roms.c | 80 static bool match_id(struct pci_dev *pdev, unsigned short vendor, unsigned short device) match_id() function 104 if (device && match_id(pdev, vendor, device)) probe_list() 136 if (match_id(pdev, vendor, device)) { find_oprom()
|
/linux-4.4.14/drivers/ps3/ |
H A D | ps3stor_lib.c | 46 if (sbd->match_id == PS3_MATCH_ID_STOR_FLASH) ps3stor_open_hv_device() 49 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK) ps3stor_open_hv_device() 59 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK ps3stor_close_hv_device() 71 if (sbd->match_id == PS3_MATCH_ID_STOR_DISK) ps3stor_close_hv_device() 74 if (sbd->match_id == PS3_MATCH_ID_STOR_FLASH) { ps3stor_close_hv_device() 93 if (dev->sbd.match_id == PS3_MATCH_ID_STOR_ROM) { ps3stor_probe_access()
|
H A D | ps3-vuart.c | 1127 dev_dbg(&dev->core, " -> %s:%d: match_id %d\n", __func__, __LINE__, ps3_vuart_remove() 1128 dev->match_id); ps3_vuart_remove() 1178 dev_dbg(&dev->core, " -> %s:%d: match_id %d\n", __func__, __LINE__, ps3_vuart_shutdown() 1179 dev->match_id); ps3_vuart_shutdown() 1242 BUG_ON(!drv->core.match_id); ps3_vuart_port_driver_register()
|
H A D | ps3-sys-manager.c | 745 .core.match_id = PS3_MATCH_ID_SYSTEM_MANAGER,
|
H A D | ps3av.c | 1039 .core.match_id = PS3_MATCH_ID_AV_SETTINGS,
|
H A D | ps3-lpm.c | 1227 .match_id = PS3_MATCH_ID_LPM,
|
/linux-4.4.14/drivers/cpuidle/ |
H A D | dt_idle_states.c | 29 const struct of_device_id *match_id; init_state_node() local 32 match_id = of_match_node(matches, state_node); init_state_node() 33 if (!match_id) init_state_node() 40 idle_state->enter = match_id->data; init_state_node()
|
/linux-4.4.14/sound/ppc/ |
H A D | snd_ps3.c | 938 if (WARN_ON(dev->match_id != PS3_MATCH_ID_SOUND)) snd_ps3_driver_probe() 1092 pr_info("%s:start id=%d\n", __func__, dev->match_id); snd_ps3_driver_remove() 1093 if (dev->match_id != PS3_MATCH_ID_SOUND) snd_ps3_driver_remove() 1116 pr_info("%s:end id=%d\n", __func__, dev->match_id); snd_ps3_driver_remove() 1121 .match_id = PS3_MATCH_ID_SOUND,
|
/linux-4.4.14/drivers/usb/host/ |
H A D | ohci-ps3.c | 247 .match_id = PS3_MATCH_ID_OHCI,
|
H A D | ehci-ps3.c | 262 .match_id = PS3_MATCH_ID_EHCI,
|
/linux-4.4.14/drivers/base/ |
H A D | platform.c | 1280 int match_id; early_platform_driver_probe_id() local 1290 match_id = epdrv->requested_id; early_platform_driver_probe_id() 1294 match_id = id; early_platform_driver_probe_id() 1304 match_id = EARLY_PLATFORM_ID_UNSET; early_platform_driver_probe_id() 1308 switch (match_id) { early_platform_driver_probe_id() 1317 match = early_platform_match(epdrv, match_id); early_platform_driver_probe_id()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | ps3.h | 360 enum ps3_match_id match_id; member in struct:ps3_system_bus_device 389 enum ps3_match_id match_id; member in struct:ps3_system_bus_driver
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | niobuf.c | 682 static lnet_process_id_t match_id = {LNET_NID_ANY, LNET_PID_ANY}; ptlrpc_register_rqbd() local 697 match_id, 0, ~0, LNET_UNLINK, ptlrpc_register_rqbd()
|
/linux-4.4.14/drivers/scsi/ |
H A D | ps3rom.c | 432 .match_id = PS3_MATCH_ID_STOR_ROM,
|
/linux-4.4.14/drivers/char/ |
H A D | ps3flash.c | 433 .match_id = PS3_MATCH_ID_STOR_FLASH,
|
/linux-4.4.14/drivers/block/ |
H A D | ps3disk.c | 543 .match_id = PS3_MATCH_ID_STOR_DISK,
|
H A D | ps3vram.c | 837 .match_id = PS3_MATCH_ID_GPU,
|
/linux-4.4.14/drivers/staging/fsl-mc/bus/ |
H A D | mc-bus.c | 59 * Traverse the match_id table of the given driver, trying to find fsl_mc_bus_match()
|
/linux-4.4.14/drivers/video/fbdev/ |
H A D | ps3fb.c | 1248 .match_id = PS3_MATCH_ID_GPU,
|
/linux-4.4.14/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_net.c | 1870 .match_id = PS3_MATCH_ID_GELIC,
|