exec
struct exec * exec;
if ((_fstat(fd, &st) < 0) || (st.st_size < sizeof(struct exec)))
exec = (struct exec *)a_out_mmap;
if (N_BADMAG(*exec)) {
symoff = N_SYMOFF(*exec);
symsize = exec->a_syms;
#define THR_CLEANUP_POP(td, exec) \
if ((exec) != 0) \
const char *exec, struct ngm_connect ngc, int cs, int ds, void *request,
syslog(LOG_INFO, "Executing: %s", exec);
execlp(_PATH_BSHELL, _PATH_BSHELL, "-c", exec, NULL);
char hostname[MAXHOSTNAMELEN], *exec, rhook[NG_HOOKSIZ];
exec = NULL;
exec = optarg;
if (exec != NULL && label != NULL)
if (exec == NULL) {
exec = (char *)alloca(sizeof DEFAULT_EXEC_PREFIX + strlen(label));
if (exec == NULL) {
strcpy(exec, DEFAULT_EXEC_PREFIX);
strcpy(exec + sizeof DEFAULT_EXEC_PREFIX - 1, label);
Spawn(prog, acname, provider, exec, ngc, cs, ds, response, sz, optd);
struct exec ex;
const struct exec *ex;
if (hdr->size >= sizeof(struct exec) && !N_BADMAG(*ex)) {
struct exec ex;
const unsigned int nreloc = eb->exec[i].relocation_count;
err = check_relocations(&eb->exec[i]);
urelocs = u64_to_user_ptr(eb->exec[i].relocs_ptr);
eb->exec[i].relocs_ptr = (uintptr_t)relocs;
u64_to_ptr(typeof(*relocs), eb->exec[i].relocs_ptr);
if (eb->exec[i].relocation_count)
err = check_relocations(&eb->exec[i]);
&eb->exec[i];
eb->exec = NULL;
static bool i915_gem_check_execbuffer(struct drm_i915_gem_execbuffer2 *exec)
if (exec->flags & __I915_EXEC_ILLEGAL_FLAGS)
if (!(exec->flags & I915_EXEC_FENCE_ARRAY)) {
if (exec->num_cliprects || exec->cliprects_ptr)
if (exec->DR4 == 0xffffffff) {
exec->DR4 = 0;
if (exec->DR1 || exec->DR4)
if ((exec->batch_start_offset | exec->batch_len) & 0x7)
struct drm_i915_gem_exec_object2 *exec,
eb.exec = exec;
eb.vma = (struct i915_vma **)(exec + args->buffer_count + 1);
struct drm_i915_gem_exec_object2 *exec; /** ioctl execobj[] */
if (eb.exec)
#define exec_entry(EB, VMA) (&(EB)->exec[(VMA)->exec_flags - (EB)->flags])
entry->handle, (int)(entry - eb->exec));
struct drm_i915_gem_exec_object2 *entry = &eb->exec[i];
u32 handle = eb->exec[i].handle;
eb_vma_misplaced(&eb->exec[i], vma, eb->flags[i]));
DEFINE_WAIT_FUNC(exec, default_wake_function);
add_wait_queue(&rq->execute, &exec);
remove_wait_queue(&rq->execute, &exec);
uint32_t exec;
uint32_t exec;
error = exec_register(exec); \
error = exec_unregister(exec); \
struct execsw *exec = (struct execsw *)data; \
N_GETMAGIC_NET(ex) == ZMAGIC) ? 0 : sizeof(struct exec))
cnt = read(efd, &exec, sizeof(Elf_Ehdr));
if (IS_ELF(*(Elf_Ehdr *)&exec)) {
void *exec;
goto exec;
exec:
struct exec execb;