Home
last modified time | relevance | path

Searched refs:iterator (Results 1 – 7 of 7) sorted by relevance

/drivers/soc/fsl/qbman/
Dqman_test_stash.c170 struct hp_handler *iterator; member
442 hp_cpu->iterator = list_first_entry( in init_phase2()
446 hp_cpu->iterator = list_entry( in init_phase2()
447 hp_cpu->iterator->node.next, in init_phase2()
450 hp_cpu->iterator->fqid_rx = fqid; in init_phase2()
457 hp_cpu->iterator->fqid_tx = fqid; in init_phase2()
459 hp_cpu->iterator->rx_mixer = lfsr; in init_phase2()
462 hp_cpu->iterator->tx_mixer = lfsr; in init_phase2()
485 hp_cpu->iterator = list_first_entry( in init_phase3()
489 hp_cpu->iterator = list_entry( in init_phase3()
[all …]
/drivers/scsi/megaraid/
Dmegaraid_mm.c252 int iterator; in mraid_mm_get_adapter() local
268 iterator = 0; in mraid_mm_get_adapter()
271 if (iterator++ == adapno) break; in mraid_mm_get_adapter()
740 int iterator; in ioctl_done() local
761 iterator = 0; in ioctl_done()
769 if (iterator++ == adapno) break; in ioctl_done()
/drivers/hwtracing/coresight/
Dcoresight.c871 struct coresight_device *csdev, *iterator; in coresight_remove_match() local
875 iterator = to_coresight_device(dev); in coresight_remove_match()
878 if (csdev == iterator) in coresight_remove_match()
885 for (i = 0; i < iterator->nr_outport; i++) { in coresight_remove_match()
886 conn = &iterator->conns[i]; in coresight_remove_match()
892 iterator->orphan = true; in coresight_remove_match()
/drivers/scsi/osd/
Dosd_initiator.c1350 struct osd_attr *oa, int *nelem, void **iterator) in osd_req_decode_get_attr_list() argument
1363 *iterator = NULL; in osd_req_decode_get_attr_list()
1367 if (*iterator) { in osd_req_decode_get_attr_list()
1368 BUG_ON((*iterator < or->get_attr.buff) || in osd_req_decode_get_attr_list()
1369 (or->get_attr.buff + or->get_attr.alloc_size < *iterator)); in osd_req_decode_get_attr_list()
1370 cur_p = *iterator; in osd_req_decode_get_attr_list()
1371 cur_bytes = (*iterator - or->get_attr.buff) - sizeof_attr_list; in osd_req_decode_get_attr_list()
1410 *iterator = (returned_bytes - cur_bytes) ? cur_p : NULL; in osd_req_decode_get_attr_list()
/drivers/misc/altera-stapl/
Daltera.c1026 s32 iterator = vars[args[0]]; in altera_execute() local
1030 if (iterator <= end) in altera_execute()
1032 } else if (iterator >= end) in altera_execute()
1038 vars[args[0]] = iterator + step; in altera_execute()
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c298 unsigned int iterator; member
306 h->iterator = 0; in bitmap_iterator_init()
315 return !h->advance_array ? 1 : test_bit(h->iterator, h->stats_bitmap); in bitmap_iterator_test()
320 return h->iterator++; in bitmap_iterator_inc()
/drivers/of/
Dfdt.c823 int (*iterator)(unsigned long node, const char *uname, int depth, void *data); member