Home
last modified time | relevance | path

Searched refs:space_left (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/pci/tw5864/
Dtw5864-h264.c197 void tw5864_h264_put_stream_header(u8 **buf, size_t *space_left, int qp, in tw5864_h264_put_stream_header() argument
205 *space_left -= 4; in tw5864_h264_put_stream_header()
209 *space_left -= 1; in tw5864_h264_put_stream_header()
211 nal_len = tw5864_h264_gen_sps_rbsp(*buf, *space_left, width, height); in tw5864_h264_put_stream_header()
213 *space_left -= nal_len; in tw5864_h264_put_stream_header()
218 *space_left -= 4; in tw5864_h264_put_stream_header()
222 *space_left -= 1; in tw5864_h264_put_stream_header()
224 nal_len = tw5864_h264_gen_pps_rbsp(*buf, *space_left, qp); in tw5864_h264_put_stream_header()
226 *space_left -= nal_len; in tw5864_h264_put_stream_header()
229 void tw5864_h264_put_slice_header(u8 **buf, size_t *space_left, in tw5864_h264_put_slice_header() argument
[all …]
Dtw5864.h190 void tw5864_h264_put_stream_header(u8 **buf, size_t *space_left, int qp,
192 void tw5864_h264_put_slice_header(u8 **buf, size_t *space_left,
/kernel/linux/linux-5.10/arch/powerpc/boot/
Dsimple_alloc.c30 static unsigned long space_left; variable
49 if (size <= space_left) { in simple_malloc()
54 space_left -= size; in simple_malloc()
143 space_left = heap_size; in simple_alloc_init()
/kernel/linux/linux-5.10/fs/jbd2/
Dcheckpoint.c104 int nblocks, space_left; in __jbd2_log_wait_for_space() local
129 space_left = jbd2_log_space_left(journal); in __jbd2_log_wait_for_space()
130 if (space_left < nblocks) { in __jbd2_log_wait_for_space()
156 __func__, nblocks, space_left); in __jbd2_log_wait_for_space()
Dcommit.c396 int space_left = 0; in jbd2_journal_commit_transaction() local
668 space_left = descriptor->b_size - in jbd2_journal_commit_transaction()
732 space_left -= tag_bytes; in jbd2_journal_commit_transaction()
738 space_left -= 16; in jbd2_journal_commit_transaction()
747 space_left < tag_bytes + 16 + csum_size) { in jbd2_journal_commit_transaction()
/kernel/linux/linux-5.10/drivers/usb/atm/
Dusbatm.c421 unsigned int space_left = stride - buf_usage; in usbatm_extract_cells() local
423 if (avail_data >= space_left) { in usbatm_extract_cells()
425 memcpy(cell_buf + buf_usage, source, space_left); in usbatm_extract_cells()
426 source += space_left; in usbatm_extract_cells()
427 avail_data -= space_left; in usbatm_extract_cells()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras.c1602 unsigned int old_space = data->count + data->space_left; in amdgpu_ras_realloc_eh_data_space()
1628 data->space_left += align_space - old_space; in amdgpu_ras_realloc_eh_data_space()
1648 if (data->space_left <= pages) in amdgpu_ras_add_bad_pages()
1656 data->space_left -= pages; in amdgpu_ras_add_bad_pages()
Damdgpu_ras.h371 int space_left; member
/kernel/linux/linux-5.10/net/sctp/
Dsocket.c6017 size_t space_left; in sctp_getsockopt_peer_addrs() local
6032 space_left = len - offsetof(struct sctp_getaddrs, addrs); in sctp_getsockopt_peer_addrs()
6039 if (space_left < addrlen) in sctp_getsockopt_peer_addrs()
6045 space_left -= addrlen; in sctp_getsockopt_peer_addrs()
6058 size_t space_left, int *bytes_copied) in sctp_copy_laddrs() argument
6085 if (space_left < addrlen) { in sctp_copy_laddrs()
6093 space_left -= addrlen; in sctp_copy_laddrs()
6115 size_t space_left; in sctp_getsockopt_local_addrs() local
6142 space_left = len - offsetof(struct sctp_getaddrs, addrs); in sctp_getsockopt_local_addrs()
6144 addrs = kmalloc(space_left, GFP_USER | __GFP_NOWARN); in sctp_getsockopt_local_addrs()
[all …]
/kernel/linux/linux-5.10/net/sunrpc/
Dxdr.c724 int space_left; in xdr_get_next_encode_buffer() local
754 space_left = xdr->buf->buflen - xdr->buf->len; in xdr_get_next_encode_buffer()
755 xdr->end = (void *)p + min_t(int, space_left, PAGE_SIZE); in xdr_get_next_encode_buffer()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfs4xdr.c3763 int space_left; in nfsd4_encode_splice_read() local
3806 space_left = min_t(int, (void *)xdr->end - (void *)xdr->p, in nfsd4_encode_splice_read()
3808 buf->buflen = buf->len + space_left; in nfsd4_encode_splice_read()
3809 xdr->end = (__be32 *)((void *)xdr->end + space_left); in nfsd4_encode_splice_read()