Searched refs:space_left (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/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 | 191 void tw5864_h264_put_stream_header(u8 **buf, size_t *space_left, int qp, 193 void tw5864_h264_put_slice_header(u8 **buf, size_t *space_left,
|
/linux-6.12.1/arch/powerpc/boot/ |
D | simple_alloc.c | 28 static unsigned long space_left; variable 47 if (size <= space_left) { in simple_malloc() 52 space_left -= size; in simple_malloc() 144 space_left = heap_size; in simple_alloc_init()
|
/linux-6.12.1/fs/jbd2/ |
D | checkpoint.c | 53 int nblocks, space_left; in __jbd2_log_wait_for_space() local 78 space_left = jbd2_log_space_left(journal); in __jbd2_log_wait_for_space() 79 if (space_left < nblocks) { in __jbd2_log_wait_for_space() 111 __func__, nblocks, space_left); in __jbd2_log_wait_for_space()
|
D | commit.c | 363 int space_left = 0; in jbd2_journal_commit_transaction() local 622 space_left = descriptor->b_size - in jbd2_journal_commit_transaction() 686 space_left -= tag_bytes; in jbd2_journal_commit_transaction() 692 space_left -= 16; in jbd2_journal_commit_transaction() 701 space_left < tag_bytes + 16 + csum_size) { in jbd2_journal_commit_transaction()
|
/linux-6.12.1/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-6.12.1/net/sunrpc/ |
D | xdr.c | 1046 int space_left; in xdr_get_next_encode_buffer() local 1078 space_left = xdr->buf->buflen - xdr->buf->len; in xdr_get_next_encode_buffer() 1079 if (space_left - frag1bytes >= PAGE_SIZE) in xdr_get_next_encode_buffer() 1082 xdr->end = p + space_left - frag1bytes; in xdr_get_next_encode_buffer()
|
/linux-6.12.1/net/sctp/ |
D | socket.c | 6156 size_t space_left; in sctp_getsockopt_peer_addrs() local 6171 space_left = len - offsetof(struct sctp_getaddrs, addrs); in sctp_getsockopt_peer_addrs() 6178 if (space_left < addrlen) in sctp_getsockopt_peer_addrs() 6184 space_left -= addrlen; in sctp_getsockopt_peer_addrs() 6197 size_t space_left, int *bytes_copied) in sctp_copy_laddrs() argument 6224 if (space_left < addrlen) { in sctp_copy_laddrs() 6232 space_left -= addrlen; in sctp_copy_laddrs() 6254 size_t space_left; in sctp_getsockopt_local_addrs() local 6281 space_left = len - offsetof(struct sctp_getaddrs, addrs); in sctp_getsockopt_local_addrs() 6283 addrs = kmalloc(space_left, GFP_USER | __GFP_NOWARN); in sctp_getsockopt_local_addrs() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ras.h | 607 int space_left; member
|
D | amdgpu_ras.c | 2644 unsigned int old_space = data->count + data->space_left; in amdgpu_ras_realloc_eh_data_space() 2660 data->space_left += align_space - old_space; in amdgpu_ras_realloc_eh_data_space() 2686 if (!data->space_left && in amdgpu_ras_add_bad_pages() 2696 data->space_left--; in amdgpu_ras_add_bad_pages()
|
/linux-6.12.1/fs/nfsd/ |
D | nfs4xdr.c | 4325 int status, space_left; in nfsd4_encode_splice_read() local 4358 space_left = min_t(int, (void *)xdr->end - (void *)xdr->p, in nfsd4_encode_splice_read() 4360 buf->buflen = buf->len + space_left; in nfsd4_encode_splice_read() 4361 xdr->end = (__be32 *)((void *)xdr->end + space_left); in nfsd4_encode_splice_read()
|