Home
last modified time | relevance | path

Searched refs:exec (Results 1 – 25 of 210) sorted by relevance

123456789

/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_validate.c51 struct vc4_exec_info *exec, \
106 vc4_use_bo(struct vc4_exec_info *exec, uint32_t hindex) in vc4_use_bo() argument
111 if (hindex >= exec->bo_count) { in vc4_use_bo()
113 hindex, exec->bo_count); in vc4_use_bo()
116 obj = exec->bo[hindex]; in vc4_use_bo()
129 vc4_use_handle(struct vc4_exec_info *exec, uint32_t gem_handles_packet_index) in vc4_use_handle() argument
131 return vc4_use_bo(exec, exec->bo_index[gem_handles_packet_index]); in vc4_use_handle()
135 validate_bin_pos(struct vc4_exec_info *exec, void *untrusted, uint32_t pos) in validate_bin_pos() argument
140 return (untrusted - 1 == exec->bin_u + pos); in validate_bin_pos()
159 vc4_check_tex_size(struct vc4_exec_info *exec, struct drm_gem_cma_object *fbo, in vc4_check_tex_size() argument
[all …]
Dvc4_gem.c154 struct vc4_exec_info *exec[2]; in vc4_save_hang_state() local
166 exec[0] = vc4_first_bin_job(vc4); in vc4_save_hang_state()
167 exec[1] = vc4_first_render_job(vc4); in vc4_save_hang_state()
168 if (!exec[0] && !exec[1]) { in vc4_save_hang_state()
176 if (!exec[i]) in vc4_save_hang_state()
180 list_for_each_entry(bo, &exec[i]->unref_list, unref_head) in vc4_save_hang_state()
182 state->bo_count += exec[i]->bo_count + unref_list_count; in vc4_save_hang_state()
195 if (!exec[i]) in vc4_save_hang_state()
198 for (j = 0; j < exec[i]->bo_count; j++) { in vc4_save_hang_state()
199 bo = to_vc4_bo(&exec[i]->bo[j]->base); in vc4_save_hang_state()
[all …]
Dvc4_irq.c64 struct vc4_exec_info *exec; in vc4_overflow_mem_work() local
89 exec = vc4_first_bin_job(vc4); in vc4_overflow_mem_work()
90 if (!exec) in vc4_overflow_mem_work()
91 exec = vc4_last_render_job(vc4); in vc4_overflow_mem_work()
92 if (exec) { in vc4_overflow_mem_work()
93 exec->bin_slots |= vc4->bin_alloc_overflow; in vc4_overflow_mem_work()
117 struct vc4_exec_info *next, *exec = vc4_first_bin_job(vc4); in vc4_irq_finish_bin_job() local
119 if (!exec) in vc4_irq_finish_bin_job()
122 vc4_move_job_to_render(dev, exec); in vc4_irq_finish_bin_job()
129 if (next && next->perfmon == exec->perfmon) in vc4_irq_finish_bin_job()
[all …]
Dvc4_render_cl.c99 static uint32_t vc4_full_res_offset(struct vc4_exec_info *exec, in vc4_full_res_offset() argument
105 (DIV_ROUND_UP(exec->args->width, 32) * y + x); in vc4_full_res_offset()
123 static void emit_tile(struct vc4_exec_info *exec, in emit_tile() argument
127 struct drm_vc4_submit_cl *args = exec->args; in emit_tile()
139 vc4_full_res_offset(exec, setup->color_read, in emit_tile()
161 vc4_full_res_offset(exec, setup->zs_read, in emit_tile()
185 rcl_u32(setup, (exec->tile_alloc_offset + in emit_tile()
186 (y * exec->bin_tiles_x + x) * 32)); in emit_tile()
201 vc4_full_res_offset(exec, setup->msaa_color_write, in emit_tile()
219 vc4_full_res_offset(exec, setup->msaa_zs_write, in emit_tile()
[all …]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Da.out.h52 #define N_MAGIC(exec) ((exec).a_info & 0xffff) argument
54 #define N_MACHTYPE(exec) ((enum machine_type) (((exec).a_info >> 16) & 0xff)) argument
55 #define N_FLAGS(exec) (((exec).a_info >> 24) & 0xff) argument
56 #define N_SET_INFO(exec,magic,type,flags) ((exec).a_info = ((magic) & 0xffff) | (((int) (type) & 0x… argument
57 #define N_SET_MAGIC(exec,magic) ((exec).a_info = (((exec).a_info & 0xffff0000) | ((magic) & 0xffff)… argument
58 #define N_SET_MACHTYPE(exec,machtype) ((exec).a_info = ((exec).a_info & 0xff00ffff) | ((((int) (mac… argument
59 #define N_SET_FLAGS(exec,flags) ((exec).a_info = ((exec).a_info & 0x00ffffff) | (((flags) & 0xff) <… argument
68 #define _N_HDROFF(x) (1024 - sizeof(struct exec))
70 …IC(x) == ZMAGIC ? _N_HDROFF((x)) + sizeof(struct exec) : (N_MAGIC(x) == QMAGIC ? 0 : sizeof(struct…
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Da.out.h40 #define N_MAGIC(exec) ((exec).a_info & 0xffff) argument
42 #define N_MACHTYPE(exec) ((enum machine_type)(((exec).a_info >> 16) & 0xff)) argument
43 #define N_FLAGS(exec) (((exec).a_info >> 24) & 0xff) argument
44 #define N_SET_INFO(exec, magic, type, flags) \ argument
45 ((exec).a_info = ((magic) & 0xffff) \
48 #define N_SET_MAGIC(exec, magic) \ argument
49 ((exec).a_info = (((exec).a_info & 0xffff0000) | ((magic) & 0xffff)))
50 #define N_SET_MACHTYPE(exec, machtype) \ argument
51 ((exec).a_info = \
52 ((exec).a_info&0xff00ffff) | ((((int)(machtype))&0xff) << 16))
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Da.out.h44 #define N_MAGIC(exec) ((exec).a_info & 0xffff) argument
46 #define N_MACHTYPE(exec) ((enum machine_type)(((exec).a_info >> 16) & 0xff)) argument
47 #define N_FLAGS(exec) (((exec).a_info >> 24) & 0xff) argument
48 #define N_SET_INFO(exec, magic, type, flags) \ argument
49 ((exec).a_info = ((magic) & 0xffff) \
52 #define N_SET_MAGIC(exec, magic) \ argument
53 ((exec).a_info = (((exec).a_info & 0xffff0000) | ((magic) & 0xffff)))
55 #define N_SET_MACHTYPE(exec, machtype) \ argument
56 ((exec).a_info = \
57 ((exec).a_info&0xff00ffff) | ((((int)(machtype))&0xff) << 16))
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dcomm.c108 struct comm *comm__new(const char *str, u64 timestamp, bool exec) in comm__new() argument
116 comm->exec = exec; in comm__new()
127 int comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec) in comm__override() argument
138 if (exec) in comm__override()
139 comm->exec = true; in comm__override()
Dcomm.h15 bool exec; member
23 struct comm *comm__new(const char *str, u64 timestamp, bool exec);
26 bool exec);
Dthread.c221 if (comm->exec) in thread__exec_comm()
240 u64 timestamp, bool exec) in ____thread__set_comm() argument
246 int err = comm__override(curr, str, timestamp, exec); in ____thread__set_comm()
250 new = comm__new(str, timestamp, exec); in ____thread__set_comm()
255 if (exec) in ____thread__set_comm()
265 bool exec) in __thread__set_comm() argument
270 ret = ____thread__set_comm(thread, str, timestamp, exec); in __thread__set_comm()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-lp8501.c160 u8 exec; in lp8501_run_engine() local
178 ret = lp55xx_read(chip, LP8501_REG_ENABLE, &exec); in lp8501_run_engine()
185 exec = (exec & ~LP8501_EXEC_ENG1_M) | LP8501_RUN_ENG1; in lp8501_run_engine()
190 exec = (exec & ~LP8501_EXEC_ENG2_M) | LP8501_RUN_ENG2; in lp8501_run_engine()
195 exec = (exec & ~LP8501_EXEC_ENG3_M) | LP8501_RUN_ENG3; in lp8501_run_engine()
201 lp55xx_update_bits(chip, LP8501_REG_ENABLE, LP8501_EXEC_M, exec); in lp8501_run_engine()
Dleds-lp5562.c157 u8 exec; in lp5562_run_engine() local
179 ret = lp55xx_read(chip, LP5562_REG_ENABLE, &exec); in lp5562_run_engine()
186 exec = (exec & ~LP5562_EXEC_ENG1_M) | LP5562_RUN_ENG1; in lp5562_run_engine()
191 exec = (exec & ~LP5562_EXEC_ENG2_M) | LP5562_RUN_ENG2; in lp5562_run_engine()
196 exec = (exec & ~LP5562_EXEC_ENG3_M) | LP5562_RUN_ENG3; in lp5562_run_engine()
202 lp55xx_update_bits(chip, LP5562_REG_ENABLE, LP5562_EXEC_M, exec); in lp5562_run_engine()
Dleds-lp5521.c165 u8 exec; in lp5521_run_engine() local
184 ret = lp55xx_read(chip, LP5521_REG_ENABLE, &exec); in lp5521_run_engine()
191 exec = (exec & ~LP5521_EXEC_R_M) | LP5521_RUN_R; in lp5521_run_engine()
196 exec = (exec & ~LP5521_EXEC_G_M) | LP5521_RUN_G; in lp5521_run_engine()
201 exec = (exec & ~LP5521_EXEC_B_M) | LP5521_RUN_B; in lp5521_run_engine()
207 lp55xx_update_bits(chip, LP5521_REG_ENABLE, LP5521_EXEC_M, exec); in lp5521_run_engine()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
Dbase.c73 LIST_HEAD(exec); in nvkm_timer_alarm_trigger()
90 list_add(&alarm->exec, &exec); in nvkm_timer_alarm_trigger()
99 list_for_each_entry_safe(alarm, atemp, &exec, exec) { in nvkm_timer_alarm_trigger()
100 list_del(&alarm->exec); in nvkm_timer_alarm_trigger()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_overhead.c13 int BPF_KPROBE(prog1, struct task_struct *tsk, const char *buf, bool exec) in BPF_KPROBE() argument
31 int BPF_PROG(prog4, struct task_struct *tsk, const char *buf, bool exec) in BPF_PROG() argument
37 int BPF_PROG(prog5, struct task_struct *tsk, const char *buf, bool exec) in BPF_PROG() argument
Dtest_trampoline_count.c11 int BPF_PROG(prog1, struct task_struct *tsk, const char *buf, bool exec) in BPF_PROG() argument
17 int BPF_PROG(prog2, struct task_struct *tsk, const char *buf, bool exec) in BPF_PROG() argument
/kernel/linux/linux-5.10/drivers/sbus/char/
Doradax.c862 ctx->result.exec.status = DAX_SUBMIT_ERR_THR_INIT; in dax_ccb_exec()
869 ctx->result.exec.status = DAX_SUBMIT_ERR_NO_CA_AVAIL; in dax_ccb_exec()
879 ctx->result.exec.status = DAX_SUBMIT_ERR_CCB_ARR_MMU_MISS; in dax_ccb_exec()
887 ctx->result.exec.status = DAX_SUBMIT_ERR_NO_CA_AVAIL; in dax_ccb_exec()
893 ctx->result.exec.status = dax_preprocess_usr_ccbs(ctx, idx, nccbs); in dax_ccb_exec()
894 if (ctx->result.exec.status != DAX_SUBMIT_OK) in dax_ccb_exec()
897 ctx->result.exec.status = dax_lock_pages(ctx, idx, nccbs, in dax_ccb_exec()
898 &ctx->result.exec.status_data); in dax_ccb_exec()
899 if (ctx->result.exec.status != DAX_SUBMIT_OK) in dax_ccb_exec()
907 &accepted_len, &ctx->result.exec.status_data); in dax_ccb_exec()
[all …]
/kernel/linux/linux-5.10/arch/sparc/mm/
Dtlb.c69 bool exec, unsigned int hugepage_shift) in tlb_batch_add_one() argument
75 if (exec) in tlb_batch_add_one()
154 bool exec = pte_exec(*pte); in tlb_batch_pmd_scan() local
156 tlb_batch_add_one(mm, vaddr, exec, PAGE_SHIFT); in tlb_batch_pmd_scan()
206 bool exec = pte_exec(orig_pte); in __set_pmd_acct() local
208 tlb_batch_add_one(mm, addr, exec, REAL_HPAGE_SHIFT); in __set_pmd_acct()
209 tlb_batch_add_one(mm, addr + REAL_HPAGE_SIZE, exec, in __set_pmd_acct()
/kernel/linux/linux-5.10/arch/mips/mm/
Dc-tx39.c169 int exec = vma->vm_flags & VM_EXEC; in tx39_flush_cache_page() local
199 if (cpu_has_dc_aliases || exec) in tx39_flush_cache_page()
201 if (exec) in tx39_flush_cache_page()
211 if (cpu_has_dc_aliases || exec) in tx39_flush_cache_page()
213 if (exec) in tx39_flush_cache_page()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dbinfmt_loader.c11 struct exec *eh = (struct exec *)bprm->buf; in load_binary()
/kernel/linux/linux-5.10/arch/arc/mm/
Dfault.c72 unsigned int write = 0, exec = 0, mask; in do_page_fault() local
100 exec = 1; in do_page_fault()
126 if (exec) in do_page_fault()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c35 struct drm_i915_gem_exec_object2 *exec; member
240 struct drm_i915_gem_exec_object2 *exec; /** ioctl execobj[] */ member
533 struct drm_i915_gem_exec_object2 *entry = &eb->exec[i]; in eb_add_vma()
539 ev->exec = entry; in eb_add_vma()
593 struct drm_i915_gem_exec_object2 *entry = ev->exec; in eb_reserve_vma()
843 vma = eb_lookup_vma(eb, eb->exec[i].handle); in eb_lookup_vmas()
849 err = eb_validate_vma(eb, &eb->exec[i], vma); in eb_lookup_vmas()
893 struct drm_i915_gem_exec_object2 *entry = &eb->exec[i]; in eb_validate_vmas()
918 eb_vma_misplaced(&eb->exec[i], vma, ev->flags)); in eb_validate_vmas()
1675 const struct drm_i915_gem_exec_object2 *entry = ev->exec; in eb_relocate_vma()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
Dmxms.c97 bool (*exec)(struct nvkm_mxm *, u8 *, void *), void *info) in mxms_foreach()
148 if (mxm->subdev.debug >= NV_DBG_DEBUG && (exec == NULL)) { in mxms_foreach()
170 if (!exec(mxm, desc, info)) in mxms_foreach()
/kernel/linux/linux-5.10/arch/x86/mm/pat/
Dcpa-test.c45 long lpg, gpg, spg, exec; member
54 s->lpg = s->gpg = s->spg = s->exec = 0; in print_split()
86 s->exec++; in print_split()
96 s->spg, s->lpg, s->gpg, s->exec, in print_split()
/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/
Da.out.h54 struct exec struct
90 (sizeof(struct exec) + (x).fh.f_nscns*SCNHSZ + SCNROUND - 1) & ~(SCNROUND - 1))

123456789