Home
last modified time | relevance | path

Searched refs:first_block (Results 1 – 8 of 8) sorted by relevance

/drivers/mtd/
Dnftlmount.c372 static void check_sectors_in_chain(struct NFTLrecord *nftl, unsigned int first_block) in check_sectors_in_chain() argument
381 block = first_block; in check_sectors_in_chain()
426 static int calc_chain_length(struct NFTLrecord *nftl, unsigned int first_block) in calc_chain_length() argument
428 unsigned int length = 0, block = first_block; in calc_chain_length()
458 static void format_chain(struct NFTLrecord *nftl, unsigned int first_block) in format_chain() argument
460 unsigned int block = first_block, block1; in format_chain()
462 printk("Formatting chain at block %d\n", first_block); in format_chain()
569 unsigned int block, first_block, is_first_block; in NFTL_mount() local
589 for (first_block = 0; first_block < s->nb_blocks; first_block++) { in NFTL_mount()
591 if (s->ReplUnitTable[first_block] == BLOCK_NOTEXPLORED) { in NFTL_mount()
[all …]
Dinftlmount.c438 static void format_chain(struct INFTLrecord *inftl, unsigned int first_block) in format_chain() argument
440 unsigned int block = first_block, block1; in format_chain()
443 first_block); in format_chain()
540 unsigned int block, first_block, prev_block, last_block; in INFTL_mount() local
580 for (first_block = s->firstEUN; first_block <= s->lastEUN; first_block++) { in INFTL_mount()
581 if (s->PUtable[first_block] != BLOCK_NOTEXPLORED) in INFTL_mount()
587 block = first_block; in INFTL_mount()
630 "mark 0x%x?\n", block, first_block, in INFTL_mount()
655 block, first_block); in INFTL_mount()
690 first_block); in INFTL_mount()
[all …]
/drivers/net/wireless/orinoco/
Dfw.c107 const unsigned char *first_block; in orinoco_dl_firmware() local
159 first_block = (fw_entry->data + in orinoco_dl_firmware()
164 err = hermes_program(hw, first_block, end); in orinoco_dl_firmware()
170 first_block = (fw_entry->data + in orinoco_dl_firmware()
174 err = hermes_apply_pda_with_defaults(hw, first_block, end, pda, in orinoco_dl_firmware()
212 const unsigned char *first_block; in symbol_dl_image() local
220 first_block = ptr; in symbol_dl_image()
241 ret = hermes_program(hw, first_block, end); in symbol_dl_image()
247 size_t len = hermes_blocks_length(first_block, end); in symbol_dl_image()
248 ptr = first_block + len; in symbol_dl_image()
Dhermes_dld.h32 int hermes_program(struct hermes *hw, const char *first_block, const void *end);
50 size_t hermes_blocks_length(const char *first_block, const void *end);
Dhermes_dld.c254 hermes_blocks_length(const char *first_block, const void *end) in hermes_blocks_length() argument
256 const struct dblock *blk = (const struct dblock *) first_block; in hermes_blocks_length()
277 int hermes_program(struct hermes *hw, const char *first_block, const void *end) in hermes_program() argument
284 blk = (const struct dblock *) first_block; in hermes_program()
/drivers/scsi/
Dhpsa.c3397 u64 first_block; in set_encrypt_ioaccel2() local
3424 first_block = in set_encrypt_ioaccel2()
3427 first_block = (first_block * map->volume_blk_size)/512; in set_encrypt_ioaccel2()
3428 cp->tweak_lower = (u32)first_block; in set_encrypt_ioaccel2()
3429 cp->tweak_upper = (u32)(first_block >> 32); in set_encrypt_ioaccel2()
3442 first_block = in set_encrypt_ioaccel2()
3447 first_block = (first_block * map->volume_blk_size)/512; in set_encrypt_ioaccel2()
3448 cp->tweak_lower = (u32)first_block; in set_encrypt_ioaccel2()
3449 cp->tweak_upper = (u32)(first_block >> 32); in set_encrypt_ioaccel2()
3463 first_block = in set_encrypt_ioaccel2()
[all …]
Dosst.h46 u32 first_block; /* First Block Location */ member
/drivers/crypto/
Dmv_cesa.c253 static void mv_process_current_q(int first_block) in mv_process_current_q() argument
269 if (first_block) in mv_process_current_q()
322 static void mv_process_hash_current(int first_block) in mv_process_hash_current() argument
372 if (first_block) { in mv_process_hash_current()