Searched defs:length (Results 1 - 2 of 2) sorted by relevance

/lxc/src/lxc/
H A Dlxcutmp.c154 int size, ret, length; local
192 length = (4 < ie->len) ? 4 : ie->len;
196 if (strncmp(ie->name, "utmp", length))
H A Dutils.c640 * once for calculating length, the other
671 /* calculate new string length */
1515 * @fulllen: full original path length.
1535 * Check that @subdir is a subdir of @dir. @len is the length of
1874 void *lxc_strmmap(void *addr, size_t length, int prot, int flags, int fd, argument
1881 tmp = mmap(addr, length + 1, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
1889 overlap = mmap(tmp, length, prot, MAP_FIXED | flags, fd, offset);
1891 munmap(tmp, length + 1);
1896 int lxc_strmunmap(void *addr, size_t length) argument
1898 return munmap(addr, length
[all...]

Completed in 28 milliseconds