Lines Matching refs:nb
368 int path_len, out_len, nb; in vboxsf_path_from_dentry() local
395 nb = sbi->nls->char2uni(path, path_len, &uni); in vboxsf_path_from_dentry()
396 if (nb < 0) { in vboxsf_path_from_dentry()
401 path += nb; in vboxsf_path_from_dentry()
402 path_len -= nb; in vboxsf_path_from_dentry()
404 nb = utf32_to_utf8(uni, out, out_len); in vboxsf_path_from_dentry()
405 if (nb < 0) { in vboxsf_path_from_dentry()
410 out += nb; in vboxsf_path_from_dentry()
411 out_len -= nb; in vboxsf_path_from_dentry()
454 int nb; in vboxsf_nlscpy() local
457 nb = utf8_to_utf32(in, in_bound_len, &uni); in vboxsf_nlscpy()
458 if (nb < 0) in vboxsf_nlscpy()
461 in += nb; in vboxsf_nlscpy()
462 in_bound_len -= nb; in vboxsf_nlscpy()
464 nb = sbi->nls->uni2char(uni, out, out_bound_len); in vboxsf_nlscpy()
465 if (nb < 0) in vboxsf_nlscpy()
466 return nb; in vboxsf_nlscpy()
468 out += nb; in vboxsf_nlscpy()
469 out_bound_len -= nb; in vboxsf_nlscpy()
470 out_len += nb; in vboxsf_nlscpy()