Home
last modified time | relevance | path

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

123456789

/linux-6.1.9/drivers/gpu/drm/vc4/
Dvc4_gem.c157 struct vc4_exec_info *exec[2]; in vc4_save_hang_state() local
169 exec[0] = vc4_first_bin_job(vc4); in vc4_save_hang_state()
170 exec[1] = vc4_first_render_job(vc4); in vc4_save_hang_state()
171 if (!exec[0] && !exec[1]) { in vc4_save_hang_state()
179 if (!exec[i]) in vc4_save_hang_state()
183 list_for_each_entry(bo, &exec[i]->unref_list, unref_head) in vc4_save_hang_state()
185 state->bo_count += exec[i]->bo_count + unref_list_count; in vc4_save_hang_state()
198 if (!exec[i]) in vc4_save_hang_state()
201 for (j = 0; j < exec[i]->bo_count; j++) { in vc4_save_hang_state()
202 bo = to_vc4_bo(&exec[i]->bo[j]->base); in vc4_save_hang_state()
[all …]
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
108 struct vc4_dev *vc4 = exec->dev; in vc4_use_bo()
115 if (hindex >= exec->bo_count) { in vc4_use_bo()
117 hindex, exec->bo_count); in vc4_use_bo()
120 obj = exec->bo[hindex]; in vc4_use_bo()
133 vc4_use_handle(struct vc4_exec_info *exec, uint32_t gem_handles_packet_index) in vc4_use_handle() argument
135 return vc4_use_bo(exec, exec->bo_index[gem_handles_packet_index]); in vc4_use_handle()
139 validate_bin_pos(struct vc4_exec_info *exec, void *untrusted, uint32_t pos) in validate_bin_pos() argument
144 return (untrusted - 1 == exec->bin_u + pos); in validate_bin_pos()
[all …]
Dvc4_irq.c69 struct vc4_exec_info *exec; in vc4_overflow_mem_work() local
94 exec = vc4_first_bin_job(vc4); in vc4_overflow_mem_work()
95 if (!exec) in vc4_overflow_mem_work()
96 exec = vc4_last_render_job(vc4); in vc4_overflow_mem_work()
97 if (exec) { in vc4_overflow_mem_work()
98 exec->bin_slots |= vc4->bin_alloc_overflow; in vc4_overflow_mem_work()
122 struct vc4_exec_info *next, *exec = vc4_first_bin_job(vc4); in vc4_irq_finish_bin_job() local
124 if (!exec) in vc4_irq_finish_bin_job()
127 trace_vc4_bcl_end_irq(dev, exec->seqno); in vc4_irq_finish_bin_job()
129 vc4_move_job_to_render(dev, exec); 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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/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.c222 if (comm->exec) in thread__exec_comm()
241 u64 timestamp, bool exec) in ____thread__set_comm() argument
247 int err = comm__override(curr, str, timestamp, exec); in ____thread__set_comm()
251 new = comm__new(str, timestamp, exec); in ____thread__set_comm()
256 if (exec) in ____thread__set_comm()
266 bool exec) in __thread__set_comm() argument
271 ret = ____thread__set_comm(thread, str, timestamp, exec); in __thread__set_comm()
/linux-6.1.9/tools/testing/selftests/exec/
Dnull-argv.c10 #define FORK(exec) \ argument
15 exec; /* Some kind of exec */ \
16 perror("# " #exec); \
19 check_result(pid, #exec); \
/linux-6.1.9/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-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()
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-lp5523.c221 u8 exec; in lp5523_run_engine() local
239 ret = lp55xx_read(chip, LP5523_REG_ENABLE, &exec); in lp5523_run_engine()
246 exec = (exec & ~LP5523_EXEC_ENG1_M) | LP5523_RUN_ENG1; in lp5523_run_engine()
251 exec = (exec & ~LP5523_EXEC_ENG2_M) | LP5523_RUN_ENG2; in lp5523_run_engine()
256 exec = (exec & ~LP5523_EXEC_ENG3_M) | LP5523_RUN_ENG3; in lp5523_run_engine()
262 lp55xx_update_bits(chip, LP5523_REG_ENABLE, LP5523_EXEC_M, exec); in lp5523_run_engine()
/linux-6.1.9/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()
/linux-6.1.9/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
/linux-6.1.9/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 …]
/linux-6.1.9/arch/sparc/mm/
Dtlb.c70 bool exec, unsigned int hugepage_shift) in tlb_batch_add_one() argument
76 if (exec) in tlb_batch_add_one()
155 bool exec = pte_exec(*pte); in tlb_batch_pmd_scan() local
157 tlb_batch_add_one(mm, vaddr, exec, PAGE_SHIFT); in tlb_batch_pmd_scan()
207 bool exec = pte_exec(orig_pte); in __set_pmd_acct() local
209 tlb_batch_add_one(mm, addr, exec, REAL_HPAGE_SHIFT); in __set_pmd_acct()
210 tlb_batch_add_one(mm, addr + REAL_HPAGE_SIZE, exec, in __set_pmd_acct()
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c41 struct drm_i915_gem_exec_object2 *exec; member
249 struct drm_i915_gem_exec_object2 *exec; /** ioctl execobj[] */ member
562 struct drm_i915_gem_exec_object2 *entry = &eb->exec[i]; in eb_add_vma()
566 ev->exec = entry; in eb_add_vma()
648 struct drm_i915_gem_exec_object2 *entry = ev->exec; in eb_reserve_vma()
941 vma = eb_lookup_vma(eb, eb->exec[i].handle); in eb_lookup_vmas()
947 err = eb_validate_vma(eb, &eb->exec[i], vma); in eb_lookup_vmas()
1014 struct drm_i915_gem_exec_object2 *entry = &eb->exec[i]; in eb_validate_vmas()
1044 eb_vma_misplaced(&eb->exec[i], vma, ev->flags)); in eb_validate_vmas()
1516 const struct drm_i915_gem_exec_object2 *entry = ev->exec; in eb_relocate_vma()
[all …]
/linux-6.1.9/arch/arc/mm/
Dfault.c78 unsigned int write = 0, exec = 0, mask; in do_page_fault() local
106 exec = 1; in do_page_fault()
132 if (exec) in do_page_fault()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/Documentation/ABI/testing/
Dprocfs-attr-exec1 What: /proc/*/attr/exec
7 after a subsequent exec() call.
/linux-6.1.9/arch/alpha/include/uapi/asm/
Da.out.h54 struct exec struct
90 (sizeof(struct exec) + (x).fh.f_nscns*SCNHSZ + SCNROUND - 1) & ~(SCNROUND - 1))
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dgm200.c125 u32 exec, args; in gm200_devinit_post() local
135 ret = pmu_load(init, 0x04, post, &exec, &args); in gm200_devinit_post()
160 pmu_exec(init, exec); in gm200_devinit_post()
/linux-6.1.9/arch/powerpc/mm/book3s64/
Dradix_pgtable.c249 print_mapping(unsigned long start, unsigned long end, unsigned long size, bool exec) in print_mapping() argument
259 exec ? " (exec)" : ""); in print_mapping()
276 bool prev_exec, exec = false; in create_physical_mapping() local
294 prev_exec = exec; in create_physical_mapping()
314 exec = true; in create_physical_mapping()
317 exec = false; in create_physical_mapping()
320 if (mapping_size != previous_size || exec != prev_exec) { in create_physical_mapping()
332 print_mapping(start, addr, mapping_size, exec); in create_physical_mapping()

123456789