Home
last modified time | relevance | path

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

/linux/drivers/media/pci/tw5864/
H A 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 …]
H A Dtw5864.h191 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/arch/powerpc/boot/
H A Dsimple_alloc.c28 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/fs/jbd2/
H A Dcheckpoint.c53 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()
/linux/net/ethtool/
H A Dcmis_cdb.c588 u16 space_left, bytes_to_write; in ethtool_cmis_cdb_execute_epl_cmd() local
590 space_left = CMIS_CDB_EPL_FW_BLOCK_OFFSET_END - offset + 1; in ethtool_cmis_cdb_execute_epl_cmd()
592 min_t(u16, space_left, in ethtool_cmis_cdb_execute_epl_cmd()
/linux/net/sunrpc/
H A Dxdr.c1046 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/net/sctp/
H A Dsocket.c6156 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/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ras.h608 int space_left; member