| /linux/include/uapi/linux/ |
| H A D | a.out.h | 44 #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/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_seq64.c | 71 struct drm_exec exec; in amdgpu_seq64_map() local 79 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT, 0); in amdgpu_seq64_map() 80 drm_exec_until_all_locked(&exec) { in amdgpu_seq64_map() 81 r = amdgpu_vm_lock_pd(vm, &exec, 0); in amdgpu_seq64_map() 83 r = drm_exec_lock_obj(&exec, &bo->tbo.base); in amdgpu_seq64_map() 84 drm_exec_retry_on_contention(&exec); in amdgpu_seq64_map() 114 drm_exec_fini(&exec); in amdgpu_seq64_map() 130 struct drm_exec exec; in amdgpu_seq64_unmap() local 142 drm_exec_init(&exec, 0, 0); in amdgpu_seq64_unmap() 143 drm_exec_until_all_locked(&exec) { in amdgpu_seq64_unmap() [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_dma_buf.c | 55 struct drm_exec *exec = XE_VALIDATION_UNSUPPORTED; in xe_dma_buf_pin() local 73 ret = xe_bo_migrate(bo, XE_PL_TT, NULL, exec); in xe_dma_buf_pin() 83 ret = xe_bo_pin_external(bo, !allow_vram, exec); in xe_dma_buf_pin() 103 struct drm_exec *exec = XE_VALIDATION_UNSUPPORTED; in xe_dma_buf_map() local 112 r = xe_bo_migrate(bo, XE_PL_TT, NULL, exec); in xe_dma_buf_map() 114 r = xe_bo_validate(bo, NULL, false, exec); in xe_dma_buf_map() 174 struct drm_exec exec; in xe_dma_buf_begin_cpu_access() local 181 xe_validation_guard(&ctx, &xe_bo_device(bo)->val, &exec, (struct xe_val_flags) {}, ret) { in xe_dma_buf_begin_cpu_access() 182 ret = drm_exec_lock_obj(&exec, &bo->ttm.base); in xe_dma_buf_begin_cpu_access() 183 drm_exec_retry_on_contention(&exec); in xe_dma_buf_begin_cpu_access() [all …]
|
| H A D | xe_pagefault.c | 48 static int xe_pagefault_begin(struct drm_exec *exec, struct xe_vma *vma, in xe_pagefault_begin() argument 55 err = xe_vm_lock_vma(exec, vma); in xe_pagefault_begin() 75 return need_vram_move ? xe_bo_migrate(bo, vram->placement, NULL, exec) : in xe_pagefault_begin() 76 xe_bo_validate(bo, vm, true, exec); in xe_pagefault_begin() 85 struct drm_exec exec; in xe_pagefault_handle_vma() local 117 xe_validation_ctx_init(&ctx, &vm->xe->val, &exec, (struct xe_val_flags) {}); in xe_pagefault_handle_vma() 118 drm_exec_until_all_locked(&exec) { in xe_pagefault_handle_vma() 119 err = xe_pagefault_begin(&exec, vma, tile->mem.vram, in xe_pagefault_handle_vma() 121 drm_exec_retry_on_contention(&exec); in xe_pagefault_handle_vma() 128 xe_vm_set_validation_exec(vm, &exec); in xe_pagefault_handle_vma()
|
| H A D | xe_bo.h | 121 u32 flags, struct drm_exec *exec); 125 struct drm_exec *exec); 127 u16 cpu_caching, u32 flags, struct drm_exec *exec); 131 struct drm_exec *exec); 223 int xe_bo_pin_external(struct xe_bo *bo, bool in_place, struct drm_exec *exec); 224 int xe_bo_pin(struct xe_bo *bo, struct drm_exec *exec); 228 struct drm_exec *exec); 432 struct drm_exec *exec); 433 int xe_bo_evict(struct xe_bo *bo, struct drm_exec *exec);
|
| H A D | xe_exec.c | 105 xe_vm_set_validation_exec(vm, &vm_exec->exec); in xe_exec_fn() 106 ret = xe_vm_validate_rebind(vm, &vm_exec->exec, 1); in xe_exec_fn() 122 struct drm_exec *exec = &vm_exec.exec; in xe_exec_ioctl() local 325 drm_gpuvm_resv_add_fence(&vm->gpuvm, exec, &job->drm.s_fence->finished, in xe_exec_ioctl()
|
| /linux/tools/testing/selftests/exec/ |
| H A D | check-exec.c | 269 const int exec = variant->mount_exec && variant->file_exec; in TEST_F() local 271 test_exec_path(_metadata, reg_file_path, exec ? 0 : EACCES); in TEST_F() 274 test_exec_path(_metadata, reg_file_path, exec ? 0 : EACCES); in TEST_F() 279 const int exec = variant->mount_exec && variant->file_exec; in TEST_F() local 283 test_exec_path(_metadata, reg_file_path, exec ? 0 : EACCES); in TEST_F() 286 test_exec_path(_metadata, reg_file_path, exec ? 0 : EACCES); in TEST_F() 292 const int exec = variant->file_exec; in TEST_F() local 294 test_exec_fd(_metadata, self->memfd, exec ? 0 : EACCES); in TEST_F() 297 test_exec_fd(_metadata, self->memfd, exec ? 0 : EACCES); in TEST_F() 302 const int exec = variant->file_exec; in TEST_F() local [all …]
|
| H A D | null-argv.c | 10 #define FORK(exec) \ argument 15 exec; /* Some kind of exec */ \ 16 perror("# " #exec); \ 19 check_result(pid, #exec); \
|
| H A D | .gitignore | 12 /check-exec 18 /set-exec
|
| /linux/tools/perf/util/ |
| H A D | comm.h | 15 bool exec; member 23 struct comm *comm__new(const char *str, u64 timestamp, bool exec); 26 bool exec);
|
| H A D | comm.c | 192 struct comm *comm__new(const char *str, u64 timestamp, bool exec) in comm__new() argument 200 comm->exec = exec; in comm__new() 211 int comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec) in comm__override() argument 222 if (exec) in comm__override() 223 comm->exec = true; in comm__override()
|
| H A D | thread.c | 230 if (comm->exec) { in thread__exec_comm() 252 u64 timestamp, bool exec) in ____thread__set_comm() 259 int err = comm__override(curr, str, timestamp, exec); in ____thread__set_comm() 263 new = comm__new(str, timestamp, exec); in ____thread__set_comm() 268 if (exec) in ____thread__set_comm() 278 bool exec) in __thread__set_comm() 283 ret = ____thread__set_comm(thread, str, timestamp, exec); in __thread__set_comm() 251 ____thread__set_comm(struct thread * thread,const char * str,u64 timestamp,bool exec) ____thread__set_comm() argument 277 __thread__set_comm(struct thread * thread,const char * str,u64 timestamp,bool exec) __thread__set_comm() argument
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_overhead.c | 10 int BPF_KPROBE(prog1, struct task_struct *tsk, const char *buf, bool exec) 28 int BPF_PROG(prog4, struct task_struct *tsk, const char *buf, bool exec) in prog3() 34 int BPF_PROG(prog5, struct task_struct *tsk, const char *buf, bool exec) in BPF_PROG() 13 BPF_KPROBE(prog1,struct task_struct * tsk,const char * buf,bool exec) BPF_KPROBE() argument 31 BPF_PROG(prog4,struct task_struct * tsk,const char * buf,bool exec) BPF_PROG() argument 37 BPF_PROG(prog5,struct task_struct * tsk,const char * buf,bool exec) BPF_PROG() argument
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
| H A D | base.c | 73 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/drivers/gpu/drm/xe/tests/ |
| H A D | xe_bo.c | 27 struct kunit *test, struct drm_exec *exec) in ccs_test_migrate() argument 39 ret = xe_bo_validate(bo, NULL, false, exec); in ccs_test_migrate() 64 ret = xe_bo_evict(bo, exec); in ccs_test_migrate() 136 struct drm_exec *exec = XE_VALIDATION_OPT_OUT; in ccs_test_run_tile() local 144 bo_flags, exec); in ccs_test_run_tile() 154 test, exec); in ccs_test_run_tile() 160 0xdeadbeefdeadbeefULL, test, exec); in ccs_test_run_tile() 165 ret = ccs_test_migrate(tile, bo, true, 0ULL, 0ULL, test, exec); in ccs_test_run_tile() 212 struct drm_exec *exec = XE_VALIDATION_OPT_OUT; in evict_test_run_tile() local 223 bo_flags, exec); in evict_test_run_tile() [all …]
|
| /linux/drivers/sbus/char/ |
| H A D | oradax.c | 860 ctx->result.exec.status = DAX_SUBMIT_ERR_THR_INIT; in dax_ccb_exec() 867 ctx->result.exec.status = DAX_SUBMIT_ERR_NO_CA_AVAIL; in dax_ccb_exec() 877 ctx->result.exec.status = DAX_SUBMIT_ERR_CCB_ARR_MMU_MISS; in dax_ccb_exec() 885 ctx->result.exec.status = DAX_SUBMIT_ERR_NO_CA_AVAIL; in dax_ccb_exec() 891 ctx->result.exec.status = dax_preprocess_usr_ccbs(ctx, idx, nccbs); in dax_ccb_exec() 892 if (ctx->result.exec.status != DAX_SUBMIT_OK) in dax_ccb_exec() 895 ctx->result.exec.status = dax_lock_pages(ctx, idx, nccbs, in dax_ccb_exec() 896 &ctx->result.exec.status_data); in dax_ccb_exec() 897 if (ctx->result.exec.status != DAX_SUBMIT_OK) in dax_ccb_exec() 905 &accepted_len, &ctx->result.exec.status_data); in dax_ccb_exec() [all …]
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_gem_submit.c | 277 struct drm_exec *exec = &submit->exec; in submit_lock_objects_vmbind() local 280 drm_exec_init(&submit->exec, flags, submit->nr_bos); in submit_lock_objects_vmbind() 283 drm_exec_until_all_locked (&submit->exec) { in submit_lock_objects_vmbind() 284 ret = drm_gpuvm_prepare_vm(submit->vm, exec, 1); in submit_lock_objects_vmbind() 285 drm_exec_retry_on_contention(exec); in submit_lock_objects_vmbind() 289 ret = drm_gpuvm_prepare_objects(submit->vm, exec, 1); in submit_lock_objects_vmbind() 290 drm_exec_retry_on_contention(exec); in submit_lock_objects_vmbind() 307 drm_exec_init(&submit->exec, flags, submit->nr_bos); in submit_lock_objects() 310 drm_exec_until_all_locked (&submit->exec) { in submit_lock_objects() 311 ret = drm_exec_lock_obj(&submit->exec, in submit_lock_objects() [all …]
|
| H A D | msm_gem.c | 55 struct drm_exec exec; in msm_gem_close() local 83 msm_gem_lock_vm_and_obj(&exec, obj, ctx->vm); in msm_gem_close() 85 drm_exec_fini(&exec); /* drop locks */ in msm_gem_close() 108 struct drm_exec exec; in msm_gem_vma_put() local 110 msm_gem_lock_vm_and_obj(&exec, obj, priv->kms->vm); in msm_gem_vma_put() 112 drm_exec_fini(&exec); /* drop locks */ in msm_gem_vma_put() 559 struct drm_exec exec; in msm_gem_get_and_pin_iova_range() local 562 msm_gem_lock_vm_and_obj(&exec, obj, vm); in msm_gem_get_and_pin_iova_range() 564 drm_exec_fini(&exec); /* drop locks */ in msm_gem_get_and_pin_iova_range() 584 struct drm_exec exec; in msm_gem_get_iova() local [all …]
|
| /linux/arch/arc/mm/ |
| H A D | fault.c | 79 unsigned int write = 0, exec = 0, mask; in do_page_fault() local 107 exec = 1; in do_page_fault() 127 if (exec) in do_page_fault()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
| H A D | mxms.c | 97 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/Documentation/arch/powerpc/ |
| H A D | dexcr.rst | 93 - This aspect will be set after exec / set this aspect after exec 96 - This aspect will be clear after exec / clear this aspect after exec 106 set, it will be cleared when you run exec, and you can change this with the 170 For example, clearing NPHIE on exec is a privileged operation (a process 195 key (potentially all threads from the same parent that have not run ``exec()``).
|
| /linux/arch/alpha/include/uapi/asm/ |
| H A D | a.out.h | 54 struct exec struct 90 (sizeof(struct exec) + (x).fh.f_nscns*SCNHSZ + SCNROUND - 1) & ~(SCNROUND - 1))
|
| /linux/Documentation/ABI/testing/ |
| H A D | procfs-attr-exec | 1 What: /proc/*/attr/exec 7 after a subsequent exec() call.
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
| H A D | gm200.c | 131 u32 exec, args; in gm200_devinit_post() local 141 ret = pmu_load(init, 0x04, post, &exec, &args); in gm200_devinit_post() 166 pmu_exec(init, exec); in gm200_devinit_post()
|
| /linux/samples/check-exec/ |
| H A D | .gitignore | 2 /set-exec
|