Searched refs:max_usage (Results 1 – 11 of 11) sorted by relevance
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | pipe.c | 253 was_full = pipe_full(pipe->head, pipe->tail, pipe->max_usage); in pipe_read() 382 was_full = pipe_full(pipe->head, pipe->tail, pipe->max_usage); in pipe_read() 410 unsigned int max_usage = READ_ONCE(pipe->max_usage); in pipe_writable() local 412 return !pipe_full(head, tail, max_usage) || in pipe_writable() 493 if (!pipe_full(head, pipe->tail, pipe->max_usage)) { in pipe_write() 516 if (pipe_full(head, pipe->tail, pipe->max_usage)) { in pipe_write() 550 if (!pipe_full(head, pipe->tail, pipe->max_usage)) in pipe_write() 582 if (pipe_full(pipe->head, pipe->tail, pipe->max_usage)) in pipe_write() 686 if (!pipe_full(head, tail, pipe->max_usage)) in pipe_poll() 814 pipe->max_usage = pipe_bufs; in alloc_pipe_info() [all …]
|
| H A D | splice.c | 200 while (!pipe_full(head, tail, pipe->max_usage)) { in splice_to_pipe() 240 } else if (pipe_full(head, tail, pipe->max_usage)) { in add_to_pipe() 258 unsigned int max_usage = READ_ONCE(pipe->max_usage); in splice_grow_spd() local 260 spd->nr_pages_max = max_usage; in splice_grow_spd() 261 if (max_usage <= PIPE_DEF_BUFFERS) in splice_grow_spd() 264 spd->pages = kmalloc_array(max_usage, sizeof(struct page *), GFP_KERNEL); in splice_grow_spd() 265 spd->partial = kmalloc_array(max_usage, sizeof(struct partial_page), in splice_grow_spd() 627 int nbufs = pipe->max_usage; in iter_file_splice_write() 648 if (unlikely(nbufs < pipe->max_usage)) { in iter_file_splice_write() 650 nbufs = pipe->max_usage; in iter_file_splice_write() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | pipe_fs_i.h | 62 unsigned int max_usage; member 169 if (p_occupancy >= pipe->max_usage) in pipe_space_for_user() 172 if (p_space > pipe->max_usage) in pipe_space_for_user() 173 p_space = pipe->max_usage; in pipe_space_for_user()
|
| /OK3568_Linux_fs/external/mpp/test/ |
| H A D | mpi_dec_nt_test.c | 53 size_t max_usage; member 271 if (usage > data->max_usage) in dec_loop() 272 data->max_usage = usage; in dec_loop() 518 cmd->max_usage = data.max_usage; in dec_nt_decode() 593 mpp_log("test success max memory %.2f MB\n", cmd->max_usage / (float)(1 << 20)); in main()
|
| H A D | mpi_dec_test.c | 53 size_t max_usage; member 294 if (usage > data->max_usage) in dec_simple() 295 data->max_usage = usage; in dec_simple() 682 cmd->max_usage = data.max_usage; in dec_decode() 757 mpp_log("test success max memory %.2f MB\n", cmd->max_usage / (float)(1 << 20)); in main()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_demo/utils/ |
| H A D | mpp_decoder.cpp | 283 if (usage > data->max_usage) in Decode() 284 data->max_usage = usage; in Decode()
|
| H A D | mpp_decoder.h | 31 size_t max_usage; member
|
| /OK3568_Linux_fs/external/mpp/utils/ |
| H A D | mpi_dec_utils.h | 57 size_t max_usage; member
|
| /OK3568_Linux_fs/kernel/fs/fuse/ |
| H A D | dev.c | 729 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_copy_fill() 917 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_ref_page() 1400 bufs = kvmalloc_array(pipe->max_usage, sizeof(struct pipe_buffer), in fuse_dev_splice_read() 1412 if (pipe_occupancy(pipe->head, pipe->tail) + cs.nr_segs > pipe->max_usage) { in fuse_dev_splice_read()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | watch_queue.c | 264 if (nr_pages > pipe->max_usage && in watch_queue_set_size()
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | iov_iter.c | 406 if (pipe_full(i_head, p_tail, pipe->max_usage)) in copy_page_to_iter_pipe() 540 while (!pipe_full(iter_head, p_tail, pipe->max_usage)) { in push_pipe()
|