Searched defs:fn (Results 1 - 5 of 5) sorted by relevance
/lxc/src/lxc/ |
H A D | namespace.c | 39 int (*fn)(void *); member in struct:clone_arg 46 return clone_arg->fn(clone_arg->arg); 49 pid_t lxc_clone(int (*fn)(void *), void *arg, int flags) 52 .fn = fn,
|
H A D | utils.c | 1853 * Return the number of lines in file @fn, or -1 on error 1855 int lxc_count_file_lines(const char *fn) argument 1862 f = fopen_cloexec(fn, "r");
|
H A D | conf.c | 4464 int (*fn)(void *); member in struct:userns_fn_data 4479 return d->fn(d->arg); 4568 int userns_exec_1(struct lxc_conf *conf, int (*fn)(void *), void *data) 4581 d.fn = fn;
|
/lxc/src/lxc/cgroups/ |
H A D | cgfs.c | 2217 static int cgroup_read_from_file(const char *fn, char buf[], size_t bufsize) argument 2219 int ret = lxc_read_from_file(fn, buf, bufsize); 2221 SYSERROR("failed to read %s", fn);
|
/lxc/src/python-lxc/ |
H A D | lxc.c | 114 PyObject *fn; member in struct:lxc_attach_python_payload 128 PyObject *result = PyObject_CallFunctionObjArgs(payload->fn, 663 if (!PyArg_ParseTuple(args, "O|O", &payload.fn, &payload.arg)) 665 if (!PyCallable_Check(payload.fn)) {
|
Completed in 1007 milliseconds