Home
last modified time | relevance | path

Searched refs:targets (Results 1 – 25 of 32) sorted by relevance

12

/drivers/nfc/microread/
Dmicroread.c484 struct nfc_target *targets; in microread_target_discovered() local
489 targets = kzalloc(sizeof(struct nfc_target), GFP_KERNEL); in microread_target_discovered()
490 if (targets == NULL) { in microread_target_discovered()
495 targets->hci_reader_gate = gate; in microread_target_discovered()
499 targets->supported_protocols = in microread_target_discovered()
501 targets->sens_res = in microread_target_discovered()
503 targets->sel_res = skb->data[MICROREAD_EMCF_A_SAK]; in microread_target_discovered()
504 targets->nfcid1_len = skb->data[MICROREAD_EMCF_A_LEN]; in microread_target_discovered()
505 if (targets->nfcid1_len > sizeof(targets->nfcid1)) { in microread_target_discovered()
509 memcpy(targets->nfcid1, &skb->data[MICROREAD_EMCF_A_UID], in microread_target_discovered()
[all …]
/drivers/block/aoe/
Daoedev.c217 tt = d->targets; in aoedev_downdev()
284 t = d->targets; in freedev()
378 kfree(doomed->targets); in flush()
459 d->targets = kcalloc(NTARGETS, sizeof(*d->targets), GFP_ATOMIC); in aoedev_by_aoeaddr()
460 if (!d->targets) { in aoedev_by_aoeaddr()
475 d->tgt = d->targets; in aoedev_by_aoeaddr()
Daoecmd.c258 if (!d->targets || !d->targets[0]) { in newframe()
265 if (tt >= &d->targets[d->ntargets] || !*tt) in newframe()
266 tt = d->targets; in newframe()
737 for (i = good = 0; i < d->ntargets && d->targets[i]; ++i) in count_targets()
738 if (d->targets[i]->taint == 0) in count_targets()
1078 t = d->targets; in gettgt()
1492 tt = kcalloc(newn, sizeof(*d->targets), GFP_ATOMIC); in grow_targets()
1495 memmove(tt, d->targets, sizeof(*d->targets) * oldn); in grow_targets()
1496 d->tgt = tt + (d->tgt - d->targets); in grow_targets()
1497 kfree(d->targets); in grow_targets()
[all …]
Daoeblk.c52 struct aoetgt *t = d->targets[0]; in aoedisk_show_mac()
71 t = d->targets; in aoedisk_show_netif()
131 t = d->targets; in aoedisk_debugfs_show()
Daoe.h182 struct aoetgt **targets; member
/drivers/md/
Ddm-table.c42 struct dm_target *targets; member
177 t->targets = n_targets; in alloc_targets()
241 struct dm_target *tgt = t->targets + i; in dm_table_destroy()
496 prev = &table->targets[table->num_targets - 1]; in adjoin()
679 dm_device_name(t->md), t->targets->type->name); in dm_table_add_target()
685 tgt = t->targets + t->num_targets; in dm_table_add_target()
831 tgt = t->targets + i; in dm_table_set_type()
922 tgt = t->targets + i; in dm_table_alloc_md_mempools()
1139 return t->targets + index; in dm_table_get_target()
1162 return &t->targets[(KEYS_PER_NODE * n) + k]; in dm_table_find_target()
[all …]
/drivers/net/bonding/
Dbond_options.c911 __be32 *targets = bond->params.arp_targets; in _bond_options_arp_ip_target_set() local
918 targets[slot] = target; in _bond_options_arp_ip_target_set()
924 __be32 *targets = bond->params.arp_targets; in _bond_option_arp_ip_target_add() local
933 if (bond_get_targets_ip(targets, target) != -1) { /* dup */ in _bond_option_arp_ip_target_add()
939 ind = bond_get_targets_ip(targets, 0); /* first free slot */ in _bond_option_arp_ip_target_add()
959 __be32 *targets = bond->params.arp_targets; in bond_option_arp_ip_target_rem() local
971 ind = bond_get_targets_ip(targets, target); in bond_option_arp_ip_target_rem()
978 if (ind == 0 && !targets[1] && bond->params.arp_interval) in bond_option_arp_ip_target_rem()
985 for (i = ind; (i < BOND_MAX_ARP_TARGETS-1) && targets[i+1]; i++) in bond_option_arp_ip_target_rem()
989 for (i = ind; (i < BOND_MAX_ARP_TARGETS-1) && targets[i+1]; i++) in bond_option_arp_ip_target_rem()
[all …]
Dbond_netlink.c450 struct nlattr *targets; in bond_fill_info() local
477 targets = nla_nest_start(skb, IFLA_BOND_ARP_IP_TARGET); in bond_fill_info()
478 if (!targets) in bond_fill_info()
490 nla_nest_end(skb, targets); in bond_fill_info()
492 nla_nest_cancel(skb, targets); in bond_fill_info()
Dbonding.h622 static inline int bond_get_targets_ip(__be32 *targets, __be32 ip) in bond_get_targets_ip() argument
627 if (targets[i] == ip) in bond_get_targets_ip()
629 else if (targets[i] == 0) in bond_get_targets_ip()
Dbond_main.c2235 __be32 *targets = bond->params.arp_targets, addr; in bond_arp_send_all() local
2238 for (i = 0; i < BOND_MAX_ARP_TARGETS && targets[i]; i++) { in bond_arp_send_all()
2239 netdev_dbg(bond->dev, "basa: target %pI4\n", &targets[i]); in bond_arp_send_all()
2243 rt = ip_route_output(dev_net(bond->dev), targets[i], 0, in bond_arp_send_all()
2252 &targets[i]); in bond_arp_send_all()
2253 bond_arp_send(slave->dev, ARPOP_REQUEST, targets[i], in bond_arp_send_all()
2271 &targets[i], rt->dst.dev ? rt->dst.dev->name : "NULL"); in bond_arp_send_all()
2277 addr = bond_confirm_addr(rt->dst.dev, targets[i], 0); in bond_arp_send_all()
2279 bond_arp_send(slave->dev, ARPOP_REQUEST, targets[i], in bond_arp_send_all()
/drivers/scsi/
Dinitio.c650 host->targets[i].flags = *flags & ~(TCF_SYNC_DONE | TCF_WDTR_DONE); in initio_init()
651 if (host->targets[i].flags & TCF_EN_255) in initio_init()
652 host->targets[i].drv_flags = TCF_DRV_255_63; in initio_init()
654 host->targets[i].drv_flags = 0; in initio_init()
655 host->targets[i].js_period = 0; in initio_init()
656 host->targets[i].sconfig0 = host->sconf1; in initio_init()
657 host->targets[i].heads = *heads++; in initio_init()
658 if (host->targets[i].heads == 255) in initio_init()
659 host->targets[i].drv_flags = TCF_DRV_255_63; in initio_init()
661 host->targets[i].drv_flags = 0; in initio_init()
[all …]
Dinitio.h537 struct target_control targets[MAX_TARGETS]; /* 78 */ member
/drivers/s390/crypto/
Dzcrypt_api.c587 struct ep11_target_dev *targets; member
595 for (n = 0; n < dev_list.targets_num; n++, dev_list.targets++) { in is_desired_ep11dev()
596 if ((AP_QID_DEVICE(dev_qid) == dev_list.targets->ap_id) && in is_desired_ep11dev()
597 (AP_QID_QUEUE(dev_qid) == dev_list.targets->dom_id)) { in is_desired_ep11dev()
611 .targets = NULL, in zcrypt_send_ep11_cprb()
620 ep11_dev_list.targets = kcalloc((unsigned short) in zcrypt_send_ep11_cprb()
624 if (!ep11_dev_list.targets) in zcrypt_send_ep11_cprb()
627 if (copy_from_user(ep11_dev_list.targets, in zcrypt_send_ep11_cprb()
629 xcrb->targets, xcrb->targets_num * in zcrypt_send_ep11_cprb()
/drivers/md/persistent-data/
DKconfig8 device-mapper targets such as the thin provisioning target.
/drivers/net/wan/
DMakefile57 targets += wanxlfw.inc
/drivers/scsi/ibmvscsi/
Dibmvfc.c560 list_for_each_entry(tgt, &vhost->targets, queue) in ibmvfc_link_down()
593 list_for_each_entry(tgt, &vhost->targets, queue) in ibmvfc_init_host()
917 list_for_each_entry(tgt, &vhost->targets, queue) in __ibmvfc_get_target()
1508 list_for_each_entry(tgt, &vhost->targets, queue) { in ibmvfc_relogin()
1778 list_for_each_entry(tgt, &vhost->targets, queue) { in ibmvfc_bsg_plogi()
2693 list_for_each_entry(tgt, &vhost->targets, queue) { in ibmvfc_handle_async()
3932 list_for_each_entry(tgt, &vhost->targets, queue) { in ibmvfc_alloc_target()
3958 list_add_tail(&tgt->queue, &vhost->targets); in ibmvfc_alloc_target()
4232 list_for_each_entry(tgt, &vhost->targets, queue) { in ibmvfc_dev_init_to_do()
4263 list_for_each_entry(tgt, &vhost->targets, queue) in __ibmvfc_work_to_do()
[all …]
Dibmvfc.h697 struct list_head targets; member
/drivers/scsi/arm/
DKconfig28 targets on the Acorn SCSI card.
/drivers/nfc/st21nfca/
Dst21nfca_dep.c511 target = hdev->ndev->targets; in st21nfca_im_send_atr_req()
/drivers/gpu/drm/gma500/
Dpsb_intel_sdvo.c576 struct psb_intel_sdvo_set_target_input_args targets = {0}; in psb_intel_sdvo_set_target_input() local
579 &targets, sizeof(targets)); in psb_intel_sdvo_set_target_input()
/drivers/scsi/aic7xxx/
Daic7xxx.reg1391 * for all targets that have a value other than 0 in the lower four
1409 * Bit vector of targets that have ULTRA enabled as set by
1422 * Bit vector of targets that have disconnection disabled as set by
/drivers/gpu/drm/i915/
Dintel_sdvo.c635 struct intel_sdvo_set_target_input_args targets = {0}; in intel_sdvo_set_target_input() local
638 &targets, sizeof(targets)); in intel_sdvo_set_target_input()
/drivers/net/
DKconfig169 bool "Dynamic reconfiguration of logging targets"
/drivers/gpu/drm/nouveau/core/engine/crypt/fuc/
Dnv98.fuc449 // prepare the targets
/drivers/nfc/
Dpn533.c1900 dev->nfc_dev->targets[0].idx, in pn533_poll_dep_complete()
2356 dev->nfc_dev->targets[0].idx, in pn533_in_dep_link_up_complete()

12