Home
last modified time | relevance | path

Searched refs:block_id (Results 1 – 13 of 13) sorted by relevance

/drivers/block/drbd/
Ddrbd_protocol.h122 u64 block_id; /* to identify the request in protocol B&C */ member
142 u64 block_id; member
149 u64 block_id; member
Ddrbd_main.c1316 u64 sector, u32 blksize, u64 block_id) in _drbd_send_ack() argument
1329 p->block_id = block_id; in _drbd_send_ack()
1344 dp->block_id); in drbd_send_ack_dp()
1350 _drbd_send_ack(peer_device, cmd, rp->sector, rp->blksize, rp->block_id); in drbd_send_ack_rp()
1365 peer_req->block_id); in drbd_send_ack()
1371 sector_t sector, int blksize, u64 block_id) in drbd_send_ack_ex() argument
1376 cpu_to_be64(block_id)); in drbd_send_ack_ex()
1380 sector_t sector, int size, u64 block_id) in drbd_send_drequest() argument
1390 p->block_id = block_id; in drbd_send_drequest()
1408 p->block_id = ID_SYNCER /* unused */; in drbd_send_drequest_csum()
[all …]
Ddrbd_worker.c125 u64 block_id; in drbd_endio_write_sec_final() local
134 block_id = peer_req->block_id; in drbd_endio_write_sec_final()
149 do_wake = list_empty(block_id == ID_SYNCER ? &device->sync_ee : &device->active_ee); in drbd_endio_write_sec_final()
157 if (block_id == ID_SYNCER) in drbd_endio_write_sec_final()
1150 peer_req->block_id = ID_SYNCER; /* By setting block_id, digest pointer becomes invalid! */ in w_e_end_csum_rs_req()
Ddrbd_receiver.c377 peer_req->block_id = id; in drbd_alloc_peer_req()
1855 req = find_request(device, &device->read_requests, p->block_id, sector, false, __func__); in receive_DataReply()
1887 D_ASSERT(device, p->block_id == ID_SYNCER); in receive_RSDataReply()
2307 peer_req = read_in_block(peer_device, p->block_id, sector, pi); in receive_Data()
2574 peer_req = drbd_alloc_peer_req(peer_device, p->block_id, sector, size, in receive_DataRequest()
5228 if (p->block_id == ID_SYNCER) { in got_BlockAck()
5253 return validate_req_change_req_state(device, p->block_id, sector, in got_BlockAck()
5274 if (p->block_id == ID_SYNCER) { in got_NegAck()
5280 err = validate_req_change_req_state(device, p->block_id, sector, in got_NegAck()
5311 return validate_req_change_req_state(device, p->block_id, sector, in got_NegDReply()
[all …]
Ddrbd_int.h425 u64 block_id; member
1100 sector_t sector, int blksize, u64 block_id);
1106 sector_t sector, int size, u64 block_id);
/drivers/staging/mt29f_spinand/
Dmt29f_spinand.c557 static int spinand_erase_block_erase(struct spi_device *spi_nand, u16 block_id) in spinand_erase_block_erase() argument
562 row = block_id; in spinand_erase_block_erase()
582 static int spinand_erase_block(struct spi_device *spi_nand, u16 block_id) in spinand_erase_block() argument
591 retval = spinand_erase_block_erase(spi_nand, block_id); in spinand_erase_block()
604 "erase error, block %d\n", block_id); in spinand_erase_block()
/drivers/s390/char/
Dtape_34xx.c1073 } __attribute__ ((packed)) block_id; in tape_34xx_mttell() local
1076 rc = tape_std_read_block_id(device, (__u64 *) &block_id); in tape_34xx_mttell()
1080 tape_34xx_add_sbid(device, block_id.cbid); in tape_34xx_mttell()
1081 return block_id.cbid.block; in tape_34xx_mttell()
Dtape_3590.c527 __u64 block_id; in tape_3590_mttell() local
530 rc = tape_std_read_block_id(device, &block_id); in tape_3590_mttell()
533 return block_id >> 32; in tape_3590_mttell()
/drivers/memstick/core/
Dms_block.h56 unsigned short block_id; member
Dms_block.c1166 p->header.block_id = be16_to_cpu(p->header.block_id); in msb_fix_boot_page_endianness()
1228 if (be16_to_cpu(page->header.block_id) != MS_BLOCK_BOOT_ID) { in msb_read_boot_blocks()
/drivers/gpu/drm/radeon/
Dkv_dpm.h53 u32 block_id; member
Dkv_dpm.c264 while (values->block_id != 0xffffffff) {
267 data = ((values->block_id << local_cac_reg->block_shift) &
/drivers/base/
Dmemory.c535 int block_id = base_memory_block_id(__section_nr(section)); in find_memory_block_hinted() local
539 dev = subsys_find_device_by_id(&memory_subsys, block_id, hintdev); in find_memory_block_hinted()