Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 2 of 2) sorted by relevance

/init/
Dmain.c331 int ret; in xbc_snprint_cmdline() local
334 ret = xbc_node_compose_key_after(root, knode, in xbc_snprint_cmdline()
336 if (ret < 0) in xbc_snprint_cmdline()
337 return ret; in xbc_snprint_cmdline()
341 ret = snprintf(buf, rest(buf, end), "%s ", xbc_namebuf); in xbc_snprint_cmdline()
342 if (ret < 0) in xbc_snprint_cmdline()
343 return ret; in xbc_snprint_cmdline()
344 buf += ret; in xbc_snprint_cmdline()
348 ret = snprintf(buf, rest(buf, end), "%s=\"%s\" ", in xbc_snprint_cmdline()
350 if (ret < 0) in xbc_snprint_cmdline()
[all …]
Ddo_mounts.c364 int ret; in do_mount_root() local
376 ret = init_mount(name, "/root", fs, flags, data_page); in do_mount_root()
377 if (ret) in do_mount_root()
392 return ret; in do_mount_root()
530 bool ret = false; in fs_is_nodev() local
533 ret = !(fs->fs_flags & FS_REQUIRES_DEV); in fs_is_nodev()
537 return ret; in fs_is_nodev()