Lines Matching defs:tomove
1474 size_t argsize, tomove, cookiemem, cookiesmax;
1512 tomove = resid + cookiemem;
1513 puffs_msgmem_alloc(argsize + tomove, &park_readdir,
1524 puffs_msg_setdelta(park_readdir, tomove);
2220 size_t tomove, argsize;
2270 tomove = PUFFS_TOMOVE(uio->uio_resid, pmp);
2272 puffs_msgmem_alloc(argsize + tomove, &park_read,
2277 tomove = PUFFS_TOMOVE(uio->uio_resid, pmp);
2279 RWARGS(read_msg, ap->a_ioflag, tomove,
2283 puffs_msg_setdelta(park_read, tomove);
2291 if (read_msg->pvnr_resid > tomove) {
2299 tomove - read_msg->pvnr_resid, uio);
2337 size_t tomove, argsize;
2430 /* tomove is non-increasing */
2431 tomove = PUFFS_TOMOVE(uio->uio_resid, pmp);
2432 argsize = sizeof(struct puffs_vnmsg_write) + tomove;
2437 tomove = PUFFS_TOMOVE(uio->uio_resid, pmp);
2439 RWARGS(write_msg, ap->a_ioflag, tomove,
2441 error = uiomove(write_msg->pvnr_data, tomove, uio);
2454 if (write_msg->pvnr_resid > tomove) {
2732 size_t tomove, moved;
2784 tomove = PUFFS_TOMOVE(bp->b_bcount, pmp);
2786 error = puffs_msgmem_alloc(argsize + tomove, &park_rw,
2790 RWARGS(rw_msg, 0, tomove, bp->b_blkno << DEV_BSHIFT, FSCRED);
2796 puffs_msg_setdelta(park_rw, tomove);
2809 if (rw_msg->pvnr_resid > tomove) {
2815 moved = tomove - rw_msg->pvnr_resid;
2846 (void)memcpy(&rw_msg->pvnr_data, bp->b_data, tomove);
2864 if (rw_msg->pvnr_resid > tomove) {
2875 moved = tomove;
2877 moved = tomove - rw_msg->pvnr_resid;
3148 size_t tomove, resid;
3156 tomove = PUFFS_TOMOVE(resid, pmp);
3157 if (tomove != resid) {
3162 puffs_msgmem_alloc(sizeof(struct puffs_vnmsg_getextattr) + tomove,
3171 getextattr_msg->pvnr_resid = tomove;
3175 puffs_msg_setdelta(park_getextattr, tomove);
3183 if (resid > tomove) {
3193 error = uiomove(getextattr_msg->pvnr_data, tomove - resid, uio);
3216 size_t tomove, resid;
3224 tomove = PUFFS_TOMOVE(resid, pmp);
3225 if (tomove != resid) {
3230 puffs_msgmem_alloc(sizeof(struct puffs_vnmsg_setextattr) + tomove,
3237 setextattr_msg->pvnr_resid = tomove;
3240 error = uiomove(setextattr_msg->pvnr_data, tomove, uio);
3280 size_t tomove, resid;
3288 tomove = PUFFS_TOMOVE(resid, pmp);
3289 if (tomove != resid) {
3294 puffs_msgmem_alloc(sizeof(struct puffs_vnmsg_listextattr) + tomove,
3300 listextattr_msg->pvnr_resid = tomove;
3306 puffs_msg_setdelta(park_listextattr, tomove);
3314 if (resid > tomove) {
3324 error = uiomove(listextattr_msg->pvnr_data, tomove-resid, uio);