Lines Matching full:delta

42 struct delta {  struct
105 struct delta *delta; in delta_create() local
110 delta = kzalloc(sizeof(*delta), GFP_KERNEL); in delta_create()
111 if (!delta) in delta_create()
113 delta->key_id_diff = diff; in delta_create()
115 return delta; in delta_create()
120 struct delta *delta = delta_priv; in delta_destroy() local
124 kfree(delta); in delta_destroy()
268 pr_err("Stats: incorrect delta user count\n"); in check_stats_nodelta()
428 #define DELTA(key_id, user_count) \ macro
443 DELTA(3, 1)),
448 DELTA(3, 1), DELTA(5, 1)),
453 DELTA(3, 2), DELTA(5, 1)),
458 DELTA(3, 2), DELTA(5, 1)),
463 DELTA(3, 2), DELTA(5, 1)),
468 DELTA(3, 2), DELTA(5, 1), DELTA(8, 1)),
473 DELTA(3, 2), DELTA(8, 2), DELTA(5, 1)),
478 DELTA(8, 2), DELTA(3, 1), DELTA(5, 1)),
483 DELTA(8, 2), DELTA(5, 1)),
488 DELTA(8, 2), DELTA(5, 1)),
493 DELTA(8, 2), DELTA(5, 1)),
498 DELTA(8, 2)),
503 DELTA(8, 2)),
508 DELTA(8, 2), DELTA(6, 1)),
513 DELTA(8, 3), DELTA(6, 1)),
518 DELTA(8, 2), DELTA(6, 1)),
523 DELTA(8, 1), DELTA(6, 1)),
528 DELTA(6, 1)),
533 DELTA(6, 1), DELTA(8, 1)),
538 DELTA(6, 1), DELTA(8, 1)),
543 DELTA(6, 1), DELTA(8, 1)),
548 DELTA(6, 1), DELTA(8, 1)),
553 DELTA(8, 1)),
571 pr_err("Key %u: Delta count changed while expected to remain the same.\n", in check_expect()
580 pr_err("Key %u: Delta count was not incremented.\n", in check_expect()
589 pr_err("Key %u: Delta count was not decremented.\n", in check_expect()
629 const struct delta *delta; in obj_to_key_id() local
634 delta = objagg_obj_delta_priv(objagg_obj); in obj_to_key_id()
635 if (delta) in obj_to_key_id()
636 key_id += delta->key_id_diff; in obj_to_key_id()
647 *errmsg = "Incorrect root/delta indication"; in check_expect_stats_nums()
659 *errmsg = "Incorrect delta user count"; in check_expect_stats_nums()
852 DELTA(8, 3), DELTA(3, 2),
853 DELTA(5, 2), DELTA(6, 1)),
856 DELTA(8, 3), DELTA(5, 2),
857 DELTA(6, 1), DELTA(7, 1)),