Lines Matching refs:offset
52 size_t length, offset; in exec_shell_imgact() local
74 offset = 0; in exec_shell_imgact()
88 ++offset; in exec_shell_imgact()
95 ++offset; in exec_shell_imgact()
99 if (offset == 0) in exec_shell_imgact()
103 KKASSERT(offset <= PAGE_SIZE); in exec_shell_imgact()
117 offset += strlen(imgp->args->fname) + 1; /* add fname */ in exec_shell_imgact()
120 if (offset > imgp->args->space + length) in exec_shell_imgact()
123 bcopy(imgp->args->begin_argv + length, imgp->args->begin_argv + offset, in exec_shell_imgact()
126 offset -= length; /* calculate actual adjustment */ in exec_shell_imgact()
127 imgp->args->begin_envv += offset; in exec_shell_imgact()
128 imgp->args->endp += offset; in exec_shell_imgact()
129 imgp->args->space -= offset; in exec_shell_imgact()
137 offset = 0; in exec_shell_imgact()
151 imgp->args->begin_argv[offset] = *ihp; in exec_shell_imgact()
153 ++offset; in exec_shell_imgact()
159 imgp->args->begin_argv[offset] = '\0'; in exec_shell_imgact()
161 ++offset; in exec_shell_imgact()
169 error = copystr(imgp->args->fname, imgp->args->buf + offset, in exec_shell_imgact()