Searched refs:bytes_needed (Results 1 – 5 of 5) sorted by relevance
/linux/fs/ocfs2/ |
H A D | slot_map.c | 212 unsigned long long bytes_needed; in ocfs2_slot_map_physical_size() local 215 bytes_needed = osb->max_slots * in ocfs2_slot_map_physical_size() 218 bytes_needed = osb->max_slots * sizeof(__le16); in ocfs2_slot_map_physical_size() 220 if (bytes_needed > i_size_read(inode)) { in ocfs2_slot_map_physical_size() 223 i_size_read(inode), bytes_needed); in ocfs2_slot_map_physical_size() 227 *bytes = bytes_needed; in ocfs2_slot_map_physical_size()
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-irq.c | 115 u32 bytes_needed = 0; in stream_enc_dma_append() local 192 bytes_needed = size; in stream_enc_dma_append() 197 bytes_needed = s->buf_size * ((bytes_needed + s->buf_size - 1) / s->buf_size); in stream_enc_dma_append() 198 bytes_needed += UVsize; in stream_enc_dma_append() 202 ivtv_use_pio(s) ? "PIO" : "DMA", s->name, bytes_needed, offset); in stream_enc_dma_append() 204 rc = ivtv_queue_move(s, &s->q_free, &s->q_full, &s->q_predma, bytes_needed); in stream_enc_dma_append() 207 bytes_needed, s->name); in stream_enc_dma_append()
|
/linux/drivers/hid/ |
H A D | hid-rmi.c | 195 int bytes_needed; in rmi_hid_read_block() local 227 bytes_needed = len; in rmi_hid_read_block() 240 min(read_input_count, bytes_needed)); in rmi_hid_read_block() 243 bytes_needed -= read_input_count; in rmi_hid_read_block()
|
/linux/drivers/scsi/be2iscsi/ |
H A D | be_main.c | 1492 pasync_ctx->async_entry[cri].wq.bytes_needed = 0; in beiscsi_hdl_purge_handles() 1646 pasync_ctx->async_entry[cri].wq.bytes_needed, in beiscsi_hdl_fwd_pdu() 1661 unsigned int bytes_needed = 0, status = 0; in beiscsi_hdl_gather_pdu() local 1677 bytes_needed = AMAP_GET_BITS(struct amap_pdu_base, in beiscsi_hdl_gather_pdu() 1679 bytes_needed <<= 16; in beiscsi_hdl_gather_pdu() 1680 bytes_needed |= be16_to_cpu(AMAP_GET_BITS(struct amap_pdu_base, in beiscsi_hdl_gather_pdu() 1684 wq->bytes_needed = bytes_needed; in beiscsi_hdl_gather_pdu() 1686 if (!bytes_needed) in beiscsi_hdl_gather_pdu() 1691 if (!wq->hdr_len || !wq->bytes_needed) { in beiscsi_hdl_gather_pdu() 1697 if (wq->bytes_received > wq->bytes_needed) { in beiscsi_hdl_gather_pdu() [all …]
|
H A D | be_main.h | 569 unsigned int bytes_needed; member
|