Searched refs:bufs (Results 1 – 8 of 8) sorted by relevance
/fs/ |
D | pipe.c | 288 int bufs = pipe->nrbufs; in pipe_read() local 289 if (bufs) { in pipe_read() 291 struct pipe_buffer *buf = pipe->bufs + curbuf; in pipe_read() 326 pipe->nrbufs = --bufs; in pipe_read() 333 if (bufs) /* More to do? */ in pipe_read() 405 struct pipe_buffer *buf = pipe->bufs + lastbuf; in pipe_write() 426 int bufs; in pipe_write() local 434 bufs = pipe->nrbufs; in pipe_write() 435 if (bufs < pipe->buffers) { in pipe_write() 436 int newbuf = (pipe->curbuf + bufs) & (pipe->buffers-1); in pipe_write() [all …]
|
D | splice.c | 201 struct pipe_buffer *buf = pipe->bufs + newbuf; in splice_to_pipe() 240 pipe->bufs[newbuf] = *buf; in add_to_pipe() 403 pipe->bufs[to.idx].offset = offset; in default_file_splice_read() 404 pipe->bufs[to.idx].len -= offset; in default_file_splice_read() 487 struct pipe_buffer *buf = pipe->bufs + pipe->curbuf; in splice_from_pipe_feed() 723 struct pipe_buffer *buf = pipe->bufs + idx; in iter_file_splice_write() 756 struct pipe_buffer *buf = pipe->bufs + pipe->curbuf; in iter_file_splice_write() 1003 struct pipe_buffer *buf = pipe->bufs + i; in splice_direct_to_actor() 1586 ibuf = ipipe->bufs + ipipe->curbuf; in splice_pipe_to_pipe() 1588 obuf = opipe->bufs + nbuf; in splice_pipe_to_pipe() [all …]
|
/fs/jbd2/ |
D | commit.c | 362 int bufs; in jbd2_journal_commit_transaction() local 571 bufs = 0; in jbd2_journal_commit_transaction() 603 J_ASSERT (bufs == 0); in jbd2_journal_commit_transaction() 624 wbuf[bufs++] = descriptor; in jbd2_journal_commit_transaction() 662 jh, &wbuf[bufs], blocknr); in jbd2_journal_commit_transaction() 667 jbd2_file_log_bh(&io_bufs, wbuf[bufs]); in jbd2_journal_commit_transaction() 681 jbd2_block_tag_csum_set(journal, tag, wbuf[bufs], in jbd2_journal_commit_transaction() 685 bufs++; in jbd2_journal_commit_transaction() 697 if (bufs == journal->j_wbufsize || in jbd2_journal_commit_transaction() 701 jbd_debug(4, "JBD2: Submit %d IOs\n", bufs); in jbd2_journal_commit_transaction() [all …]
|
D | recovery.c | 74 struct buffer_head * bufs[MAXBUF]; in do_readahead() local 102 bufs[nbufs++] = bh; in do_readahead() 104 ll_rw_block(REQ_OP_READ, 0, nbufs, bufs); in do_readahead() 105 journal_brelse_array(bufs, nbufs); in do_readahead() 113 ll_rw_block(REQ_OP_READ, 0, nbufs, bufs); in do_readahead() 118 journal_brelse_array(bufs, nbufs); in do_readahead()
|
/fs/fuse/ |
D | dev.c | 1339 struct pipe_buffer *bufs; in fuse_dev_splice_read() local 1346 bufs = kvmalloc_array(pipe->buffers, sizeof(struct pipe_buffer), in fuse_dev_splice_read() 1348 if (!bufs) in fuse_dev_splice_read() 1352 cs.pipebufs = bufs; in fuse_dev_splice_read() 1368 bufs[page_nr].ops = &nosteal_pipe_buf_ops; in fuse_dev_splice_read() 1369 bufs[page_nr].flags = 0; in fuse_dev_splice_read() 1370 ret = add_to_pipe(pipe, &bufs[page_nr++]); in fuse_dev_splice_read() 1378 put_page(bufs[page_nr].page); in fuse_dev_splice_read() 1380 kvfree(bufs); in fuse_dev_splice_read() 1942 struct pipe_buffer *bufs; in fuse_dev_splice_write() local [all …]
|
/fs/fscache/ |
D | cookie.c | 79 int bufs; in fscache_set_key() local 82 bufs = DIV_ROUND_UP(index_key_len, sizeof(*buf)); in fscache_set_key() 85 buf = kcalloc(bufs, sizeof(*buf), GFP_KERNEL); in fscache_set_key() 101 for (i = 0; i < bufs; i++) in fscache_set_key()
|
/fs/cifs/ |
D | connect.c | 1162 char *bufs[MAX_COMPOUND]; in cifs_demultiplex_thread() local 1231 memset(bufs, 0, sizeof(bufs)); in cifs_demultiplex_thread() 1239 bufs, in cifs_demultiplex_thread() 1243 bufs[0] = buf; in cifs_demultiplex_thread() 1270 server->ops->is_oplock_break(bufs[i], in cifs_demultiplex_thread() 1272 smb2_add_credits_from_hdr(bufs[i], server); in cifs_demultiplex_thread() 1278 cifs_dump_mem("Received Data is: ", bufs[i], in cifs_demultiplex_thread() 1280 smb2_add_credits_from_hdr(bufs[i], server); in cifs_demultiplex_thread() 1283 server->ops->dump_detail(bufs[i], in cifs_demultiplex_thread()
|
D | smb2ops.c | 4194 struct mid_q_entry **mids, char **bufs, in receive_encrypted_standard() argument 4253 bufs[*num_mids] = buf; in receive_encrypted_standard() 4287 struct mid_q_entry **mids, char **bufs, int *num_mids) in smb3_receive_transform() argument 4315 return receive_encrypted_standard(server, mids, bufs, num_mids); in smb3_receive_transform()
|