Searched refs:num (Results 1 - 5 of 5) sorted by relevance

/lxc/src/lxc/bdev/
H A Dlxcbtrfs.c456 for (i = 0; i < tree->num; i++) {
476 tree->num = 1;
524 tmp = realloc(tree->nodes, (tree->num+1) * sizeof(struct mytree_node));
528 memset(&tree->nodes[tree->num], 0, sizeof(struct mytree_node));
529 if (!update_tree_node(&tree->nodes[tree->num], id, parent, name,
532 tree->num++;
541 for (i = 0; i < tree->num; i++) {
560 for (i = 0; i < tree->num; i++) {
H A Dlxcbtrfs.h387 int num; member in struct:my_btrfs_tree
/lxc/src/lxc/tools/
H A Dlxc_copy.c135 static struct mnts *add_mnt(struct mnts **mnts, unsigned int *num,
137 static int mk_rand_ovl_dirs(struct mnts *mnts, unsigned int num,
238 static struct mnts *add_mnt(struct mnts **mnts, unsigned int *num, enum mnttype type) argument
242 n = realloc(*mnts, (*num + 1) * sizeof(struct mnts));
247 m = *mnts + *num;
248 (*num)++;
255 static int mk_rand_ovl_dirs(struct mnts *mnts, unsigned int num, struct lxc_arguments *arg) argument
263 for (i = 0, m = mnts; i < num; i++, m++) {
H A Dlxc_ls.c340 int num = 0, ret = -1; local
360 num = list_active_containers(path, &containers, NULL);
362 num = list_all_containers(path, &containers, NULL);
363 if (num == -1) {
364 num = 0;
373 for (i = 0; i < (size_t)num; i++) {
571 ls_free_arr(containers, num);
664 unsigned long long int num = 0; local
681 num = strtoull(swap, NULL, 0);
682 num
[all...]
/lxc/src/lxc/
H A Dconfile.c190 int num; member in struct:signame
1402 return signames[n].num;

Completed in 337 milliseconds