/linux-4.1.27/net/wireless/ |
D | radiotap.c | 96 struct ieee80211_radiotap_iterator *iterator, in ieee80211_radiotap_iterator_init() argument 112 iterator->_rtheader = radiotap_header; in ieee80211_radiotap_iterator_init() 113 iterator->_max_length = get_unaligned_le16(&radiotap_header->it_len); in ieee80211_radiotap_iterator_init() 114 iterator->_arg_index = 0; in ieee80211_radiotap_iterator_init() 115 iterator->_bitmap_shifter = get_unaligned_le32(&radiotap_header->it_present); in ieee80211_radiotap_iterator_init() 116 iterator->_arg = (uint8_t *)radiotap_header + sizeof(*radiotap_header); in ieee80211_radiotap_iterator_init() 117 iterator->_reset_on_ext = 0; in ieee80211_radiotap_iterator_init() 118 iterator->_next_bitmap = &radiotap_header->it_present; in ieee80211_radiotap_iterator_init() 119 iterator->_next_bitmap++; in ieee80211_radiotap_iterator_init() 120 iterator->_vns = vns; in ieee80211_radiotap_iterator_init() [all …]
|
/linux-4.1.27/scripts/coccinelle/iterators/ |
D | use_after_iter.cocci | 1 /// If list_for_each_entry, etc complete a traversal of the list, the iterator 4 /// the end of the iterator. 5 //#False positives arise when there is a goto in the iterator and the 23 iterator name list_for_each_entry; 24 iterator name list_for_each_entry_reverse; 25 iterator name list_for_each_entry_continue; 26 iterator name list_for_each_entry_continue_reverse; 27 iterator name list_for_each_entry_from; 28 iterator name list_for_each_entry_safe; 29 iterator name list_for_each_entry_safe_continue; [all …]
|
D | fen.cocci | 18 iterator name for_each_node_by_name; 31 iterator name for_each_node_by_type; 44 iterator name for_each_compatible_node; 57 iterator name for_each_matching_node; 72 //iterator name for_each_node_by_name; 73 //iterator name for_each_node_by_type; 74 //iterator name for_each_compatible_node; 75 //iterator name for_each_matching_node; 115 cocci.print_secs("iterator",p1) 122 msg = "ERROR: of_node_put not needed after iterator on line %s" % (p1[0].line)
|
D | itnull.cocci | 22 iterator I; 65 iterator I; 85 cocci.print_main("iterator-bound variable",p1) 93 msg = "ERROR: iterator variable bound on line %s cannot be NULL" % (p1[0].line)
|
D | list_entry_update.cocci | 19 iterator name list_for_each_entry; 53 cocci.print_main("iterator",p1) 61 msg = "iterator with update on line %s" % (p2[0].line)
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | drm_buffer.h | 41 int iterator; member 52 return buf->iterator / PAGE_SIZE; in drm_buffer_page() 59 return buf->iterator & (PAGE_SIZE - 1); in drm_buffer_index() 66 return buf->size - buf->iterator; in drm_buffer_unprocessed() 74 buf->iterator += bytes; in drm_buffer_advance() 130 int iter = buffer->iterator + offset * 4; in drm_buffer_pointer_to_dword() 144 int iter = buffer->iterator + offset; in drm_buffer_pointer_to_byte()
|
D | drm_buffer.c | 122 buf->iterator = 0; in drm_buffer_copy_from_user()
|
D | r300_cmdbuf.c | 734 int orig_iter = cmdbuf->buffer->iterator; in r300_emit_packet3() 746 cmdbuf->buffer->iterator = orig_iter; in r300_emit_packet3() 771 cmdbuf->buffer->iterator - (int)sizeof(header)); in r300_emit_packet3() 1157 cmdbuf->buffer->iterator - (int)sizeof(*header)); in r300_do_cp_cmdbuf()
|
D | radeon_state.c | 3013 cmdbuf->buffer->iterator); in radeon_cp_cmdbuf()
|
/linux-4.1.27/Documentation/networking/ |
D | radiotap-headers.txt | 101 struct ieee80211_radiotap_iterator iterator; 102 int ret = ieee80211_radiotap_iterator_init(&iterator, buf, buflen); 106 ret = ieee80211_radiotap_iterator_next(&iterator); 113 switch (iterator.this_arg_index) { 115 * You must take care when dereferencing iterator.this_arg 117 * get_unaligned((type *)iterator.this_arg) to dereference 118 * iterator.this_arg for type "type" safely on all arches. 124 pkt_rate_100kHz = (*iterator.this_arg) * 5; 129 antenna = *iterator.this_arg); 133 pwr = *iterator.this_arg; [all …]
|
/linux-4.1.27/Documentation/filesystems/ |
D | seq_file.txt | 32 * An iterator interface which lets a virtual file implementation 67 The iterator interface 70 iterator object that allows stepping through the data of interest. 72 implement - but the interpretation of that position is up to the iterator 80 The /proc/sequence iterator just uses the count of the next number it 83 Four functions must be implemented to make the iterator work. The first, 84 called start() takes a position as an argument and returns an iterator 97 The entire data structure for this iterator is a single loff_t value 99 iterator, but that will not be the case for most other seq_file 111 move the iterator forward to the next position in the sequence. The [all …]
|
/linux-4.1.27/arch/x86/kvm/ |
D | mmu.c | 2081 static void shadow_walk_init(struct kvm_shadow_walk_iterator *iterator, in shadow_walk_init() argument 2084 iterator->addr = addr; in shadow_walk_init() 2085 iterator->shadow_addr = vcpu->arch.mmu.root_hpa; in shadow_walk_init() 2086 iterator->level = vcpu->arch.mmu.shadow_root_level; in shadow_walk_init() 2088 if (iterator->level == PT64_ROOT_LEVEL && in shadow_walk_init() 2091 --iterator->level; in shadow_walk_init() 2093 if (iterator->level == PT32E_ROOT_LEVEL) { in shadow_walk_init() 2094 iterator->shadow_addr in shadow_walk_init() 2096 iterator->shadow_addr &= PT64_BASE_ADDR_MASK; in shadow_walk_init() 2097 --iterator->level; in shadow_walk_init() [all …]
|
D | paging_tmpl.h | 832 struct kvm_shadow_walk_iterator iterator; in FNAME() local 851 for_each_shadow_entry(vcpu, gva, iterator) { in FNAME() 852 level = iterator.level; in FNAME() 853 sptep = iterator.sptep; in FNAME()
|
/linux-4.1.27/include/linux/ |
D | assoc_array.h | 65 int (*iterator)(const void *object, 88 bool (*iterator)(void *object, void *iterator_data),
|
/linux-4.1.27/scripts/coccinelle/null/ |
D | deref_null.cocci | 57 iterator iter; 118 iterator iter; 178 iterator iter; 251 iterator iter;
|
/linux-4.1.27/drivers/scsi/megaraid/ |
D | megaraid_mm.c | 248 int iterator; in mraid_mm_get_adapter() local 264 iterator = 0; in mraid_mm_get_adapter() 267 if (iterator++ == adapno) break; in mraid_mm_get_adapter() 736 int iterator; in ioctl_done() local 757 iterator = 0; in ioctl_done() 765 if (iterator++ == adapno) break; in ioctl_done()
|
/linux-4.1.27/Documentation/ |
D | assoc_array.txt | 56 RCU readlock is being held by the iterator. Note, however, under these 58 problem, the iterator should lock against modification. Objects will not 275 bool (*iterator)(void *object, void *iterator_data), 279 to iterator(). If iterator() returns true, the object is kept. If it 280 returns false, the object will be freed. If the iterator() function 287 The iterator_data is passed directly to iterator() and is otherwise 306 int (*iterator)(const void *object, 310 This passes each object in the array to the iterator callback function. 320 return the result of the last iterator function called. Iteration stops
|
D | rbtree.txt | 182 The iterator functions return a pointer to the embedded struct rb_node, from
|
/linux-4.1.27/Documentation/block/ |
D | biovecs.txt | 9 the iterator will be modified as the bio is completed, not the biovec. 46 Having a real iterator, and making biovecs immutable, has a number of 88 since all drivers _must_ go through the bvec iterator - and have been
|
/linux-4.1.27/security/keys/ |
D | keyring.c | 603 return object ? ctx->iterator(object, ctx) : 0; in search_keyring() 605 return assoc_array_iterate(&keyring->keys, ctx->iterator, ctx); in search_keyring() 645 switch (ctx->iterator(keyring_key_to_ptr(keyring), ctx)) { in search_nested_keyrings() 856 ctx->iterator = keyring_search_iterator; in keyring_search_aux() 1055 .iterator = keyring_detect_cycle_iterator, in keyring_detect_cycle()
|
D | internal.h | 122 int (*iterator)(const void *object, void *iterator_data); member
|
/linux-4.1.27/fs/btrfs/ |
D | props.c | 162 void (*iterator)(void *, in iterate_object_props() 251 iterator(ctx, handler, value_buf, data_len); in iterate_object_props()
|
/linux-4.1.27/net/mac80211/ |
D | util.c | 635 void (*iterator)(void *data, u8 *mac, in __iterate_interfaces() 657 iterator(data, sdata->vif.addr, in __iterate_interfaces() 667 iterator(data, sdata->vif.addr, &sdata->vif); in __iterate_interfaces() 672 void (*iterator)(void *data, u8 *mac, in ieee80211_iterate_interfaces() 679 __iterate_interfaces(local, iter_flags, iterator, data); in ieee80211_iterate_interfaces() 686 void (*iterator)(void *data, u8 *mac, in ieee80211_iterate_active_interfaces_atomic() 694 iterator, data); in ieee80211_iterate_active_interfaces_atomic() 701 void (*iterator)(void *data, u8 *mac, in ieee80211_iterate_active_interfaces_rtnl() 710 iterator, data); in ieee80211_iterate_active_interfaces_rtnl() 715 void (*iterator)(void *data, in __iterate_stations() [all …]
|
D | tx.c | 1657 struct ieee80211_radiotap_iterator iterator; in ieee80211_parse_tx_radiotap() local 1661 int ret = ieee80211_radiotap_iterator_init(&iterator, rthdr, skb->len, in ieee80211_parse_tx_radiotap() 1675 ret = ieee80211_radiotap_iterator_next(&iterator); in ieee80211_parse_tx_radiotap() 1681 switch (iterator.this_arg_index) { in ieee80211_parse_tx_radiotap() 1689 if (*iterator.this_arg & IEEE80211_RADIOTAP_F_FCS) { in ieee80211_parse_tx_radiotap() 1697 if (skb->len < (iterator._max_length + FCS_LEN)) in ieee80211_parse_tx_radiotap() 1702 if (*iterator.this_arg & IEEE80211_RADIOTAP_F_WEP) in ieee80211_parse_tx_radiotap() 1704 if (*iterator.this_arg & IEEE80211_RADIOTAP_F_FRAG) in ieee80211_parse_tx_radiotap() 1709 txflags = get_unaligned_le16(iterator.this_arg); in ieee80211_parse_tx_radiotap() 1733 skb_pull(skb, iterator._max_length); in ieee80211_parse_tx_radiotap()
|
/linux-4.1.27/lib/ |
D | assoc_array.c | 25 int (*iterator)(const void *leaf, in assoc_array_subtree_iterate() 68 ret = iterator(assoc_array_ptr_to_leaf(ptr), in assoc_array_subtree_iterate() 146 int (*iterator)(const void *object, in assoc_array_iterate() 154 return assoc_array_subtree_iterate(root, NULL, iterator, iterator_data); in assoc_array_iterate() 1487 bool (*iterator)(void *object, void *iterator_data), in assoc_array_gc() 1558 if (iterator(assoc_array_ptr_to_leaf(ptr), in assoc_array_gc()
|
/linux-4.1.27/scripts/coccinelle/free/ |
D | kfree.cocci | 72 iterator iter;
|
/linux-4.1.27/include/net/ |
D | mac80211.h | 4532 void (*iterator)(void *data, u8 *mac, 4553 void (*iterator)(void *data, u8 *mac, in ieee80211_iterate_active_interfaces() 4559 iterator, data); in ieee80211_iterate_active_interfaces() 4578 void (*iterator)(void *data, 4597 void (*iterator)(void *data, 4615 void (*iterator)(void *data,
|
D | cfg80211.h | 3658 ieee80211_radiotap_iterator_init(struct ieee80211_radiotap_iterator *iterator, 3664 ieee80211_radiotap_iterator_next(struct ieee80211_radiotap_iterator *iterator);
|
/linux-4.1.27/drivers/scsi/osd/ |
D | osd_initiator.c | 1353 struct osd_attr *oa, int *nelem, void **iterator) in osd_req_decode_get_attr_list() argument 1366 *iterator = NULL; in osd_req_decode_get_attr_list() 1370 if (*iterator) { in osd_req_decode_get_attr_list() 1371 BUG_ON((*iterator < or->get_attr.buff) || in osd_req_decode_get_attr_list() 1372 (or->get_attr.buff + or->get_attr.alloc_size < *iterator)); in osd_req_decode_get_attr_list() 1373 cur_p = *iterator; in osd_req_decode_get_attr_list() 1374 cur_bytes = (*iterator - or->get_attr.buff) - sizeof_attr_list; in osd_req_decode_get_attr_list() 1413 *iterator = (returned_bytes - cur_bytes) ? cur_p : NULL; in osd_req_decode_get_attr_list()
|
/linux-4.1.27/include/scsi/ |
D | osd_initiator.h | 500 struct osd_attr *, int *nelem, void **iterator);
|
/linux-4.1.27/Documentation/RCU/ |
D | listRCU.txt | 116 /* Do not use the _rcu iterator here, since this is the only 278 /* Do not need to use the _rcu iterator here, since this
|
/linux-4.1.27/drivers/misc/altera-stapl/ |
D | altera.c | 1026 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()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 294 unsigned int iterator; member 302 h->iterator = 0; in bitmap_iterator_init() 311 return !h->advance_array ? 1 : test_bit(h->iterator, h->stats_bitmap); in bitmap_iterator_test() 316 return h->iterator++; in bitmap_iterator_inc()
|
/linux-4.1.27/arch/sparc/lib/ |
D | NGmemcpy.S | 151 andn %i2, (64 - 1), %g1 ! block copy loop iterator
|
/linux-4.1.27/drivers/of/ |
D | fdt.c | 681 int (*iterator)(unsigned long node, const char *uname, int depth, void *data); member
|
/linux-4.1.27/sound/pci/asihpi/ |
D | hpi.h | 1179 u16 hpi_subsys_get_adapter(int iterator, u32 *padapter_index,
|
D | hpifunc.c | 119 u16 hpi_subsys_get_adapter(int iterator, u32 *padapter_index, in hpi_subsys_get_adapter() argument 126 hm.obj_index = (u16)iterator; in hpi_subsys_get_adapter()
|
/linux-4.1.27/Documentation/driver-model/ |
D | porting.txt | 408 The core provides an iterator to access these devices.
|
/linux-4.1.27/Documentation/scsi/ |
D | ChangeLog.lpfc | 194 iterator that is not safe. 251 lpfc_els_abort to reset txq and txcmplq iterator after a 486 * Added new function "iterator" lpfc_sli_next_iocb_slot() which 1522 * Use safe list iterator for ndlp list
|
/linux-4.1.27/Documentation/cgroups/ |
D | cgroups.txt | 597 cgroup_taskset_for_each() iterator. Note that this isn't called on a
|