| /linux/drivers/tee/optee/ |
| A D | notif.c | 38 if (key > optee->notif.max_key) in optee_notif_wait() 95 if (key > optee->notif.max_key) in optee_notif_send() 114 int optee_notif_init(struct optee *optee, u_int max_key) in optee_notif_init() argument 118 optee->notif.bitmap = bitmap_zalloc(max_key, GFP_KERNEL); in optee_notif_init() 122 optee->notif.max_key = max_key; in optee_notif_init()
|
| A D | optee_private.h | 80 u_int max_key; member 275 int optee_notif_init(struct optee *optee, u_int max_key);
|
| /linux/fs/bcachefs/ |
| A D | btree_node_scan.c | 30 bch2_bpos_to_text(out, n->max_key); in found_btree_node_to_text() 58 bp->k.p = f->max_key; in found_btree_node_to_key() 184 .max_key = bn->max_key, in try_read_btree_node() 314 bpos_lt(n->min_key, start->max_key); in handle_overwrites() 319 if (bpos_cmp(start->max_key, n->max_key) >= 0) in handle_overwrites() 336 if (bpos_cmp(start->max_key, n->max_key) >= 0) in handle_overwrites() 443 bpos_cmp(l->max_key, r->min_key); in found_btree_node_range_start_cmp() 464 .max_key = b->key.k.p, in bch2_btree_node_is_stale() 479 .max_key = SPOS_MAX, in bch2_btree_has_scanned_nodes() 515 .max_key = node_max, in bch2_get_scanned_nodes() [all …]
|
| A D | btree_io.h | 205 bn->max_key.snapshot = 0; in compat_btree_node() 208 compat_bpos(level, btree_id, version, big_endian, write, &bn->max_key); in compat_btree_node() 212 bn->max_key.snapshot = U32_MAX; in compat_btree_node()
|
| A D | btree_node_scan_types.h | 18 struct bpos max_key; member
|
| A D | bset.c | 590 struct bkey_packed *max_key) in make_bfloat() argument 598 ? max_key in make_bfloat() 699 struct bkey_i min_key, max_key; in __build_ro_aux_tree() local 735 if (!bkey_pack_pos(bkey_to_packed(&max_key), b->data->max_key, b)) { in __build_ro_aux_tree() 736 bkey_init(&max_key.k); in __build_ro_aux_tree() 737 max_key.k.p = b->data->max_key; in __build_ro_aux_tree() 744 bkey_to_packed(&max_key)); in __build_ro_aux_tree() 1308 EBUG_ON(bpos_gt(*search, b->data->max_key)); in bch2_btree_node_iter_init()
|
| A D | btree_update_interior.c | 70 if (!bpos_eq(b->data->max_key, SPOS_MAX)) { in bch2_btree_node_check_topology() 72 bch2_bpos_to_text(&buf, b->data->max_key); in bch2_btree_node_check_topology() 180 bch2_bkey_format_add_pos(&s, b->data->max_key); in bch2_btree_calc_format() 444 b->data->max_key = pos; in btree_set_max() 464 btree_set_max(n, b->data->max_key); in bch2_btree_node_alloc_replacement() 1501 btree_set_max(n[1], b->data->max_key); in __btree_split_node() 1505 bch2_bkey_format_add_pos(&format[i], n[i]->data->max_key); in __btree_split_node() 1987 : bpos_successor(b->data->max_key); in __bch2_foreground_maybe_merge() 2016 bch2_bpos_to_text(&buf1, prev->data->max_key); in __bch2_foreground_maybe_merge() 2033 bch2_bkey_format_add_pos(&new_s, next->data->max_key); in __bch2_foreground_maybe_merge() [all …]
|
| A D | btree_io.c | 35 bch2_bpos_to_text(out, bn->max_key); in bch2_btree_node_header_to_text() 654 if (bkey_cmp_left_packed(b, k, &b->data->max_key) > 0) in bch2_btree_node_drop_keys_outside_node() 676 BUG_ON(bpos_gt(k.k->p, b->data->max_key)); in bch2_btree_node_drop_keys_outside_node() 790 b->data->max_key = b->key.k.p; in validate_bset() 804 btree_err_on(!bpos_eq(bn->max_key, b->key.k.p), in validate_bset() 810 bch2_bpos_to_text(&buf1, bn->max_key), buf1.buf)); in validate_bset() 1018 bch2_bpos_to_text(&buf, b->data->max_key); in bch2_btree_node_read_done()
|
| A D | btree_gc.c | 172 b->data->max_key = new_max; in set_node_max() 253 if (bpos_ge(expected_start, cur->data->max_key)) { /* fully? */ in btree_check_node_boundaries() 333 BUG_ON(bpos_gt(k.k->p, b->data->max_key)); in bch2_btree_repair_topology_recurse()
|
| A D | bkey_methods.c | 247 bkey_fsck_err_on(bpos_gt(k.k->p, b->data->max_key), in bch2_bkey_in_btree_node()
|
| A D | btree_cache.c | 1020 bch2_bpos_to_text(&buf, b->data->max_key); in btree_bad_header() 1031 !bpos_eq(b->data->max_key, b->key.k.p) || in btree_check_header() 1421 bch2_bpos_to_text(out, b->data->max_key); in bch2_btree_node_to_text()
|
| A D | btree_journal_iter.c | 424 if (ret.k && iter->b && bpos_gt(ret.k->p, iter->b->data->max_key)) in bch2_btree_and_journal_iter_peek()
|
| A D | bcachefs_format.h | 1418 struct bpos max_key; member
|
| A D | btree_trans_commit.c | 164 EBUG_ON(bpos_gt(insert->k.p, b->data->max_key)); in bch2_btree_bset_insert_key()
|
| A D | btree_iter.c | 649 bpos_cmp(i->k->k.p, b->data->max_key) <= 0) { in bch2_trans_revalidate_updates_in_node()
|
| /linux/samples/bpf/ |
| A D | lwt_len_hist_user.c | 34 uint64_t key = 0, next_key, max_key = 0; in main() local 58 if (sum && next_key > max_key) in main() 59 max_key = next_key; in main() 67 for (i = 1; i <= max_key + 1; i++) { in main()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | bpf_loop.c | 145 const int max_key = 12; in check_stack() local 157 for (key = 1; key <= max_key; ++key) { in check_stack() 167 for (key = 1; key <= max_key; ++key) { in check_stack()
|
| /linux/fs/btrfs/ |
| A D | tree-log.c | 4092 u64 max_key; in log_directory_changes() local 4100 max_key = 0; in log_directory_changes() 4104 ctx, min_key, &max_key); in log_directory_changes() 4107 if (max_key == (u64)-1) in log_directory_changes() 4109 min_key = max_key + 1; in log_directory_changes() 6423 struct btrfs_key max_key; in btrfs_log_inode() local 6450 max_key.objectid = ino; in btrfs_log_inode() 6460 max_key.type = (u8)-1; in btrfs_log_inode() 6461 max_key.offset = (u64)-1; in btrfs_log_inode() 6573 inode, max_key.type); in btrfs_log_inode() [all …]
|
| A D | relocation.c | 1418 const struct btrfs_key *max_key) in invalidate_extent_cache() argument 1434 if (objectid > max_key->objectid) in invalidate_extent_cache() 1442 if (ino > max_key->objectid) { in invalidate_extent_cache() 1464 if (unlikely(max_key->objectid == ino)) { in invalidate_extent_cache() 1465 if (max_key->type < BTRFS_EXTENT_DATA_KEY) in invalidate_extent_cache() 1467 if (max_key->type > BTRFS_EXTENT_DATA_KEY) { in invalidate_extent_cache() 1470 if (max_key->offset == 0) in invalidate_extent_cache() 1472 end = max_key->offset; in invalidate_extent_cache()
|
| /linux/fs/ubifs/ |
| A D | replay.c | 184 union ubifs_key min_key, max_key; in trun_remove_range() local 198 data_key_init(c, &max_key, ino, max_blk); in trun_remove_range() 200 return ubifs_tnc_remove_range(c, &min_key, &max_key); in trun_remove_range()
|