/block/ |
D | keyslot-manager.c | 83 unsigned int slot; in blk_ksm_init() local 103 for (slot = 0; slot < num_slots; slot++) { in blk_ksm_init() 104 ksm->slots[slot].ksm = ksm; in blk_ksm_init() 105 list_add_tail(&ksm->slots[slot].idle_slot_node, in blk_ksm_init() 171 static void blk_ksm_remove_slot_from_lru_list(struct blk_ksm_keyslot *slot) in blk_ksm_remove_slot_from_lru_list() argument 173 struct blk_keyslot_manager *ksm = slot->ksm; in blk_ksm_remove_slot_from_lru_list() 177 list_del(&slot->idle_slot_node); in blk_ksm_remove_slot_from_lru_list() 199 struct blk_ksm_keyslot *slot; in blk_ksm_find_and_grab_keyslot() local 201 slot = blk_ksm_find_keyslot(ksm, key); in blk_ksm_find_and_grab_keyslot() 202 if (!slot) in blk_ksm_find_and_grab_keyslot() [all …]
|
D | blk-crypto-profile.c | 76 unsigned int slot; in blk_crypto_profile_init() local 109 for (slot = 0; slot < num_slots; slot++) { in blk_crypto_profile_init() 110 profile->slots[slot].profile = profile; in blk_crypto_profile_init() 111 list_add_tail(&profile->slots[slot].idle_slot_node, in blk_crypto_profile_init() 182 blk_crypto_remove_slot_from_lru_list(struct blk_crypto_keyslot *slot) in blk_crypto_remove_slot_from_lru_list() argument 184 struct blk_crypto_profile *profile = slot->profile; in blk_crypto_remove_slot_from_lru_list() 188 list_del(&slot->idle_slot_node); in blk_crypto_remove_slot_from_lru_list() 211 struct blk_crypto_keyslot *slot; in blk_crypto_find_and_grab_keyslot() local 213 slot = blk_crypto_find_keyslot(profile, key); in blk_crypto_find_and_grab_keyslot() 214 if (!slot) in blk_crypto_find_and_grab_keyslot() [all …]
|
D | blk-crypto-fallback.c | 91 static void blk_crypto_fallback_evict_keyslot(unsigned int slot) in blk_crypto_fallback_evict_keyslot() argument 93 struct blk_crypto_fallback_keyslot *slotp = &blk_crypto_keyslots[slot]; in blk_crypto_fallback_evict_keyslot() 109 unsigned int slot) in blk_crypto_fallback_keyslot_program() argument 111 struct blk_crypto_fallback_keyslot *slotp = &blk_crypto_keyslots[slot]; in blk_crypto_fallback_keyslot_program() 118 blk_crypto_fallback_evict_keyslot(slot); in blk_crypto_fallback_keyslot_program() 124 blk_crypto_fallback_evict_keyslot(slot); in blk_crypto_fallback_keyslot_program() 132 unsigned int slot) in blk_crypto_fallback_keyslot_evict() argument 134 blk_crypto_fallback_evict_keyslot(slot); in blk_crypto_fallback_keyslot_evict() 188 blk_crypto_fallback_alloc_cipher_req(struct blk_crypto_keyslot *slot, in blk_crypto_fallback_alloc_cipher_req() argument 194 int keyslot_idx = blk_crypto_keyslot_index(slot); in blk_crypto_fallback_alloc_cipher_req() [all …]
|
D | blk-crypto-internal.h | 78 void blk_crypto_put_keyslot(struct blk_crypto_keyslot *slot);
|
/block/partitions/ |
D | acorn.c | 26 unsigned long first_sector, int slot) in adfs_partition() argument 47 put_partition(state, slot, first_sector, nr_sects); in adfs_partition() 71 unsigned long first_sect, int slot, in riscix_partition() argument 90 put_partition(state, slot++, first_sect, size); in riscix_partition() 94 put_partition(state, slot++, in riscix_partition() 105 put_partition(state, slot++, first_sect, nr_sects); in riscix_partition() 109 return slot; in riscix_partition() 126 unsigned long first_sect, int slot, in linux_partition() argument 135 put_partition(state, slot++, first_sect, size); in linux_partition() 144 if (slot == state->limit) in linux_partition() [all …]
|
D | cmdline.c | 253 static int add_part(int slot, struct cmdline_subpart *subpart, in add_part() argument 260 if (slot >= state->limit) in add_part() 263 put_partition(state, slot, subpart->from >> 9, in add_part() 266 info = &state->parts[slot].info; in add_part() 276 state->parts[slot].has_info = true; in add_part() 286 int slot = 1; in cmdline_parts_set() local 289 subpart = subpart->next_subpart, slot++) { in cmdline_parts_set() 303 if (add_part(slot, subpart, state)) in cmdline_parts_set() 307 return slot; in cmdline_parts_set() 344 static void cmdline_parts_verifier(int slot, struct parsed_partitions *state) in cmdline_parts_verifier() argument [all …]
|
D | msdos.c | 77 int slot, ret = 0; in aix_magic_present() local 91 for (slot = 1; slot <= 4; slot++, pt++) { in aix_magic_present() 108 static void set_info(struct parsed_partitions *state, int slot, in set_info() argument 111 struct partition_meta_info *info = &state->parts[slot].info; in set_info() 114 slot); in set_info() 116 state->parts[slot].has_info = true; in set_info() 588 int slot; in msdos_partition() local 622 for (slot = 1; slot <= 4; slot++, p++) { in msdos_partition() 630 if (slot == 1 && fb->reserved && fb->fats in msdos_partition() 644 for (slot = 1 ; slot <= 4 ; slot++, p++) { in msdos_partition() [all …]
|
D | atari.c | 41 int slot; in atari_partition() local 74 for (slot = 1; pi < &rs->part[4] && slot < state->limit; slot++, pi++) { in atari_partition() 84 put_partition (state, slot, be32_to_cpu(pi->st), in atari_partition() 109 put_partition(state, slot, in atari_partition() 126 if (++slot == state->limit) { in atari_partition() 139 for (; pi < &rs->icdpart[8] && slot < state->limit; slot++, pi++) { in atari_partition() 144 put_partition (state, slot, in atari_partition()
|
D | mac.c | 35 int slot, blocks_in_map; in mac_partition() local 76 for (slot = 1; slot <= blocks_in_map; ++slot) { in mac_partition() 77 int pos = slot * secsize; in mac_partition() 85 put_partition(state, slot, in mac_partition() 90 state->parts[slot].flags = ADDPART_FLAG_RAID; in mac_partition() 128 found_root = slot; in mac_partition()
|
D | sun.c | 25 int slot = 1; in sun_partition() local 115 put_partition(state, slot, st_sector, num_sectors); in sun_partition() 116 state->parts[slot].flags = 0; in sun_partition() 119 state->parts[slot].flags |= ADDPART_FLAG_RAID; in sun_partition() 121 state->parts[slot].flags |= ADDPART_FLAG_WHOLEDISK; in sun_partition() 124 slot++; in sun_partition()
|
D | karma.c | 18 int slot = 1; in karma_partition() local 47 if (slot == state->limit) in karma_partition() 51 put_partition(state, slot, le32_to_cpu(p->p_offset), in karma_partition() 54 slot++; in karma_partition()
|
D | sysv68.c | 52 int slot = 1; in sysv68_partition() local 81 if (slot == state->limit) in sysv68_partition() 84 put_partition(state, slot, in sysv68_partition() 90 slot++; in sysv68_partition()
|
D | sgi.c | 40 int slot = 1; in sgi_partition() local 78 put_partition(state, slot, start, blocks); in sgi_partition() 80 state->parts[slot].flags = ADDPART_FLAG_RAID; in sgi_partition() 82 slot++; in sgi_partition()
|
D | osf.c | 19 int slot = 1; in osf_partition() local 76 if (slot == state->limit) in osf_partition() 79 put_partition(state, slot, in osf_partition() 82 slot++; in osf_partition()
|
D | amiga.c | 48 int slot = 1; in amiga_partition() local 178 put_partition(state,slot++,start_sect,nr_sects); in amiga_partition()
|