Lines Matching refs:nb
369 int path_len, out_len, nb; in vboxsf_path_from_dentry() local
396 nb = sbi->nls->char2uni(path, path_len, &uni); in vboxsf_path_from_dentry()
397 if (nb < 0) { in vboxsf_path_from_dentry()
402 path += nb; in vboxsf_path_from_dentry()
403 path_len -= nb; in vboxsf_path_from_dentry()
405 nb = utf32_to_utf8(uni, out, out_len); in vboxsf_path_from_dentry()
406 if (nb < 0) { in vboxsf_path_from_dentry()
411 out += nb; in vboxsf_path_from_dentry()
412 out_len -= nb; in vboxsf_path_from_dentry()
455 int nb; in vboxsf_nlscpy() local
458 nb = utf8_to_utf32(in, in_bound_len, &uni); in vboxsf_nlscpy()
459 if (nb < 0) in vboxsf_nlscpy()
462 in += nb; in vboxsf_nlscpy()
463 in_bound_len -= nb; in vboxsf_nlscpy()
465 nb = sbi->nls->uni2char(uni, out, out_bound_len); in vboxsf_nlscpy()
466 if (nb < 0) in vboxsf_nlscpy()
467 return nb; in vboxsf_nlscpy()
469 out += nb; in vboxsf_nlscpy()
470 out_bound_len -= nb; in vboxsf_nlscpy()
471 out_len += nb; in vboxsf_nlscpy()