Searched refs:space_left (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.4/drivers/media/pci/tw5864/ |
D | tw5864-h264.c | 197 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 …]
|
D | tw5864.h | 190 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,
|
/Linux-v5.4/arch/powerpc/boot/ |
D | simple_alloc.c | 30 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()
|
/Linux-v5.4/fs/jbd2/ |
D | checkpoint.c | 110 int nblocks, space_left; in __jbd2_log_wait_for_space() local 135 space_left = jbd2_log_space_left(journal); in __jbd2_log_wait_for_space() 136 if (space_left < nblocks) { in __jbd2_log_wait_for_space() 162 __func__, nblocks, space_left); in __jbd2_log_wait_for_space()
|
D | commit.c | 370 int space_left = 0; in jbd2_journal_commit_transaction() local 619 space_left = descriptor->b_size - in jbd2_journal_commit_transaction() 684 space_left -= tag_bytes; in jbd2_journal_commit_transaction() 690 space_left -= 16; in jbd2_journal_commit_transaction() 699 space_left < tag_bytes + 16 + csum_size) { in jbd2_journal_commit_transaction()
|
/Linux-v5.4/drivers/usb/atm/ |
D | usbatm.c | 421 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()
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ras.c | 1290 unsigned int old_space = data->count + data->space_left; in amdgpu_ras_realloc_eh_data_space() 1305 data->space_left += align_space - old_space; in amdgpu_ras_realloc_eh_data_space() 1326 if (data->space_left <= pages) in amdgpu_ras_add_bad_pages() 1335 data->space_left -= pages; in amdgpu_ras_add_bad_pages()
|
D | amdgpu_ras.h | 362 int space_left; member
|
/Linux-v5.4/net/sunrpc/ |
D | xdr.c | 581 int space_left; in xdr_get_next_encode_buffer() local 611 space_left = xdr->buf->buflen - xdr->buf->len; in xdr_get_next_encode_buffer() 612 xdr->end = (void *)p + min_t(int, space_left, PAGE_SIZE); in xdr_get_next_encode_buffer()
|
/Linux-v5.4/net/sctp/ |
D | socket.c | 6158 size_t space_left; in sctp_getsockopt_peer_addrs() local 6173 space_left = len - offsetof(struct sctp_getaddrs, addrs); in sctp_getsockopt_peer_addrs() 6180 if (space_left < addrlen) in sctp_getsockopt_peer_addrs() 6186 space_left -= addrlen; in sctp_getsockopt_peer_addrs() 6199 size_t space_left, int *bytes_copied) in sctp_copy_laddrs() argument 6226 if (space_left < addrlen) { in sctp_copy_laddrs() 6234 space_left -= addrlen; in sctp_copy_laddrs() 6256 size_t space_left; in sctp_getsockopt_local_addrs() local 6283 space_left = len - offsetof(struct sctp_getaddrs, addrs); in sctp_getsockopt_local_addrs() 6285 addrs = kmalloc(space_left, GFP_USER | __GFP_NOWARN); in sctp_getsockopt_local_addrs() [all …]
|
/Linux-v5.4/fs/nfsd/ |
D | nfs4xdr.c | 3465 int space_left; in nfsd4_encode_splice_read() local 3509 space_left = min_t(int, (void *)xdr->end - (void *)xdr->p, in nfsd4_encode_splice_read() 3511 buf->buflen = buf->len + space_left; in nfsd4_encode_splice_read() 3512 xdr->end = (__be32 *)((void *)xdr->end + space_left); in nfsd4_encode_splice_read()
|