Home
last modified time | relevance | path

Searched refs:bytes_needed (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/staging/media/atomisp/pci/runtime/rmgr/src/
Drmgr_vbuf.c131 size_t bytes_needed; in ia_css_rmgr_init_vbuf() local
140 bytes_needed = in ia_css_rmgr_init_vbuf()
143 pool->handles = kvmalloc(bytes_needed, GFP_KERNEL); in ia_css_rmgr_init_vbuf()
145 memset(pool->handles, 0, bytes_needed); in ia_css_rmgr_init_vbuf()
/linux-6.1.9/fs/ocfs2/
Dslot_map.c212 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-6.1.9/drivers/media/pci/ivtv/
Divtv-irq.c115 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-6.1.9/drivers/staging/rtl8712/
Drtl871x_ioctl.h64 unsigned long *bytes_needed; member
Drtl871x_ioctl_linux.c1906 oid_par.bytes_needed = &BytesNeeded; in r871x_mp_ioctl_hdl()
1910 oid_par.bytes_needed = &BytesNeeded; in r871x_mp_ioctl_hdl()
/linux-6.1.9/drivers/hid/
Dhid-rmi.c195 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-6.1.9/arch/ia64/include/asm/
Dpal.h1354 ia64_pal_mem_for_test (u64 *bytes_needed, u64 *alignment) in ia64_pal_mem_for_test() argument
1358 if (bytes_needed) in ia64_pal_mem_for_test()
1359 *bytes_needed = iprv.v0; in ia64_pal_mem_for_test()
/linux-6.1.9/drivers/scsi/be2iscsi/
Dbe_main.c1492 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 …]
Dbe_main.h570 unsigned int bytes_needed; member