| /Linux-v5.15/net/wireless/ | 
| D | radiotap.c | 98 	struct ieee80211_radiotap_iterator *iterator,  in ieee80211_radiotap_iterator_init()  argument 114 	iterator->_rtheader = radiotap_header;  in ieee80211_radiotap_iterator_init() 115 	iterator->_max_length = get_unaligned_le16(&radiotap_header->it_len);  in ieee80211_radiotap_iterator_init() 116 	iterator->_arg_index = 0;  in ieee80211_radiotap_iterator_init() 117 	iterator->_bitmap_shifter = get_unaligned_le32(&radiotap_header->it_present);  in ieee80211_radiotap_iterator_init() 118 	iterator->_arg = (uint8_t *)radiotap_header->it_optional;  in ieee80211_radiotap_iterator_init() 119 	iterator->_reset_on_ext = 0;  in ieee80211_radiotap_iterator_init() 120 	iterator->_next_bitmap = radiotap_header->it_optional;  in ieee80211_radiotap_iterator_init() 121 	iterator->_vns = vns;  in ieee80211_radiotap_iterator_init() 122 	iterator->current_namespace = &radiotap_ns;  in ieee80211_radiotap_iterator_init() [all …] 
 | 
| /Linux-v5.15/drivers/gpu/drm/ | 
| D | drm_print.c | 59 	struct drm_print_iterator *iterator = p->arg;  in __drm_puts_coredump()  local 62 	if (!iterator->remain)  in __drm_puts_coredump() 65 	if (iterator->offset < iterator->start) {  in __drm_puts_coredump() 70 		if (iterator->offset + len <= iterator->start) {  in __drm_puts_coredump() 71 			iterator->offset += len;  in __drm_puts_coredump() 75 		copy = len - (iterator->start - iterator->offset);  in __drm_puts_coredump() 77 		if (copy > iterator->remain)  in __drm_puts_coredump() 78 			copy = iterator->remain;  in __drm_puts_coredump() 81 		memcpy(iterator->data,  in __drm_puts_coredump() 82 			str + (iterator->start - iterator->offset), copy);  in __drm_puts_coredump() [all …] 
 | 
| /Linux-v5.15/drivers/net/wireless/realtek/rtw88/ | 
| D | util.h | 10 #define rtw_iterate_vifs(rtwdev, iterator, data)                               \  argument 12 			IEEE80211_IFACE_ITER_NORMAL, iterator, data) 13 #define rtw_iterate_vifs_atomic(rtwdev, iterator, data)                        \  argument 15 			IEEE80211_IFACE_ITER_NORMAL, iterator, data) 16 #define rtw_iterate_stas_atomic(rtwdev, iterator, data)                        \  argument 17 	ieee80211_iterate_stations_atomic(rtwdev->hw, iterator, data) 18 #define rtw_iterate_keys(rtwdev, vif, iterator, data)			       \  argument 19 	ieee80211_iter_keys(rtwdev->hw, vif, iterator, data) 20 #define rtw_iterate_keys_rcu(rtwdev, vif, iterator, data)		       \  argument 21 	ieee80211_iter_keys_rcu((rtwdev)->hw, vif, iterator, data)
  | 
| /Linux-v5.15/scripts/coccinelle/iterators/ | 
| D | use_after_iter.cocci | 2 /// If list_for_each_entry, etc complete a traversal of the list, the iterator 5 /// the end of the iterator. 6 //#False positives arise when there is a goto in the iterator and the 24 iterator name list_for_each_entry; 25 iterator name list_for_each_entry_reverse; 26 iterator name list_for_each_entry_continue; 27 iterator name list_for_each_entry_continue_reverse; 28 iterator name list_for_each_entry_from; 29 iterator name list_for_each_entry_safe; 30 iterator name list_for_each_entry_safe_continue; [all …] 
 | 
| D | fen.cocci | 19 iterator name for_each_node_by_name; 32 iterator name for_each_node_by_type; 45 iterator name for_each_compatible_node; 58 iterator name for_each_matching_node; 73 //iterator name for_each_node_by_name; 74 //iterator name for_each_node_by_type; 75 //iterator name for_each_compatible_node; 76 //iterator name for_each_matching_node; 116 cocci.print_secs("iterator",p1) 123 msg = "ERROR: of_node_put not needed after iterator on line %s" % (p1[0].line)
  | 
| D | for_each_child.cocci | 2 // Adds missing of_node_put() before return/break/goto statement within a for_each iterator for chi… 19 iterator name for_each_node_by_name, for_each_node_by_type, 23 iterator i; 53 iterator r.i,i1; 82 iterator r.i,i1,i2; 114 iterator r.i,i1,i2; 151 iterator r.i, i1; 174 iterator r.i; 189 iterator r.i, i1, i2; 220 iterator r.i, i2; [all …] 
 | 
| D | itnull.cocci | 23 iterator I; 66 iterator I; 86 cocci.print_main("iterator-bound variable",p1) 94 msg = "ERROR: iterator variable bound on line %s cannot be NULL" % (p1[0].line)
  | 
| D | list_entry_update.cocci | 20 iterator name list_for_each_entry; 54 cocci.print_main("iterator",p1) 62 msg = "iterator with update on line %s" % (p2[0].line)
  | 
| D | device_node_continue.cocci | 22 iterator name for_each_node_by_name, for_each_node_by_type, 26 iterator i; 62 iterator i;
  | 
| /Linux-v5.15/tools/bpf/bpftool/Documentation/ | 
| D | bpftool-iter.rst | 31 		  A bpf iterator combines a kernel iterating of 35 		  *read* kernel iterator output through *read()* syscall. 37 		  The *pin* command creates a bpf iterator from *OBJ*, 43 		  Map element bpf iterator requires an additional parameter 49 		  User can then *cat PATH* to see the bpf iterator output. 64    Create a file-based bpf iterator from bpf_iter_netlink.o and pin it 71    Create a file-based bpf iterator from bpf_iter_hashmap.o and map with
  | 
| /Linux-v5.15/drivers/soc/fsl/qbman/ | 
| D | qman_test_stash.c | 170 	struct hp_handler *iterator;  member 454 				hp_cpu->iterator = list_first_entry(  in init_phase2() 458 				hp_cpu->iterator = list_entry(  in init_phase2() 459 						hp_cpu->iterator->node.next,  in init_phase2() 462 			hp_cpu->iterator->fqid_rx = fqid;  in init_phase2() 469 			hp_cpu->iterator->fqid_tx = fqid;  in init_phase2() 471 			hp_cpu->iterator->rx_mixer = lfsr;  in init_phase2() 474 			hp_cpu->iterator->tx_mixer = lfsr;  in init_phase2() 497 				hp_cpu->iterator = list_first_entry(  in init_phase3() 501 				hp_cpu->iterator = list_entry(  in init_phase3() [all …] 
 | 
| /Linux-v5.15/Documentation/networking/ | 
| D | radiotap-headers.rst | 108 	    struct ieee80211_radiotap_iterator iterator; 109 	    int ret = ieee80211_radiotap_iterator_init(&iterator, buf, buflen); 113 		    ret = ieee80211_radiotap_iterator_next(&iterator); 120 		    switch (iterator.this_arg_index) { 122 		    * You must take care when dereferencing iterator.this_arg 124 		    * get_unaligned((type *)iterator.this_arg) to dereference 125 		    * iterator.this_arg for type "type" safely on all arches. 131 			    pkt_rate_100kHz = (*iterator.this_arg) * 5; 136 			    antenna = *iterator.this_arg); 140 			    pwr = *iterator.this_arg; [all …] 
 | 
| /Linux-v5.15/Documentation/filesystems/ | 
| D | seq_file.rst | 37      * An iterator interface which lets a virtual file implementation 73 The iterator interface 77 iterator object that allows stepping through the data of interest 78 during a "session" (roughly one read() system call).  If the iterator 81 in whatever way is convenient - the iterator need only exist 82 transiently during a session.  If the iterator cannot easily find a 84 iterator can be stored in the private data area and continue from one 88 table, for example, could provide a simple iterator that interprets 99 The /proc/sequence iterator just uses the count of the next number it 102 Four functions must be implemented to make the iterator work. The [all …] 
 | 
| /Linux-v5.15/arch/x86/kvm/mmu/ | 
| D | mmu.c | 1519 rmap_walk_init_level(struct slot_rmap_walk_iterator *iterator, int level)  in rmap_walk_init_level()  argument 1521 	iterator->level = level;  in rmap_walk_init_level() 1522 	iterator->gfn = iterator->start_gfn;  in rmap_walk_init_level() 1523 	iterator->rmap = gfn_to_rmap(iterator->gfn, level, iterator->slot);  in rmap_walk_init_level() 1524 	iterator->end_rmap = gfn_to_rmap(iterator->end_gfn, level, iterator->slot);  in rmap_walk_init_level() 1528 slot_rmap_walk_init(struct slot_rmap_walk_iterator *iterator,  in slot_rmap_walk_init()  argument 1532 	iterator->slot = slot;  in slot_rmap_walk_init() 1533 	iterator->start_level = start_level;  in slot_rmap_walk_init() 1534 	iterator->end_level = end_level;  in slot_rmap_walk_init() 1535 	iterator->start_gfn = start_gfn;  in slot_rmap_walk_init() [all …] 
 | 
| /Linux-v5.15/sound/soc/sh/rcar/ | 
| D | rsnd.h | 444 struct rsnd_mod *rsnd_mod_next(int *iterator, 448 #define for_each_rsnd_mod(iterator, pos, io)				\  argument 449 	for (iterator = 0;						\ 450 	     (pos = rsnd_mod_next(&iterator, io, NULL, 0)); iterator++) 451 #define for_each_rsnd_mod_arrays(iterator, pos, io, array, size)	\  argument 452 	for (iterator = 0;						\ 453 	     (pos = rsnd_mod_next(&iterator, io, array, size)); iterator++) 454 #define for_each_rsnd_mod_array(iterator, pos, io, array)		\  argument 455 	for_each_rsnd_mod_arrays(iterator, pos, io, array, ARRAY_SIZE(array))
  | 
| /Linux-v5.15/include/linux/ | 
| D | assoc_array.h | 61 			       int (*iterator)(const void *object, 84 			  bool (*iterator)(void *object, void *iterator_data),
  | 
| D | tracepoint-defs.h | 37 	void *iterator;  member
  | 
| /Linux-v5.15/tools/testing/radix-tree/ | 
| D | iteration_check_2.c | 13 static void *iterator(void *arg)  in iterator()  function 67 	if (pthread_create(&threads[0], NULL, iterator, &array)) {  in iteration_test2()
  | 
| /Linux-v5.15/scripts/coccinelle/null/ | 
| D | deref_null.cocci | 58 iterator iter; 119 iterator iter; 179 iterator iter; 252 iterator iter;
  | 
| /Linux-v5.15/drivers/scsi/megaraid/ | 
| D | megaraid_mm.c | 240 	int		iterator;  in mraid_mm_get_adapter()  local 256 	iterator = 0;  in mraid_mm_get_adapter() 260 		if (iterator++ == adapno) {  in mraid_mm_get_adapter() 730 	int		iterator;  in ioctl_done()  local 752 		iterator	= 0;  in ioctl_done() 761 			if (iterator++ == adapno) {  in ioctl_done()
  | 
| /Linux-v5.15/Documentation/core-api/ | 
| D | assoc_array.rst | 38    RCU readlock is being held by the iterator.  Note, however, under these 40    problem, the iterator should lock against modification.  Objects will not 257                        bool (*iterator)(void *object, void *iterator_data), 261 ``iterator()``.  If ``iterator()`` returns ``true``, the object is kept.  If it 262 returns ``false``, the object will be freed.  If the ``iterator()`` function 269 The ``iterator_data`` is passed directly to ``iterator()`` and is otherwise 288                             int (*iterator)(const void *object, 292 This passes each object in the array to the iterator callback function. 302 return the result of the last iterator function called.  Iteration stops
  | 
| D | idr.rst | 48 iterator-style idr_for_each_entry().  You may need to use 50 also use idr_get_next() if the iterator doesn't fit your needs.
  | 
| /Linux-v5.15/drivers/hwtracing/coresight/ | 
| D | coresight-core.c | 1401 	struct coresight_device *csdev, *iterator;  in coresight_remove_match()  local 1405 	iterator = to_coresight_device(dev);  in coresight_remove_match() 1408 	if (csdev == iterator)  in coresight_remove_match() 1415 	for (i = 0; i < iterator->pdata->nr_outport; i++) {  in coresight_remove_match() 1416 		conn = &iterator->pdata->conns[i];  in coresight_remove_match() 1422 			iterator->orphan = true;  in coresight_remove_match() 1423 			coresight_remove_links(iterator, conn);  in coresight_remove_match()
  | 
| /Linux-v5.15/drivers/staging/media/atomisp/pci/ | 
| D | ia_css_isp_configs.h | 67 		struct ia_css_isp_parameter iterator;  member
  | 
| /Linux-v5.15/drivers/staging/media/atomisp/pci/css_2400_system/hive/ | 
| D | ia_css_isp_configs.c | 39 			size   = binary->info->mem_offsets.offsets.config->dmem.iterator.size;  in ia_css_configure_iterator() 40 			offset = binary->info->mem_offsets.offsets.config->dmem.iterator.offset;  in ia_css_configure_iterator()
  |