Home
last modified time | relevance | path

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

12

/linux-3.4.99/net/wireless/
Dradiotap.c94 struct ieee80211_radiotap_iterator *iterator, in ieee80211_radiotap_iterator_init() argument
110 iterator->_rtheader = radiotap_header; in ieee80211_radiotap_iterator_init()
111 iterator->_max_length = get_unaligned_le16(&radiotap_header->it_len); in ieee80211_radiotap_iterator_init()
112 iterator->_arg_index = 0; in ieee80211_radiotap_iterator_init()
113 iterator->_bitmap_shifter = get_unaligned_le32(&radiotap_header->it_present); in ieee80211_radiotap_iterator_init()
114 iterator->_arg = (uint8_t *)radiotap_header + sizeof(*radiotap_header); in ieee80211_radiotap_iterator_init()
115 iterator->_reset_on_ext = 0; in ieee80211_radiotap_iterator_init()
116 iterator->_next_bitmap = &radiotap_header->it_present; in ieee80211_radiotap_iterator_init()
117 iterator->_next_bitmap++; in ieee80211_radiotap_iterator_init()
118 iterator->_vns = vns; in ieee80211_radiotap_iterator_init()
[all …]
/linux-3.4.99/include/drm/
Ddrm_buffer.h41 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()
/linux-3.4.99/scripts/coccinelle/iterators/
Dfen.cocci18 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)
Ditnull.cocci22 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)
Dlist_entry_update.cocci19 iterator name list_for_each_entry;
53 cocci.print_main("iterator",p1)
61 msg = "iterator with update on line %s" % (p2[0].line)
/linux-3.4.99/Documentation/networking/
Dradiotap-headers.txt101 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-3.4.99/Documentation/filesystems/
Dseq_file.txt32 * An iterator interface which lets a virtual file implementation
58 The iterator interface
61 iterator object that allows stepping through the data of interest.
63 implement - but the interpretation of that position is up to the iterator
71 The /proc/sequence iterator just uses the count of the next number it
74 Four functions must be implemented to make the iterator work. The first,
75 called start() takes a position as an argument and returns an iterator
88 The entire data structure for this iterator is a single loff_t value
90 iterator, but that will not be the case for most other seq_file
102 move the iterator forward to the next position in the sequence. The
[all …]
/linux-3.4.99/arch/x86/kvm/
Dmmu.c1737 static void shadow_walk_init(struct kvm_shadow_walk_iterator *iterator, in shadow_walk_init() argument
1740 iterator->addr = addr; in shadow_walk_init()
1741 iterator->shadow_addr = vcpu->arch.mmu.root_hpa; in shadow_walk_init()
1742 iterator->level = vcpu->arch.mmu.shadow_root_level; in shadow_walk_init()
1744 if (iterator->level == PT64_ROOT_LEVEL && in shadow_walk_init()
1747 --iterator->level; in shadow_walk_init()
1749 if (iterator->level == PT32E_ROOT_LEVEL) { in shadow_walk_init()
1750 iterator->shadow_addr in shadow_walk_init()
1752 iterator->shadow_addr &= PT64_BASE_ADDR_MASK; in shadow_walk_init()
1753 --iterator->level; in shadow_walk_init()
[all …]
Dpaging_tmpl.h671 struct kvm_shadow_walk_iterator iterator; in FNAME() local
685 for_each_shadow_entry(vcpu, gva, iterator) { in FNAME()
686 level = iterator.level; in FNAME()
687 sptep = iterator.sptep; in FNAME()
/linux-3.4.99/scripts/coccinelle/null/
Dderef_null.cocci57 iterator iter;
118 iterator iter;
178 iterator iter;
251 iterator iter;
/linux-3.4.99/drivers/scsi/megaraid/
Dmegaraid_mm.c248 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-3.4.99/drivers/gpu/drm/
Ddrm_buffer.c127 buf->iterator = 0; in drm_buffer_copy_from_user()
/linux-3.4.99/drivers/gpu/drm/radeon/
Dr300_cmdbuf.c733 int orig_iter = cmdbuf->buffer->iterator; in r300_emit_packet3()
745 cmdbuf->buffer->iterator = orig_iter; in r300_emit_packet3()
770 cmdbuf->buffer->iterator - (int)sizeof(header)); in r300_emit_packet3()
1156 cmdbuf->buffer->iterator - (int)sizeof(*header)); in r300_do_cp_cmdbuf()
/linux-3.4.99/scripts/coccinelle/free/
Dkfree.cocci72 iterator iter;
/linux-3.4.99/net/mac80211/
Dtx.c1501 struct ieee80211_radiotap_iterator iterator; in ieee80211_parse_tx_radiotap() local
1505 int ret = ieee80211_radiotap_iterator_init(&iterator, rthdr, skb->len, in ieee80211_parse_tx_radiotap()
1519 ret = ieee80211_radiotap_iterator_next(&iterator); in ieee80211_parse_tx_radiotap()
1525 switch (iterator.this_arg_index) { in ieee80211_parse_tx_radiotap()
1533 if (*iterator.this_arg & IEEE80211_RADIOTAP_F_FCS) { in ieee80211_parse_tx_radiotap()
1541 if (skb->len < (iterator._max_length + FCS_LEN)) in ieee80211_parse_tx_radiotap()
1546 if (*iterator.this_arg & IEEE80211_RADIOTAP_F_WEP) in ieee80211_parse_tx_radiotap()
1548 if (*iterator.this_arg & IEEE80211_RADIOTAP_F_FRAG) in ieee80211_parse_tx_radiotap()
1553 txflags = get_unaligned_le16(iterator.this_arg); in ieee80211_parse_tx_radiotap()
1577 skb_pull(skb, iterator._max_length); in ieee80211_parse_tx_radiotap()
Dutil.c474 void (*iterator)(void *data, u8 *mac, in ieee80211_iterate_active_interfaces()
492 iterator(data, sdata->vif.addr, in ieee80211_iterate_active_interfaces()
502 void (*iterator)(void *data, u8 *mac, in ieee80211_iterate_active_interfaces_atomic()
520 iterator(data, sdata->vif.addr, in ieee80211_iterate_active_interfaces_atomic()
/linux-3.4.99/drivers/scsi/osd/
Dosd_initiator.c1349 struct osd_attr *oa, int *nelem, void **iterator) in osd_req_decode_get_attr_list() argument
1362 *iterator = NULL; in osd_req_decode_get_attr_list()
1366 if (*iterator) { in osd_req_decode_get_attr_list()
1367 BUG_ON((*iterator < or->get_attr.buff) || in osd_req_decode_get_attr_list()
1368 (or->get_attr.buff + or->get_attr.alloc_size < *iterator)); in osd_req_decode_get_attr_list()
1369 cur_p = *iterator; in osd_req_decode_get_attr_list()
1370 cur_bytes = (*iterator - or->get_attr.buff) - sizeof_attr_list; in osd_req_decode_get_attr_list()
1409 *iterator = (returned_bytes - cur_bytes) ? cur_p : NULL; in osd_req_decode_get_attr_list()
/linux-3.4.99/include/scsi/
Dosd_initiator.h500 struct osd_attr *, int *nelem, void **iterator);
/linux-3.4.99/Documentation/RCU/
DlistRCU.txt116 /* 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-3.4.99/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()
/linux-3.4.99/include/net/
Dmac80211.h3103 void (*iterator)(void *data, u8 *mac,
3121 void (*iterator)(void *data,
Dcfg80211.h2453 struct ieee80211_radiotap_iterator *iterator,
2458 struct ieee80211_radiotap_iterator *iterator);
/linux-3.4.99/arch/sparc/lib/
DNGmemcpy.S151 andn %i2, (64 - 1), %g1 ! block copy loop iterator
/linux-3.4.99/Documentation/
Drbtree.txt182 The iterator functions return a pointer to the embedded struct rb_node, from
/linux-3.4.99/sound/pci/asihpi/
Dhpi.h1171 u16 hpi_subsys_get_adapter(int iterator, u32 *padapter_index,

12