/linux-master/include/linux/sched/ |
H A D | cputime.h | 49 extern void cputime_adjust(struct task_cputime *curr, struct prev_cputime *prev, 172 static inline void prev_cputime_init(struct prev_cputime *prev) argument 175 prev->utime = prev->stime = 0; 176 raw_spin_lock_init(&prev->lock);
|
/linux-master/drivers/acpi/acpica/ |
H A D | utaddress.c | 99 struct acpi_address_range *prev; local 110 range_info = prev = acpi_gbl_address_range_list[space_id]; 113 if (range_info == prev) { /* Found at list head */ 117 prev->next = range_info->next; 133 prev = range_info;
|
/linux-master/security/selinux/ss/ |
H A D | hashtab.h | 66 struct hashtab_node *prev, *cur; local 74 prev = NULL; 83 prev = cur; 87 return __hashtab_insert(h, prev ? &prev->next : &h->htable[hvalue], key,
|
/linux-master/sound/core/ |
H A D | pcm_param_trace.h | 29 TP_PROTO(struct snd_pcm_substream *substream, snd_pcm_hw_param_t type, int index, const struct snd_mask *prev, const struct snd_mask *curr), 30 TP_ARGS(substream, type, index, prev, curr), 50 memcpy(__entry->prev_bits, prev->bits, sizeof(__u32) * 8); 69 TP_PROTO(struct snd_pcm_substream *substream, snd_pcm_hw_param_t type, int index, const struct snd_interval *prev, const struct snd_interval *curr), 70 TP_ARGS(substream, type, index, prev, curr), 100 __entry->prev_min = prev->min; 101 __entry->prev_max = prev->max; 102 __entry->prev_openmin = prev->openmin; 103 __entry->prev_openmax = prev->openmax; 104 __entry->prev_integer = prev [all...] |
/linux-master/net/netfilter/ |
H A D | xt_limit.c | 17 unsigned long prev; member in struct:xt_limit_priv 37 `prev' tracks the last packet hit: you gain one credit per jiffy. 72 if ((READ_ONCE(priv->credit) < r->cost) && (READ_ONCE(priv->prev) == jiffies)) 77 credit_increase += (now - xchg(&priv->prev, now)) * CREDITS_PER_JIFFY; 126 priv->prev = jiffies; 148 compat_ulong_t prev; member in struct:compat_xt_rateinfo 155 /* To keep the full "prev" timestamp, the upper 32 bits are stored in the 163 .prev = cm->prev | (unsigned long)cm->master << 32, 177 .prev [all...] |
/linux-master/arch/m68k/include/asm/ |
H A D | atomic.h | 175 int prev; local 178 prev = arch_atomic_read(v); 179 if (prev == old) 182 return prev; 189 int prev; local 192 prev = arch_atomic_read(v); 195 return prev;
|
/linux-master/sound/isa/gus/ |
H A D | gus_mem.c | 46 nblock->prev = pblock->prev; 48 pblock->prev = nblock; 52 nblock->prev->next = nblock; 60 nblock->prev = NULL; 63 nblock->prev = alloc->last; 80 block->next->prev = NULL; 82 block->prev->next = block->next; 84 block->next->prev = block->prev; [all...] |
/linux-master/arch/powerpc/boot/ |
H A D | ops.h | 46 void *(*find_node_by_prop_value)(const void *prev, 49 void *(*find_node_by_compatible)(const void *prev, 144 static inline void *find_node_by_prop_value(const void *prev, argument 149 return dt_ops.find_node_by_prop_value(prev, propname, 155 static inline void *find_node_by_prop_value_str(const void *prev, argument 159 return find_node_by_prop_value(prev, propname, propval, 163 static inline void *find_node_by_devtype(const void *prev, argument 166 return find_node_by_prop_value_str(prev, "device_type", type); 182 static inline void *find_node_by_compatible(const void *prev, argument 186 return dt_ops.find_node_by_compatible(prev, compa [all...] |
/linux-master/lib/dim/ |
H A D | net_dim.c | 138 struct dim_stats *prev) 140 if (!prev->bpms) 143 if (IS_SIGNIFICANT_DIFF(curr->bpms, prev->bpms)) 144 return (curr->bpms > prev->bpms) ? DIM_STATS_BETTER : 147 if (!prev->ppms) 151 if (IS_SIGNIFICANT_DIFF(curr->ppms, prev->ppms)) 152 return (curr->ppms > prev->ppms) ? DIM_STATS_BETTER : 155 if (!prev->epms) 158 if (IS_SIGNIFICANT_DIFF(curr->epms, prev->epms)) 159 return (curr->epms < prev 137 net_dim_stats_compare(struct dim_stats *curr, struct dim_stats *prev) argument [all...] |
/linux-master/tools/perf/ |
H A D | perf-completion.sh | 74 prev) 75 prev=${words_[$cword_-1]} 163 elif [[ $prev == @("-e"|"--event") && 201 elif [[ $prev == @("--pfm-events") && 205 elif [[ $prev == @("-M"|"--metrics") && 275 local _ret=1 cur cword prev 277 prev=${words[CURRENT-1]} 301 local cur words cword prev 303 _get_comp_words_by_ref -n =:, cur words cword prev 305 __perf_get_comp_words_by_ref -n =:, cur words cword prev [all...] |
/linux-master/mm/ |
H A D | madvise.c | 138 struct vm_area_struct **prev, unsigned long start, 147 *prev = vma; 151 vma = vma_modify_flags_name(&vmi, *prev, vma, start, end, new_flags, 156 *prev = vma; 262 struct vm_area_struct **prev, 269 *prev = vma; 298 *prev = NULL; /* tell sys_madvise we drop mmap_lock */ 558 struct vm_area_struct **prev, 564 *prev = vma; 591 struct vm_area_struct **prev, 137 madvise_update_vma(struct vm_area_struct *vma, struct vm_area_struct **prev, unsigned long start, unsigned long end, unsigned long new_flags, struct anon_vma_name *anon_name) argument 261 madvise_willneed(struct vm_area_struct *vma, struct vm_area_struct **prev, unsigned long start, unsigned long end) argument 557 madvise_cold(struct vm_area_struct *vma, struct vm_area_struct **prev, unsigned long start_addr, unsigned long end_addr) argument 590 madvise_pageout(struct vm_area_struct *vma, struct vm_area_struct **prev, unsigned long start_addr, unsigned long end_addr) argument 850 madvise_dontneed_free(struct vm_area_struct *vma, struct vm_area_struct **prev, unsigned long start, unsigned long end, int behavior) argument 904 madvise_populate(struct vm_area_struct *vma, struct vm_area_struct **prev, unsigned long start, unsigned long end, int behavior) argument 952 madvise_remove(struct vm_area_struct *vma, struct vm_area_struct **prev, unsigned long start, unsigned long end) argument 1002 madvise_vma_behavior(struct vm_area_struct *vma, struct vm_area_struct **prev, unsigned long start, unsigned long end, unsigned long behavior) argument 1207 madvise_walk_vmas(struct mm_struct *mm, unsigned long start, unsigned long end, unsigned long arg, int (*visit)(struct vm_area_struct *vma, struct vm_area_struct **prev, unsigned long start, unsigned long end, unsigned long arg)) argument 1214 struct vm_area_struct *prev; local 1266 madvise_vma_anon_name(struct vm_area_struct *vma, struct vm_area_struct **prev, unsigned long start, unsigned long end, unsigned long anon_name) argument [all...] |
/linux-master/crypto/ |
H A D | cmac.c | 42 * | prev (block size) 107 u8 *prev = &ctx->odds[bs]; local 110 memset(prev, 0, bs); 124 u8 *prev = odds + bs; local 138 crypto_xor(prev, odds, bs); 139 crypto_cipher_encrypt_one(tfm, prev, prev); 146 crypto_xor(prev, p, bs); 147 crypto_cipher_encrypt_one(tfm, prev, prev); 169 u8 *prev = odds + bs; local [all...] |
/linux-master/tools/testing/selftests/powerpc/dscr/ |
H A D | dscr_explicit_test.c | 30 sem_t *prev = (sem_t *)args; local 38 FAIL_IF_EXIT(sem_wait(prev)); 56 sem_t *prev = &semaphores[1]; /* reversed prev/next than for the other thread */ local 65 FAIL_IF(sem_init(prev, 0, 0)); 71 FAIL_IF(sem_wait(prev)); 83 FAIL_IF(sem_destroy(prev));
|
/linux-master/arch/arc/include/asm/ |
H A D | atomic64-arcv2.h | 143 s64 prev; local 154 : "=&r"(prev) 160 return prev; 166 s64 prev; local 175 : "=&r"(prev) 181 return prev;
|
/linux-master/arch/x86/include/asm/ |
H A D | mmu_context.h | 76 extern void switch_ldt(struct mm_struct *prev, struct mm_struct *next); 82 static inline void switch_ldt(struct mm_struct *prev, struct mm_struct *next) argument 168 extern void switch_mm(struct mm_struct *prev, struct mm_struct *next, 171 extern void switch_mm_irqs_off(struct mm_struct *prev, struct mm_struct *next, 175 #define activate_mm(prev, next) \ 178 switch_mm((prev), (next), NULL); \
|
/linux-master/fs/xfs/scrub/ |
H A D | alloc.c | 49 struct xfs_alloc_rec_incore prev; member in struct:xchk_alloc 124 if (ca->prev.ar_blockcount > 0 && 125 ca->prev.ar_startblock + ca->prev.ar_blockcount == irec->ar_startblock && 126 ca->prev.ar_blockcount + irec->ar_blockcount < (uint32_t)~0U) 129 memcpy(&ca->prev, irec, sizeof(*irec));
|
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_mcg.c | 54 * If GID is found in MGM or MGM is empty, *index = *hash, *prev = -1 57 * if GID is found in AMGM, *index = index in AMGM, *prev = index of 60 * If no AMGM exists for given gid, *index = -1, *prev = index of last 65 u16 *hash, int *prev, int *index) 89 *prev = -1; 109 *prev = *index; 126 int index, prev; local 138 err = find_mgm(dev, gid->raw, mailbox, &hash, &prev, &index); 191 err = mthca_READ_MGM(dev, prev, mailbox); 199 err = mthca_WRITE_MGM(dev, prev, mailbo 63 find_mgm(struct mthca_dev *dev, u8 *gid, struct mthca_mailbox *mgm_mailbox, u16 *hash, int *prev, int *index) argument 220 int prev, index; local [all...] |
/linux-master/lib/ |
H A D | klist.c | 326 * klist_prev - Ante up prev node in list. 330 * node, if there was one. Grab the prev node, increment its reference 331 * count, drop the lock, and return that prev node. 337 struct klist_node *prev; local 343 prev = to_klist_node(last->n_node.prev); 347 prev = to_klist_node(i->i_klist->k_list.prev); 350 while (prev != to_klist_node(&i->i_klist->k_list)) { 351 if (likely(!knode_dead(prev))) { [all...] |
/linux-master/tools/bpf/runqslower/ |
H A D | runqslower.bpf.c | 66 /* TP_PROTO(bool preempt, struct task_struct *prev, 69 struct task_struct *prev = (struct task_struct *)ctx[1]; local 77 if (prev->__state == TASK_RUNNING) 78 trace_enqueue(prev);
|
/linux-master/arch/powerpc/include/asm/ |
H A D | switch_to.h | 17 #define switch_to(prev, next, last) ((last) = __switch_to((prev), (next))) 19 extern struct task_struct *_switch(struct thread_struct *prev,
|
/linux-master/samples/bpf/ |
H A D | xdp_sample_user.c | 652 struct record *rec, *prev; local 657 prev = &stats_prev->rx_cnt; 658 t = calc_period(rec, prev); 662 struct datarec *p = &prev->cpu[i]; 678 pps = calc_pps(&rec->total, &prev->total, t); 679 drop = calc_drop_pps(&rec->total, &prev->total, t); 680 err = calc_errs_pps(&rec->total, &prev->total, t); 695 struct record *rec, *prev; local 702 prev = &stats_prev->enq[to_cpu]; 703 t = calc_period(rec, prev); 750 struct record *rec, *prev; local 788 struct record *rec, *prev; local 827 struct record *rec, *prev; local 859 struct record *rec, *prev; local 909 struct record *rec, *prev; local 954 struct record *rec, *prev; local 1437 sample_stats_print(int mask, struct stats_record *cur, struct stats_record *prev, char *prog_name) argument 1497 sample_timer_cb(int timerfd, struct stats_record **rec, struct stats_record **prev) argument 1535 struct stats_record *rec, *prev; local [all...] |
/linux-master/drivers/usb/image/ |
H A D | microtek.h | 32 struct mts_desc *prev; member in struct:mts_desc
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | btf_dump_test_case_ordering.c | 33 struct list_head *prev; member in struct:list_head
|
/linux-master/net/bridge/netfilter/ |
H A D | ebt_limit.c | 42 info->credit += (now - xchg(&info->prev, now)) * CREDITS_PER_JIFFY; 82 info->prev = jiffies; 97 compat_ulong_t prev; member in struct:ebt_compat_limit_info 109 .usersize = offsetof(struct ebt_limit_info, prev),
|
/linux-master/drivers/input/joystick/ |
H A D | joydump.c | 33 struct joydump *dump, *prev; /* one entry each */ local 104 prev = dump; 113 for (i = 1; i < t; i++, dump++, prev++) { 115 i, dump->time - prev->time);
|