Searched refs:prev (Results 151 - 175 of 1034) sorted by relevance

1234567891011>>

/linux-master/net/ceph/
H A Dpagelist.c32 struct page *page = list_entry(pl->head.prev, struct page, lru);
140 c->page_lru = pl->head.prev;
158 while (pl->head.prev != c->page_lru) {
159 page = list_entry(pl->head.prev, struct page, lru);
166 page = list_entry(pl->head.prev, struct page, lru);
/linux-master/fs/btrfs/
H A Dextent_map.c134 struct rb_node *prev = NULL; local
143 prev = n;
154 orig_prev = prev;
155 while (prev && offset >= extent_map_end(prev_entry)) {
156 prev = rb_next(prev);
157 prev_entry = rb_entry(prev, struct extent_map, rb_node);
164 if (prev) {
165 *prev_or_next_ret = prev;
169 prev
211 mergeable_maps(const struct extent_map *prev, const struct extent_map *next) argument
515 struct rb_node *prev; local
534 struct extent_map *prev; local
[all...]
/linux-master/security/selinux/ss/
H A Dmls.c34 int i, l, len, head, prev; local
49 prev = -2;
53 if (i - prev > 1) {
55 if (head != prev) {
56 nm = sym_name(p, SYM_CATS, prev);
63 prev = i;
65 if (prev != head) {
66 nm = sym_name(p, SYM_CATS, prev);
90 int i, l, head, prev; local
109 prev
[all...]
/linux-master/samples/bpf/
H A Dtest_lru_dist.c36 struct list_head *next, *prev; member in struct:list_head
42 list->prev = list;
46 struct list_head *prev,
49 next->prev = new;
51 new->prev = prev;
52 prev->next = new;
60 static inline void __list_del(struct list_head *prev, struct list_head *next) argument
62 next->prev = prev;
45 __list_add(struct list_head *new, struct list_head *prev, struct list_head *next) argument
[all...]
/linux-master/drivers/gpu/drm/i915/
H A Di915_active.c57 return (struct intel_engine_cs *)READ_ONCE(node->base.cb.node.prev);
468 struct dma_fence *prev; local
475 prev = __i915_active_fence_set(active, fence);
476 if (!prev)
479 return prev;
776 struct rb_node *prev, *p; local
795 prev = NULL;
804 prev = p;
817 for (p = prev; p; p = rb_next(p)) {
879 struct llist_node *prev local
1031 struct dma_fence *prev; local
[all...]
/linux-master/tools/perf/scripts/python/
H A Dsched-migration.py104 def sched_switch(self, prev, prev_state, next):
108 and prev in self.tasks:
112 event = RunqueueEventSleep(prev)
115 if prev in self.tasks:
117 next_tasks.remove(prev)
119 next_tasks.append(prev)
162 def __init__(self, start, prev):
164 self.prev = prev
168 if prev i
[all...]
/linux-master/kernel/sched/
H A Dstats.h111 void psi_task_switch(struct task_struct *prev, struct task_struct *next,
178 static inline void psi_sched_switch(struct task_struct *prev, argument
185 psi_task_switch(prev, next, sleep);
192 static inline void psi_sched_switch(struct task_struct *prev, argument
273 * the idle task.) We are only called when prev != next.
276 sched_info_switch(struct rq *rq, struct task_struct *prev, struct task_struct *next) argument
279 * prev now departs the CPU. It's not interesting to record
283 if (prev != rq->idle)
284 sched_info_depart(rq, prev);
/linux-master/net/can/j1939/
H A Daddress-claim.c129 struct j1939_ecu *ecu, *prev; local
227 prev = j1939_ecu_get_by_addr_locked(priv, skcb->addr.sa);
228 if (prev) {
229 if (ecu->name > prev->name) {
231 j1939_ecu_put(prev);
234 /* kick prev if less or equal */
235 j1939_ecu_unmap_locked(prev);
236 j1939_ecu_put(prev);
/linux-master/tools/perf/util/bpf_skel/
H A Doff_cpu.bpf.c185 static int off_cpu_stat(u64 *ctx, struct task_struct *prev, argument
194 if (!can_record(prev, state))
200 pelem = bpf_task_storage_get(&tstamp, prev, NULL,
266 struct task_struct *prev, *next; local
272 prev = (struct task_struct *)ctx[1];
278 prev_state = get_task_state(prev);
280 return off_cpu_stat(ctx, prev, next, prev_state & 0xff);
/linux-master/arch/m68k/sun3/
H A Dsun3dvma.c97 struct hole *prev = NULL; local
104 if(!prev) {
105 prev = hole;
109 if(hole->end == prev->start) {
110 hole->size += prev->size;
111 hole->end = prev->end;
112 list_move(&(prev->list), &hole_cache);
/linux-master/arch/riscv/mm/
H A Dcontext.c208 static inline void set_mm(struct mm_struct *prev, argument
223 cpumask_clear_cpu(cpu, mm_cpumask(prev));
279 static inline void set_mm(struct mm_struct *prev, argument
318 void switch_mm(struct mm_struct *prev, struct mm_struct *next, argument
323 if (unlikely(prev == next))
326 membarrier_arch_switch_mm(prev, next, task);
335 set_mm(prev, next, cpu);
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dmdio_10g.c233 struct ethtool_link_ksettings prev = { local
239 efx->phy_op->get_link_ksettings(efx, &prev);
244 prev.link_modes.advertising);
246 prev.link_modes.supported);
249 cmd->base.speed == prev.base.speed &&
250 cmd->base.duplex == prev.base.duplex &&
251 cmd->base.port == prev.base.port &&
252 cmd->base.autoneg == prev.base.autoneg)
256 if (prev.base.port != PORT_TP || cmd->base.port != PORT_TP)
/linux-master/drivers/acpi/acpica/
H A Dpsparse.c103 union acpi_parse_object *prev; local
130 prev = op->common.parent->common.value.arg;
131 if (!prev) {
224 if (prev == op) {
245 while (prev) {
249 next = prev->common.next;
258 prev->common.next =
264 prev->common.next =
269 prev = next;
/linux-master/net/core/
H A Ddst.c182 unsigned long prev, new; local
188 prev = cmpxchg(&dst->_metrics, old, new);
190 if (prev != old) {
192 p = (struct dst_metrics *)__DST_METRICS_PTR(prev);
193 if (prev & DST_METRICS_READ_ONLY)
195 } else if (prev & DST_METRICS_REFCOUNTED) {
208 unsigned long prev, new; local
211 prev = cmpxchg(&dst->_metrics, old, new);
212 if (prev == old)
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_ring.h61 u32 next, u32 prev)
64 typecheck(typeof(ring->size), prev);
65 return (next - prev) << ring->wrap;
60 intel_ring_direction(const struct intel_ring *ring, u32 next, u32 prev) argument
/linux-master/arch/csky/include/asm/
H A Datomic.h106 int prev, tmp; local
119 : "=&r" (prev), "=&r" (tmp)
123 return prev;
/linux-master/drivers/net/wireguard/
H A Dqueueing.c50 #define NEXT(skb) ((skb)->prev)
62 offsetof(struct sk_buff, prev) != offsetof(struct prev_queue, empty.prev) -
/linux-master/arch/sparc/include/asm/
H A Dmmu_context_64.h141 static inline void arch_start_context_switch(struct task_struct *prev) argument
156 set_tsk_thread_flag(prev, TIF_MCDPER);
158 clear_tsk_thread_flag(prev, TIF_MCDPER);
/linux-master/arch/powerpc/lib/
H A Dqspinlock.c125 u32 prev, tmp; local
144 : "=&r" (prev), "=&r" (tmp)
151 return prev;
163 u32 prev, tmp; local
174 : "=&r" (prev), "=&r"(tmp)
178 return prev;
183 u32 prev; local
190 : "=&r" (prev)
194 return prev;
199 u32 prev; local
215 u32 prev; local
576 struct qnode *prev = get_tail_qnode(lock, prev_cpu); local
[all...]
/linux-master/arch/x86/kernel/
H A Dprocess_64.c369 * Store prev's PKRU value and load next's PKRU value if they differ. PKRU
374 static __always_inline void x86_pkru_load(struct thread_struct *prev, argument
380 /* Stash the prev task's value: */
381 prev->pkru = rdpkru();
387 if (prev->pkru != next->pkru)
391 static __always_inline void x86_fsgsbase_load(struct thread_struct *prev, argument
396 if (unlikely(prev->fsindex || next->fsindex))
398 if (unlikely(prev->gsindex || next->gsindex))
405 load_seg_legacy(prev->fsindex, prev
612 struct thread_struct *prev = &prev_p->thread; local
[all...]
/linux-master/fs/nfs/
H A Dpagelist.c403 * @prev - the previous request in page group, or NULL if @req is the first
407 nfs_page_group_init(struct nfs_page *req, struct nfs_page *prev) argument
410 WARN_ON_ONCE(prev == req);
412 if (!prev) {
418 WARN_ON_ONCE(prev->wb_this_page != prev->wb_head);
419 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &prev->wb_head->wb_flags));
420 req->wb_head = prev->wb_head;
421 req->wb_this_page = prev->wb_this_page;
422 prev
725 nfs_generic_pg_test(struct nfs_pageio_descriptor *desc, struct nfs_page *prev, struct nfs_page *req) argument
1147 nfs_page_is_contiguous(const struct nfs_page *prev, const struct nfs_page *req) argument
1177 nfs_coalesce_size(struct nfs_page *prev, struct nfs_page *req, struct nfs_pageio_descriptor *pgio) argument
1212 struct nfs_page *prev = NULL; local
1534 struct nfs_page *prev; local
[all...]
/linux-master/arch/alpha/include/asm/
H A Dgct.h25 gct6_handle prev; member in struct:__gct6_node
/linux-master/include/linux/
H A Dlist_bl.h105 struct hlist_bl_node *prev)
107 n->next = prev->next;
108 n->pprev = &prev->next;
109 prev->next = n;
104 hlist_bl_add_behind(struct hlist_bl_node *n, struct hlist_bl_node *prev) argument
/linux-master/arch/powerpc/boot/
H A Dlibfdt-wrapper.c117 static void *fdt_wrapper_find_node_by_prop_value(const void *prev, argument
122 int offset = fdt_node_offset_by_prop_value(fdt, devp_offset_find(prev),
127 static void *fdt_wrapper_find_node_by_compatible(const void *prev, argument
130 int offset = fdt_node_offset_by_compatible(fdt, devp_offset_find(prev),
/linux-master/include/sound/
H A Dutil_mem.h49 struct list_head *prev);

Completed in 325 milliseconds

1234567891011>>