Lines Matching refs:tocopy
4003 int count, error, i, pos, tocopy; in __umtx_op_nwake_private_native() local
4007 for (count = uap->val, pos = 0; count > 0; count -= tocopy, in __umtx_op_nwake_private_native()
4008 pos += tocopy) { in __umtx_op_nwake_private_native()
4009 tocopy = MIN(count, BATCH_SIZE); in __umtx_op_nwake_private_native()
4010 error = copyin(upp + pos, uaddrs, tocopy * sizeof(char *)); in __umtx_op_nwake_private_native()
4013 for (i = 0; i < tocopy; ++i) { in __umtx_op_nwake_private_native()
4025 int count, error, i, pos, tocopy; in __umtx_op_nwake_private_compat32() local
4029 for (count = uap->val, pos = 0; count > 0; count -= tocopy, in __umtx_op_nwake_private_compat32()
4030 pos += tocopy) { in __umtx_op_nwake_private_compat32()
4031 tocopy = MIN(count, BATCH_SIZE); in __umtx_op_nwake_private_compat32()
4032 error = copyin(upp + pos, uaddrs, tocopy * sizeof(uint32_t)); in __umtx_op_nwake_private_compat32()
4035 for (i = 0; i < tocopy; ++i) { in __umtx_op_nwake_private_compat32()