Searched refs:bufs (Results 1 – 7 of 7) sorted by relevance
/fs/ |
D | pipe.c | 286 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in pipe_read() 457 struct pipe_buffer *buf = &pipe->bufs[(head - 1) & mask]; in pipe_write() 489 struct pipe_buffer *buf = &pipe->bufs[head & mask]; in pipe_write() 519 buf = &pipe->bufs[head & mask]; in pipe_write() 619 count += pipe->bufs[tail & mask].len; in pipe_ioctl() 805 pipe->bufs = kcalloc(pipe_bufs, sizeof(struct pipe_buffer), in alloc_pipe_info() 808 if (pipe->bufs) { in alloc_pipe_info() 840 struct pipe_buffer *buf = pipe->bufs + i; in free_pipe_info() 850 kfree(pipe->bufs); in free_pipe_info() 1253 struct pipe_buffer *bufs; in pipe_resize_ring() local [all …]
|
D | splice.c | 200 struct pipe_buffer *buf = &pipe->bufs[head & mask]; in splice_to_pipe() 242 pipe->bufs[head & mask] = *buf; in add_to_pipe() 401 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in splice_from_pipe_feed() 446 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in eat_empty_buffer() 662 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in iter_file_splice_write() 696 struct pipe_buffer *buf = &pipe->bufs[tail & mask]; in iter_file_splice_write() 912 struct pipe_buffer *buf = &pipe->bufs[i]; in splice_direct_to_actor() 1506 ibuf = &ipipe->bufs[i_tail & i_mask]; in splice_pipe_to_pipe() 1507 obuf = &opipe->bufs[o_head & o_mask]; in splice_pipe_to_pipe() 1610 ibuf = &ipipe->bufs[i_tail & i_mask]; in link_pipe() [all …]
|
/fs/jbd2/ |
D | commit.c | 389 int bufs; in jbd2_journal_commit_transaction() local 609 bufs = 0; in jbd2_journal_commit_transaction() 641 J_ASSERT (bufs == 0); in jbd2_journal_commit_transaction() 662 wbuf[bufs++] = descriptor; in jbd2_journal_commit_transaction() 699 jh, &wbuf[bufs], blocknr); in jbd2_journal_commit_transaction() 704 jbd2_file_log_bh(&io_bufs, wbuf[bufs]); in jbd2_journal_commit_transaction() 718 jbd2_block_tag_csum_set(journal, tag, wbuf[bufs], in jbd2_journal_commit_transaction() 722 bufs++; in jbd2_journal_commit_transaction() 734 if (bufs == journal->j_wbufsize || in jbd2_journal_commit_transaction() 738 jbd2_debug(4, "JBD2: Submit %d IOs\n", bufs); in jbd2_journal_commit_transaction() [all …]
|
D | recovery.c | 73 struct buffer_head * bufs[MAXBUF]; in do_readahead() local 101 bufs[nbufs++] = bh; in do_readahead() 103 bh_readahead_batch(nbufs, bufs, 0); in do_readahead() 104 journal_brelse_array(bufs, nbufs); in do_readahead() 112 bh_readahead_batch(nbufs, bufs, 0); in do_readahead() 117 journal_brelse_array(bufs, nbufs); in do_readahead()
|
/fs/fuse/ |
D | dev.c | 1383 struct pipe_buffer *bufs; in fuse_dev_splice_read() local 1390 bufs = kvmalloc_array(pipe->max_usage, sizeof(struct pipe_buffer), in fuse_dev_splice_read() 1392 if (!bufs) in fuse_dev_splice_read() 1396 cs.pipebufs = bufs; in fuse_dev_splice_read() 1412 bufs[page_nr].ops = &nosteal_pipe_buf_ops; in fuse_dev_splice_read() 1413 bufs[page_nr].flags = 0; in fuse_dev_splice_read() 1414 ret = add_to_pipe(pipe, &bufs[page_nr++]); in fuse_dev_splice_read() 1422 put_page(bufs[page_nr].page); in fuse_dev_splice_read() 1424 kvfree(bufs); in fuse_dev_splice_read() 1998 struct pipe_buffer *bufs; in fuse_dev_splice_write() local [all …]
|
/fs/smb/client/ |
D | connect.c | 1167 char *bufs[MAX_COMPOUND]; in cifs_demultiplex_thread() local 1242 memset(bufs, 0, sizeof(bufs)); in cifs_demultiplex_thread() 1250 bufs, in cifs_demultiplex_thread() 1254 bufs[0] = buf; in cifs_demultiplex_thread() 1289 if (bufs[i] && server->ops->is_network_name_deleted) in cifs_demultiplex_thread() 1290 server->ops->is_network_name_deleted(bufs[i], in cifs_demultiplex_thread() 1298 server->ops->is_oplock_break(bufs[i], in cifs_demultiplex_thread() 1300 smb2_add_credits_from_hdr(bufs[i], server); in cifs_demultiplex_thread() 1305 cifs_dump_mem("Received Data is: ", bufs[i], in cifs_demultiplex_thread() 1307 smb2_add_credits_from_hdr(bufs[i], server); in cifs_demultiplex_thread() [all …]
|
D | smb2ops.c | 5080 struct mid_q_entry **mids, char **bufs, in receive_encrypted_standard() argument 5141 bufs[*num_mids] = buf; in receive_encrypted_standard() 5175 struct mid_q_entry **mids, char **bufs, int *num_mids) in smb3_receive_transform() argument 5201 return receive_encrypted_standard(server, mids, bufs, num_mids); in smb3_receive_transform()
|