Home
last modified time | relevance | path

Searched refs:stack (Results 1 – 25 of 89) sorted by relevance

1234

/drivers/misc/altera-stapl/
Daltera.c213 long *stack = astate->stack; in altera_execute() local
528 stack[stack_ptr] = stack[stack_ptr - 1]; in altera_execute()
534 swap(stack[stack_ptr - 2], stack[stack_ptr - 1]); in altera_execute()
539 stack[stack_ptr - 1] += stack[stack_ptr]; in altera_execute()
545 stack[stack_ptr - 1] -= stack[stack_ptr]; in altera_execute()
551 stack[stack_ptr - 1] *= stack[stack_ptr]; in altera_execute()
557 stack[stack_ptr - 1] /= stack[stack_ptr]; in altera_execute()
563 stack[stack_ptr - 1] %= stack[stack_ptr]; in altera_execute()
569 stack[stack_ptr - 1] <<= stack[stack_ptr]; in altera_execute()
575 stack[stack_ptr - 1] >>= stack[stack_ptr]; in altera_execute()
[all …]
/drivers/misc/lkdtm/
Dbugs.c139 static noinline void __lkdtm_CORRUPT_STACK(void *stack) in __lkdtm_CORRUPT_STACK() argument
141 memset(stack, '\xff', 64); in __lkdtm_CORRUPT_STACK()
187 static noinline void __lkdtm_REPORT_STACK_CANARY(void *stack) in __lkdtm_REPORT_STACK_CANARY() argument
191 unsigned long *canary = (unsigned long *)stack; in __lkdtm_REPORT_STACK_CANARY()
196 canary = (unsigned long *)stack + i; in __lkdtm_REPORT_STACK_CANARY()
224 canary = (unsigned long *)stack + current_offset; in __lkdtm_REPORT_STACK_CANARY()
527 const unsigned char *stack = task_stack_page(current); in lkdtm_STACK_GUARD_PAGE_LEADING() local
528 const unsigned char *ptr = stack - 1; in lkdtm_STACK_GUARD_PAGE_LEADING()
541 const unsigned char *stack = task_stack_page(current); in lkdtm_STACK_GUARD_PAGE_TRAILING() local
542 const unsigned char *ptr = stack + THREAD_SIZE; in lkdtm_STACK_GUARD_PAGE_TRAILING()
/drivers/md/dm-vdo/indexer/
Dradix-sort.c62 struct task stack[]; member
172 static inline int push_bins(struct task **stack, struct task *end_of_stack, in push_bins() argument
190 if (*stack >= end_of_stack) in push_bins()
193 push_task(stack, pile_start, size, offset, length); in push_bins()
220 radix_sorter->end_of_stack = radix_sorter->stack + stack_size; in uds_make_radix_sorter()
240 struct task *task_stack = sorter->stack; in uds_radix_sort()
268 for (*task_stack = start; task_stack >= sorter->stack; task_stack--) { in uds_radix_sort()
/drivers/media/mc/
Dmc-entity.c300 graph->stack[graph->top].link = entity->links.next; in stack_push()
301 graph->stack[graph->top].entity = entity; in stack_push()
308 entity = graph->stack[graph->top].entity; in stack_pop()
314 #define link_top(en) ((en)->stack[(en)->top].link)
315 #define stack_top(en) ((en)->stack[(en)->top].entity)
352 graph->stack[graph->top].entity = NULL; in media_graph_walk_start()
471 } stack; member
479 return &walk->stack.entries[walk->stack.top]; in media_pipeline_walk_top()
484 return walk->stack.top == -1; in media_pipeline_walk_empty()
494 if (walk->stack.size >= 256) in media_pipeline_walk_resize()
[all …]
/drivers/net/wireguard/
Dallowedips.c41 static void push_rcu(struct allowedips_node **stack, in push_rcu() argument
47 stack[(*len)++] = rcu_dereference_raw(p); in push_rcu()
58 struct allowedips_node *node, *stack[MAX_ALLOWEDIPS_DEPTH] = { in root_free_rcu() local
62 while (len > 0 && (node = stack[--len])) { in root_free_rcu()
63 push_rcu(stack, node->bit[0], &len); in root_free_rcu()
64 push_rcu(stack, node->bit[1], &len); in root_free_rcu()
71 struct allowedips_node *node, *stack[MAX_ALLOWEDIPS_DEPTH] = { root }; in root_remove_peer_lists() local
74 while (len > 0 && (node = stack[--len])) { in root_remove_peer_lists()
75 push_rcu(stack, node->bit[0], &len); in root_remove_peer_lists()
76 push_rcu(stack, node->bit[1], &len); in root_remove_peer_lists()
/drivers/gpu/drm/i915/selftests/
Di915_random.c48 char stack[128]; in i915_prandom_shuffle() local
50 if (WARN_ON(elsz > sizeof(stack) || count > U32_MAX)) in i915_prandom_shuffle()
64 memcpy(stack, arr + count * elsz, elsz); in i915_prandom_shuffle()
66 memcpy(arr + swp * elsz, stack, elsz); in i915_prandom_shuffle()
/drivers/gpu/drm/nouveau/nvif/
Dmem.c53 u8 stack[128]; in nvif_mem_ctor_type() local
60 if (sizeof(*args) + argc > sizeof(stack)) { in nvif_mem_ctor_type()
64 args = (void *)stack; in nvif_mem_ctor_type()
81 if (args != (void *)stack) in nvif_mem_ctor_type()
Dvmm.c40 u8 stack[48]; in nvif_vmm_map() local
43 if (sizeof(*args) + argc > sizeof(stack)) { in nvif_vmm_map()
47 args = (void *)stack; in nvif_vmm_map()
59 if (args != (void *)stack) in nvif_vmm_map()
Dobject.c108 u8 stack[128]; in nvif_object_mthd() local
114 if (args_size > sizeof(stack)) { in nvif_object_mthd()
119 args = (void *)stack; in nvif_object_mthd()
129 if (args != (void *)stack) in nvif_object_mthd()
/drivers/char/
Drandom.c1294 struct entropy_timer_state *stack = PTR_ALIGN((void *)stack_bytes, SMP_CACHE_BYTES); in try_to_generate_entropy() local
1300 stack->entropy = random_get_entropy(); in try_to_generate_entropy()
1301 if (stack->entropy != last) in try_to_generate_entropy()
1303 last = stack->entropy; in try_to_generate_entropy()
1305 stack->samples_per_bit = DIV_ROUND_UP(NUM_TRIAL_SAMPLES, num_different + 1); in try_to_generate_entropy()
1306 if (stack->samples_per_bit > MAX_SAMPLES_PER_BIT) in try_to_generate_entropy()
1309 atomic_set(&stack->samples, 0); in try_to_generate_entropy()
1310 timer_setup_on_stack(&stack->timer, entropy_timer, 0); in try_to_generate_entropy()
1316 if (!timer_pending(&stack->timer) && try_to_del_timer_sync(&stack->timer) >= 0) { in try_to_generate_entropy()
1343 stack->timer.expires = jiffies; in try_to_generate_entropy()
[all …]
/drivers/net/ethernet/intel/idpf/
Didpf_lib.c17 struct idpf_vector_lifo *stack; in idpf_init_vector_stack() local
23 stack = &adapter->vector_stack; in idpf_init_vector_stack()
24 stack->size = adapter->num_msix_entries; in idpf_init_vector_stack()
28 stack->base = min_vec; in idpf_init_vector_stack()
29 stack->top = min_vec; in idpf_init_vector_stack()
31 stack->vec_idx = kcalloc(stack->size, sizeof(u16), GFP_KERNEL); in idpf_init_vector_stack()
32 if (!stack->vec_idx) { in idpf_init_vector_stack()
38 for (i = 0; i < stack->size; i++) in idpf_init_vector_stack()
39 stack->vec_idx[i] = i; in idpf_init_vector_stack()
52 struct idpf_vector_lifo *stack; in idpf_deinit_vector_stack() local
[all …]
/drivers/target/iscsi/
DKconfig9 Say M to enable the SCSI target mode stack. A SCSI target mode stack
13 Configuration of the SCSI target mode stack happens through configfs.
/drivers/infiniband/sw/rxe/
DKconfig11 the Linux network stack. It enables a system with a
19 Linux RDMA stack and implements a kernel or user space
23 with the Linux network stack at layer 3.
/drivers/gpu/drm/i915/gem/
Di915_gem_pages.c275 struct page *stack[32], **pages = stack, *page; in i915_gem_object_map_page() local
311 if (n_pages > ARRAY_SIZE(stack)) { in i915_gem_object_map_page()
322 if (pages != stack) in i915_gem_object_map_page()
334 unsigned long stack[32], *pfns = stack, i; in i915_gem_object_map_pfn() local
341 if (n_pfn > ARRAY_SIZE(stack)) { in i915_gem_object_map_pfn()
352 if (pfns != stack) in i915_gem_object_map_pfn()
/drivers/gpu/drm/i915/
Di915_scheduler.c161 struct i915_dependency stack; in __i915_schedule() local
172 stack.signaler = node; in __i915_schedule()
173 list_add(&stack.dfs_link, &dfs); in __i915_schedule()
227 if (stack.dfs_link.next == stack.dfs_link.prev) in __i915_schedule()
230 __list_del_entry(&stack.dfs_link); in __i915_schedule()
/drivers/firmware/arm_scmi/transports/
DKconfig32 If you want the ARM SCMI PROTOCOL stack to include support for a
46 If you want the ARM SCMI PROTOCOL stack to include support for a
75 If you want the ARM SCMI PROTOCOL stack to include support for a
88 If you want the ARM SCMI PROTOCOL stack to include support for a
/drivers/infiniband/sw/siw/
DKconfig10 the Linux TCP/IP network stack. It enables a system with a
15 The driver interfaces with the Linux RDMA stack and
/drivers/firewire/
Dcore-topology.c106 struct list_head stack; in build_tree() local
113 INIT_LIST_HEAD(&stack); in build_tree()
177 for (i = 0, h = &stack; i < child_port_count; i++) in build_tree()
234 __list_del(h->prev, &stack); in build_tree()
235 list_add_tail(&node->link, &stack); in build_tree()
DKconfig8 tristate "FireWire driver stack"
11 This is the new-generation IEEE 1394 (FireWire) driver stack
15 for information about migration from the older Linux 1394 stack
16 to the new driver stack.
/drivers/net/wireless/realtek/rtl8xxxu/
DKconfig11 parts written to utilize the Linux mac80211 stack.
21 from the in kernel mac80211 stack.
/drivers/gpu/drm/msm/registers/
Dgen_header.py451 parser, filename = self.stack[-1]
547 parser, filename = self.stack[-1]
586 self.stack.append((parser, filename))
592 self.stack.pop()
597 self.stack = []
623 if len(self.stack) == 1:
658 if len(self.stack) == 1:
675 if len(self.stack) == 1:
682 if len(self.stack) == 1 and not self.current_bitset.inline:
/drivers/gpu/drm/xe/
Dxe_gt_tlb_invalidation.c52 bool stack = test_bit(FENCE_STACK_BIT, &fence->base.flags); in __invalidation_fence_signal() local
57 if (!stack) in __invalidation_fence_signal()
559 bool stack) in xe_gt_tlb_invalidation_fence_init() argument
569 if (stack) in xe_gt_tlb_invalidation_fence_init()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dqos_sq.c27 qmem_free(pfvf->dev, pool->stack); in otx2_qos_aura_pool_free()
29 pool->stack = NULL; in otx2_qos_aura_pool_free()
109 qmem_free(pfvf->dev, pool->stack); in otx2_qos_sq_aura_pool_init()
/drivers/memory/
Dti-emif-sram-pm.S43 stmfd sp!, {r4 - r11, lr} @ save registers on stack
289 stmfd sp!, {r4 - r11, lr} @ save registers on stack
346 stmfd sp!, {r4 - r11, lr} @ save registers on stack
/drivers/staging/rts5208/
DTODO4 - We will use the stack in drivers/mmc to implement

1234