Home
last modified time | relevance | path

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

/drivers/mtd/
Dnftlmount.c376 static void check_sectors_in_chain(struct NFTLrecord *nftl, unsigned int first_block) in check_sectors_in_chain() argument
385 block = first_block; in check_sectors_in_chain()
430 static int calc_chain_length(struct NFTLrecord *nftl, unsigned int first_block) in calc_chain_length() argument
432 unsigned int length = 0, block = first_block; in calc_chain_length()
462 static void format_chain(struct NFTLrecord *nftl, unsigned int first_block) in format_chain() argument
464 unsigned int block = first_block, block1; in format_chain()
466 printk("Formatting chain at block %d\n", first_block); in format_chain()
573 unsigned int block, first_block, is_first_block; in NFTL_mount() local
593 for (first_block = 0; first_block < s->nb_blocks; first_block++) { in NFTL_mount()
595 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/crypto/
Dmv_cesa.c258 static void mv_process_current_q(int first_block) in mv_process_current_q() argument
274 if (first_block) in mv_process_current_q()
327 static void mv_process_hash_current(int first_block) in mv_process_hash_current() argument
377 if (first_block) { in mv_process_hash_current()
/drivers/scsi/
Dhpsa.c4476 u64 first_block; in set_encrypt_ioaccel2() local
4495 first_block = get_unaligned_be16(&cmd->cmnd[2]); in set_encrypt_ioaccel2()
4502 first_block = get_unaligned_be32(&cmd->cmnd[2]); in set_encrypt_ioaccel2()
4506 first_block = get_unaligned_be64(&cmd->cmnd[2]); in set_encrypt_ioaccel2()
4517 first_block = first_block * in set_encrypt_ioaccel2()
4520 cp->tweak_lower = cpu_to_le32(first_block); in set_encrypt_ioaccel2()
4521 cp->tweak_upper = cpu_to_le32(first_block >> 32); in set_encrypt_ioaccel2()
4704 u64 first_block, last_block; in hpsa_scsi_ioaccel_raid_map() local
4735 first_block = get_unaligned_be16(&cmd->cmnd[2]); in hpsa_scsi_ioaccel_raid_map()
4743 first_block = in hpsa_scsi_ioaccel_raid_map()
[all …]
Dosst.h46 u32 first_block; /* First Block Location */ member