Home
last modified time | relevance | path

Searched refs:next_entry (Results 1 – 25 of 27) sorted by relevance

12

/linux-3.4.99/net/mac80211/
Drc80211_pid_debugfs.c31 ev = &(buf->ring[buf->next_entry]); in rate_control_pid_event()
32 buf->next_entry = (buf->next_entry + 1) % RC_PID_EVENT_RING_SIZE; in rate_control_pid_event()
101 file_info->next_entry = events->next_entry; in rate_control_pid_events_open()
145 if (events->next_entry == file_info->next_entry) { in rate_control_pid_events_read()
151 events->next_entry != file_info->next_entry); in rate_control_pid_events_read()
162 ev = &(events->ring[file_info->next_entry]); in rate_control_pid_events_read()
163 file_info->next_entry = (file_info->next_entry + 1) % in rate_control_pid_events_read()
Drc80211_pid.h104 unsigned int next_entry; member
118 unsigned int next_entry; member
/linux-3.4.99/security/selinux/ss/
Dpolicydb.c965 rc = next_entry(buf, fp, sizeof(u32)); in mls_read_range_helper()
976 rc = next_entry(buf, fp, sizeof(u32) * items); in mls_read_range_helper()
1025 rc = next_entry(buf, fp, sizeof buf); in context_read_and_validate()
1071 rc = next_entry(buf, fp, sizeof buf); in perm_read()
1083 rc = next_entry(key, fp, len); in perm_read()
1111 rc = next_entry(buf, fp, sizeof buf); in common_read()
1129 rc = next_entry(key, fp, len); in common_read()
1169 rc = next_entry(buf, fp, (sizeof(u32) * 2)); in read_cons_helper()
1186 rc = next_entry(buf, fp, (sizeof(u32) * 3)); in read_cons_helper()
1245 rc = next_entry(buf, fp, sizeof(u32)*6); in class_read()
[all …]
Dconditional.c232 rc = next_entry(buf, fp, sizeof buf); in cond_read_bool()
249 rc = next_entry(key, fp, len); in cond_read_bool()
361 rc = next_entry(buf, fp, sizeof(u32)); in cond_read_av_list()
405 rc = next_entry(buf, fp, sizeof(u32)); in cond_read_node()
412 rc = next_entry(buf, fp, sizeof(u32)); in cond_read_node()
420 rc = next_entry(buf, fp, sizeof(u32) * 2); in cond_read_node()
464 rc = next_entry(buf, fp, sizeof buf); in cond_read_list()
Davtab.c344 rc = next_entry(buf32, fp, sizeof(u32)); in avtab_read_item()
355 rc = next_entry(buf32, fp, sizeof(u32)*items2); in avtab_read_item()
411 rc = next_entry(buf16, fp, sizeof(u16)*4); in avtab_read_item()
440 rc = next_entry(buf32, fp, sizeof(u32)); in avtab_read_item()
467 rc = next_entry(buf, fp, sizeof(u32)); in avtab_read()
Debitmap.c360 rc = next_entry(buf, fp, sizeof buf); in ebitmap_read()
385 rc = next_entry(&startbit, fp, sizeof(u32)); in ebitmap_read()
428 rc = next_entry(&map, fp, sizeof(u64)); in ebitmap_read()
Dpolicydb.h312 static inline int next_entry(void *buf, struct policy_file *fp, size_t bytes) in next_entry() function
/linux-3.4.99/drivers/net/wireless/iwlwifi/
Diwl-trans-pcie-rx.c810 u32 num_wraps, u32 next_entry, in iwl_print_last_event_logs() argument
819 if (next_entry < size) { in iwl_print_last_event_logs()
821 capacity - (size - next_entry), in iwl_print_last_event_logs()
822 size - next_entry, mode, in iwl_print_last_event_logs()
825 next_entry, mode, in iwl_print_last_event_logs()
828 pos = iwl_print_event_log(trans, next_entry - size, in iwl_print_last_event_logs()
831 if (next_entry < size) { in iwl_print_last_event_logs()
832 pos = iwl_print_event_log(trans, 0, next_entry, in iwl_print_last_event_logs()
835 pos = iwl_print_event_log(trans, next_entry - size, in iwl_print_last_event_logs()
851 u32 next_entry; /* index of next entry to be written by uCode */ in iwl_dump_nic_event_log() local
[all …]
Diwl-agn.c380 u32 next_entry; /* index of next entry to be written by uCode */ in iwl_continuous_event_trace() local
389 next_entry = read.write_counter; in iwl_continuous_event_trace()
398 if (unlikely(next_entry == capacity)) in iwl_continuous_event_trace()
399 next_entry = 0; in iwl_continuous_event_trace()
408 if (unlikely(next_entry < priv->event_log.next_entry && in iwl_continuous_event_trace()
414 priv, base, priv->event_log.next_entry, in iwl_continuous_event_trace()
415 next_entry - priv->event_log.next_entry, in iwl_continuous_event_trace()
427 next_entry, priv->event_log.next_entry); in iwl_continuous_event_trace()
429 if (next_entry < priv->event_log.next_entry) { in iwl_continuous_event_trace()
431 priv, base, priv->event_log.next_entry, in iwl_continuous_event_trace()
[all …]
Diwl-dev.h568 u32 next_entry; member
/linux-3.4.99/net/wireless/
Dradiotap.c223 goto next_entry; /* arg not present */ in ieee80211_radiotap_iterator_next()
251 goto next_entry; in ieee80211_radiotap_iterator_next()
334 goto next_entry; in ieee80211_radiotap_iterator_next()
339 goto next_entry; in ieee80211_radiotap_iterator_next()
357 next_entry: in ieee80211_radiotap_iterator_next()
/linux-3.4.99/kernel/
Dfutex_compat.c52 struct robust_list __user *entry, *next_entry, *pending; in compat_exit_robust_list() local
81 next_entry = NULL; /* avoid warning with gcc */ in compat_exit_robust_list()
87 rc = fetch_robust_entry(&next_uentry, &next_entry, in compat_exit_robust_list()
102 entry = next_entry; in compat_exit_robust_list()
Dfutex.c2714 struct robust_list __user *entry, *next_entry, *pending; in exit_robust_list() local
2741 next_entry = NULL; /* avoid warning with gcc */ in exit_robust_list()
2747 rc = fetch_robust_entry(&next_entry, &entry->next, &next_pi); in exit_robust_list()
2758 entry = next_entry; in exit_robust_list()
/linux-3.4.99/net/atm/
Dmpoa_caches.c228 in_cache_entry *entry, *next_entry; in clear_count_and_expired() local
237 next_entry = entry->next; in clear_count_and_expired()
244 entry = next_entry; in clear_count_and_expired()
504 eg_cache_entry *entry, *next_entry; in clear_expired() local
513 next_entry = entry->next; in clear_expired()
523 entry = next_entry; in clear_expired()
/linux-3.4.99/drivers/pcmcia/
Dpcmcia_cis.c110 goto next_entry; in pccard_loop_tuple()
114 goto next_entry; in pccard_loop_tuple()
120 next_entry: in pccard_loop_tuple()
/linux-3.4.99/arch/alpha/kernel/
Dpci_iommu.c103 arena->next_entry = 0; in iommu_arena_new_node()
141 p = ALIGN(arena->next_entry, mask + 1); in iommu_arena_find_pages()
204 arena->next_entry = p + n; in iommu_arena_alloc()
422 if (dma_ofs >= arena->next_entry) in alpha_pci_unmap_page()
802 if ((fend - arena->dma_base) >> PAGE_SHIFT >= arena->next_entry) in alpha_pci_unmap_sg()
872 arena->next_entry = p + pg_count; in iommu_reserve()
Dpci_impl.h141 unsigned int next_entry; member
/linux-3.4.99/drivers/scsi/pcmcia/
Dnsp_cs.c1580 goto next_entry; in nsp_cs_config_check()
1589 goto next_entry; in nsp_cs_config_check()
1592 goto next_entry; in nsp_cs_config_check()
1602 next_entry: in nsp_cs_config_check()
/linux-3.4.99/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c1249 unsigned int next_entry; in stmmac_rx() local
1269 next_entry = (++priv->cur_rx) % rxsize; in stmmac_rx()
1270 p_next = priv->dma_rx + next_entry; in stmmac_rx()
1330 entry = next_entry; in stmmac_rx()
/linux-3.4.99/lib/
Ddma-debug.c530 struct dma_debug_entry *entry, *next_entry; in prealloc_memory() local
550 list_for_each_entry_safe(entry, next_entry, &free_entries, list) { in prealloc_memory()
/linux-3.4.99/kernel/trace/
Dtrace_output.c659 *next_entry = trace_find_next_entry(iter, NULL, local
668 if (!next_entry)
/linux-3.4.99/drivers/md/
Ddm-thin.c449 unsigned next_entry; in ds_add_work() local
457 next_entry = ds_next(ds->current_entry); in ds_add_work()
458 if (!ds->entries[next_entry].count) in ds_add_work()
459 ds->current_entry = next_entry; in ds_add_work()
/linux-3.4.99/arch/sparc/mm/
Dsun4c.c1371 struct sun4c_mmu_entry *this_entry, *next_entry; in sun4c_flush_tlb_all() local
1380 next_entry = this_entry->next; in sun4c_flush_tlb_all()
1387 this_entry = next_entry; in sun4c_flush_tlb_all()
/linux-3.4.99/drivers/net/ethernet/packetengines/
Dyellowfin.c865 unsigned next_entry = yp->cur_tx % TX_RING_SIZE; in yellowfin_start_xmit() local
866 yp->tx_ring[next_entry<<1].dbdma_cmd = cpu_to_le32(CMD_STOP); in yellowfin_start_xmit()
/linux-3.4.99/fs/proc/
Dproc_sysctl.c343 static void next_entry(struct ctl_table_header **phead, struct ctl_table **pentry) in next_entry() function
687 for (first_entry(ctl_dir, &h, &entry); h; next_entry(&h, &entry)) { in proc_sys_readdir()

12