Lines Matching defs:nbytes
176 unsigned nbytes = 0;
180 nbytes += args[i].size;
182 return nbytes;
1303 static int fuse_copy_folios(struct fuse_copy_state *cs, unsigned nbytes,
1310 for (i = 0; i < ap->num_folios && (nbytes || zeroing); i++) {
1313 unsigned int count = min(nbytes, ap->descs[i].length);
1319 nbytes -= count;
1453 struct fuse_copy_state *cs, size_t nbytes)
1467 max_forgets = (nbytes - ih.len) / sizeof(struct fuse_forget_one);
1498 size_t nbytes)
1504 return fuse_read_batch_forget(fiq, cs, nbytes);
1517 struct fuse_copy_state *cs, size_t nbytes)
1540 if (nbytes < max_t(size_t, FUSE_MIN_READ_BUFFER,
1571 return fuse_read_forget(fch, fiq, cs, nbytes);
1586 if (nbytes < reqsize) {
1826 unsigned nbytes)
1839 if (reqsize < nbytes || (reqsize > nbytes && !args->out_argvar))
1841 else if (reqsize > nbytes) {
1843 unsigned diffsize = reqsize - nbytes;
1861 struct fuse_copy_state *cs, size_t nbytes)
1870 if (nbytes < sizeof(struct fuse_out_header))
1878 if (oh.len != nbytes)
1897 err = fuse_notify(fch->conn, oh.error, nbytes - sizeof(oh), cs);
1922 if (nbytes != sizeof(struct fuse_out_header))
1944 err = nbytes != sizeof(oh) ? -EINVAL : 0;
1946 err = fuse_copy_out_args(cs, req->args, nbytes);
1961 return err ? err : nbytes;