Home
last modified time | relevance | path

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

/openbmc/linux/fs/fuse/
H A Ddev.c750 unsigned ncpy = min(*size, cs->len); in fuse_copy_do() local
756 memcpy(buf, *val, ncpy); in fuse_copy_do()
758 memcpy(*val, buf, ncpy); in fuse_copy_do()
761 *val += ncpy; in fuse_copy_do()
763 *size -= ncpy; in fuse_copy_do()
764 cs->len -= ncpy; in fuse_copy_do()
765 cs->offset += ncpy; in fuse_copy_do()
766 return ncpy; in fuse_copy_do()