Lines Matching refs:cp
1303 u32 cp, max_count; in generic_map_delete_batch() local
1326 for (cp = 0; cp < max_count; cp++) { in generic_map_delete_batch()
1328 if (copy_from_user(key, keys + cp * map->key_size, in generic_map_delete_batch()
1347 if (copy_to_user(&uattr->batch.count, &cp, sizeof(cp))) in generic_map_delete_batch()
1360 u32 value_size, cp, max_count; in generic_map_update_batch() local
1394 for (cp = 0; cp < max_count; cp++) { in generic_map_update_batch()
1396 if (copy_from_user(key, keys + cp * map->key_size, in generic_map_update_batch()
1398 copy_from_user(value, values + cp * value_size, value_size)) in generic_map_update_batch()
1409 if (copy_to_user(&uattr->batch.count, &cp, sizeof(cp))) in generic_map_update_batch()
1430 u32 value_size, cp, max_count; in generic_map_lookup_batch() local
1467 for (cp = 0; cp < max_count;) { in generic_map_lookup_batch()
1488 if (copy_to_user(keys + cp * map->key_size, key, in generic_map_lookup_batch()
1493 if (copy_to_user(values + cp * value_size, value, value_size)) { in generic_map_lookup_batch()
1503 cp++; in generic_map_lookup_batch()
1510 if ((copy_to_user(&uattr->batch.count, &cp, sizeof(cp)) || in generic_map_lookup_batch()
1511 (cp && copy_to_user(uobatch, prev_key, map->key_size)))) in generic_map_lookup_batch()