Home
last modified time | relevance | path

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

/linux/drivers/media/pci/tw5864/
A Dtw5864-h264.c205 *space_left -= 4; in tw5864_h264_put_stream_header()
209 *space_left -= 1; 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
238 *space_left -= 4; in tw5864_h264_put_slice_header()
243 *space_left -= 1; in tw5864_h264_put_slice_header()
[all …]
A 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,
/linux/arch/powerpc/boot/
A 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()
/linux/fs/jbd2/
A 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()
A 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()
/linux/drivers/usb/atm/
A 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()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ras.h381 int space_left; member
A Damdgpu_ras.c1860 unsigned int old_space = data->count + data->space_left; in amdgpu_ras_realloc_eh_data_space()
1877 data->space_left += align_space - old_space; in amdgpu_ras_realloc_eh_data_space()
1903 if (!data->space_left && in amdgpu_ras_add_bad_pages()
1916 data->space_left--; in amdgpu_ras_add_bad_pages()
/linux/net/sctp/
A Dsocket.c6140 size_t space_left; in sctp_getsockopt_peer_addrs() local
6162 if (space_left < addrlen) in sctp_getsockopt_peer_addrs()
6168 space_left -= addrlen; in sctp_getsockopt_peer_addrs()
6181 size_t space_left, int *bytes_copied) in sctp_copy_laddrs() argument
6208 if (space_left < addrlen) { in sctp_copy_laddrs()
6216 space_left -= addrlen; in sctp_copy_laddrs()
6238 size_t space_left; in sctp_getsockopt_local_addrs() local
6267 addrs = kmalloc(space_left, GFP_USER | __GFP_NOWARN); in sctp_getsockopt_local_addrs()
6279 space_left, &bytes_copied); in sctp_getsockopt_local_addrs()
6297 if (space_left < addrlen) { in sctp_getsockopt_local_addrs()
[all …]
/linux/net/sunrpc/
A Dxdr.c952 int space_left; in xdr_get_next_encode_buffer() local
981 space_left = xdr->buf->buflen - xdr->buf->len; in xdr_get_next_encode_buffer()
982 xdr->end = (void *)p + min_t(int, space_left, PAGE_SIZE); in xdr_get_next_encode_buffer()
/linux/fs/nfsd/
A Dnfs4xdr.c3876 int status, space_left; in nfsd4_encode_splice_read() local
3919 space_left = min_t(int, (void *)xdr->end - (void *)xdr->p, in nfsd4_encode_splice_read()
3921 buf->buflen = buf->len + space_left; in nfsd4_encode_splice_read()
3922 xdr->end = (__be32 *)((void *)xdr->end + space_left); in nfsd4_encode_splice_read()

Completed in 44 milliseconds