Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 39) sorted by relevance

12

/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/
A D__syscall_fcntl.c17 int __NC(fcntl)(int fd, int cmd, long arg) in __NC()
20 if (cmd == F_GETLK64 || cmd == F_SETLK64 || cmd == F_SETLKW64) { in __NC()
22 return INLINE_SYSCALL(fcntl64, 3, fd, cmd, arg); in __NC()
31 return INLINE_SYSCALL(fcntl, 3, fd, cmd, arg); in __NC()
38 int fcntl(int fd, int cmd, ...) in fcntl() argument
43 va_start (ap, cmd); in fcntl()
47 if (SINGLE_THREAD_P || (cmd != F_SETLKW && cmd != F_SETLKW64)) in fcntl()
49 return __NC(fcntl)(fd, cmd, arg); in fcntl()
51 return INLINE_SYSCALL(fcntl64, 3, fd, cmd, arg); in fcntl()
56 int result = __NC(fcntl)(fd, cmd, arg); in fcntl()
[all …]
A D__syscall_fcntl64.c20 _syscall3(int, __NC(fcntl64), int, fd, int, cmd, long, arg) in _syscall3() argument
22 int fcntl64(int fd, int cmd, ...) in _syscall3()
27 va_start(list, cmd); in _syscall3()
31 if (SINGLE_THREAD_P || (cmd != F_SETLKW64)) in _syscall3()
32 return __NC(fcntl64)(fd, cmd, arg); in _syscall3()
35 int result = __NC(fcntl64)(fd, cmd, arg); in _syscall3()
A Dulimit.c16 long int ulimit(int cmd, ...) in ulimit() argument
21 va_start (va, cmd); in ulimit()
22 switch (cmd) { in ulimit()
A Dnot-cancel.h86 #define fcntl_not_cancel(fd, cmd, val) \
87 __fcntl_nocancel (fd, cmd, val)
149 #define fcntl_not_cancel(fd, cmd, val) \ argument
150 __NC(fcntl)(fd, cmd, val)
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/pthread/
A Dsetxid.h21 #define __SETXID_1(cmd, arg1) \ argument
22 cmd.id[0] = arg1
23 #define __SETXID_2(cmd, arg1, arg2) \ argument
24 __SETXID_1 (cmd, arg1); cmd.id[1] = arg2
25 #define __SETXID_3(cmd, arg1, arg2, arg3) \ argument
26 __SETXID_2 (cmd, arg1, arg2); cmd.id[2] = arg3
/l4re-core-master/ned/ned-prompt/src/
A Dned-prompt.cc65 char *cmd; in run_cmds() local
68 cmd = readline(fullprompt); in run_cmds()
70 while (!cmd); in run_cmds()
72 if (*cmd) in run_cmds()
75 L4::Ipc::String<> c(cmd); in run_cmds()
82 add_to_history(cmd); in run_cmds()
85 free(cmd); in run_cmds()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/file/
A Dlockf.c27 int lockf (int fd, int cmd, off_t len) in lockf() argument
38 switch (cmd) in lockf()
53 cmd = F_SETLK; in lockf()
57 cmd = F_SETLKW; in lockf()
61 cmd = F_SETLK; in lockf()
69 return fcntl(fd, cmd, &fl); in lockf()
A Dlockf64.c40 int lockf64 (int fd, int cmd, off64_t len64) in lockf64() argument
59 switch (cmd) in lockf64()
74 cmd = F_SETLK; in lockf64()
78 cmd = F_SETLKW; in lockf64()
82 cmd = F_SETLK; in lockf64()
90 return fcntl(fd, cmd, &fl); in lockf64()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/termios/
A Dtcsetattr.c53 unsigned long int cmd; in tcsetattr() local
59 cmd = TCSETS; in tcsetattr()
62 cmd = TCSETSW; in tcsetattr()
65 cmd = TCSETSF; in tcsetattr()
86 retval = ioctl (fd, cmd, &k_termios); in tcsetattr()
88 if (retval == 0 && cmd == TCSETS) in tcsetattr()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/sysvipc/
A Dsem.c43 static __inline__ _syscall4(int, __semctl, int, semid, int, semnum, int, cmd, void *, arg) in _syscall4() argument
46 int semctl(int semid, int semnum, int cmd, ...) in _syscall4()
52 va_start (ap, cmd); in _syscall4()
56 return __semctl(semid, semnum, cmd | __IPC_64, arg.__pad); in _syscall4()
58 return __syscall_ipc(IPCOP_semctl, semid, semnum, cmd|__IPC_64, &arg, NULL); in _syscall4()
A Dshm.c57 static __always_inline _syscall3(int, __syscall_shmctl, int, shmid, int, cmd, struct shmid_ds *, bu…
59 int shmctl(int shmid, int cmd, struct shmid_ds *buf)
62 return __syscall_shmctl(shmid, cmd | __IPC_64, buf);
64 return __syscall_ipc(IPCOP_shmctl, shmid, cmd | __IPC_64, 0, buf, 0);
A Dmsgq.c15 static __inline__ _syscall3(int, __libc_msgctl, int, msqid, int, cmd, struct msqid_ds *, buf) in _syscall3() argument
18 int msgctl(int msqid, int cmd, struct msqid_ds *buf) in _syscall3()
21 return __libc_msgctl(msqid, cmd | __IPC_64, buf); in _syscall3()
23 return __syscall_ipc(IPCOP_msgctl, msqid, cmd | __IPC_64, 0, buf, 0); in _syscall3()
/l4re-core-master/ned/lib/include/
A Dcmd_control22 L4_INLINE_RPC_NF(long, execute, (L4::Ipc::String<> cmd,
29 * \param[in] cmd String with Lua code to execute.
43 long execute(L4::Ipc::String<> cmd) noexcept
46 return execute_t::call(c(), cmd, res);
52 * \param[in] cmd String with Lua code to execute.
65 long execute(L4::Ipc::String<> cmd,
69 long r = execute_t::call(c(), cmd, res);
/l4re-core-master/uclibc/lib/contrib/uclibc/test/misc/
A Dpopen.c29 char cmd[64]; in main() local
39 snprintf(cmd, sizeof cmd, "read a ; test \"x$a\" = xhello && kill -USR1 %d", getpid()); in main()
40 TEST_E(f = popen(cmd, "w")); in main()
/l4re-core-master/ned/server/src/
A Dlua.cc109 L4::Ipc::String_in_buf<> cmd, in op_execute() argument
112 if (luaL_loadbuffer(_lua, cmd.data, cmd.length - 1, "argument")) in op_execute()
114 fprintf(stderr, "lua couldn't parse '%.*s': %s.\n", (int)cmd.length - 1, in op_execute()
115 cmd.data, lua_tostring(_lua, -1)); in op_execute()
129 fprintf(stderr, "lua couldn't execute '%.*s': %s.\n", (int)cmd.length - 1, in op_execute()
130 cmd.data, lua_tostring(_lua, -1)); in op_execute()
A Dned.lua304 function Loader.split_args(cmd, posix_env)
307 for w in string.gmatch(cmd, "[^%s]+") do
315 function Loader:start(env, cmd, posix_env)
317 return self:startv(env, self.split_args(cmd, posix_env));
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/inet/rpc/
A Drexec.c50 rexec_af(char **ahost, int rport, const char *name, const char *pass, const char *cmd, int *fd2p, s… in rexec_af() argument
153 (void) write(s, cmd, strlen(cmd) + 1); in rexec_af()
187 const char *cmd, int *fd2p) in libc_hidden_def()
189 return rexec_af(ahost, rport, name, pass, cmd, fd2p, AF_INET); in libc_hidden_def()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/
A Dwrapsyscall.c80 CANCELABLE_SYSCALL_VA (int, fcntl, (int fd, int cmd, ...),
81 (fd, cmd, va_arg (ap, long int)), cmd)
85 CANCELABLE_SYSCALL_VA (int, fcntl64, (int fd, int cmd, ...),
86 (fd, cmd, va_arg (ap, long int)), cmd)
/l4re-core-master/uclibc/lib/uclibc/ARCH-all/include/
A Dnot-cancel.h9 #define fcntl_not_cancel(fd, cmd, val) \ argument
10 fcntl(fd, cmd, val)
/l4re-core-master/libc_backends/lib/sem_noop/
A Dsem_noop.c38 int semctl(int semid, int semnum, int cmd, ...) in semctl() argument
40 printf("%s(%d, %d, %d)\n", __func__, semid, semnum, cmd); in semctl()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/
A Dtst-cancel7.c36 char *cmd = alloca (strlen (command) + strlen (args) in tf() local
39 strcpy (stpcpy (stpcpy (cmd, command), args), pidfilename); in tf()
40 system (cmd); in tf()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/
A Dtestsuite.h99 #define STR_CMD(cmd) cmd argument
/l4re-core-master/uclibc/lib/contrib/uclibc/include/netax25/
A Dax25.h106 unsigned int cmd; member
134 int cmd; member
/l4re-core-master/uclibc/lib/contrib/uclibc/include/sys/
A Dquota.h106 #define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK)) argument
/l4re-core-master/libc_backends/lib/l4re_file/
A Dfile.cc200 extern "C" int fcntl64(int fd, int cmd, ...) in fcntl64() argument
211 switch (cmd) in fcntl64()
252 extern "C" int fcntl(int fd, int cmd, ...) in fcntl() argument
257 va_start(v, cmd); in fcntl()
261 return fcntl64(fd, cmd, arg); in fcntl()
277 int lockf(int fd, int cmd, off_t len) in lockf() argument
280 (void)cmd; in lockf()

Completed in 25 milliseconds

12