Searched refs:bufs (Results 1 – 8 of 8) sorted by relevance
/fs/ |
D | pipe.c | 303 int bufs = pipe->nrbufs; in pipe_read() local 304 if (bufs) { in pipe_read() 306 struct pipe_buffer *buf = pipe->bufs + curbuf; in pipe_read() 341 pipe->nrbufs = --bufs; in pipe_read() 348 if (bufs) /* More to do? */ in pipe_read() 420 struct pipe_buffer *buf = pipe->bufs + lastbuf; in pipe_write() 441 int bufs; in pipe_write() local 449 bufs = pipe->nrbufs; in pipe_write() 450 if (bufs < pipe->buffers) { in pipe_write() 451 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 573 bufs = 0; in jbd2_journal_commit_transaction() 605 J_ASSERT (bufs == 0); in jbd2_journal_commit_transaction() 626 wbuf[bufs++] = descriptor; in jbd2_journal_commit_transaction() 664 jh, &wbuf[bufs], blocknr); in jbd2_journal_commit_transaction() 669 jbd2_file_log_bh(&io_bufs, wbuf[bufs]); in jbd2_journal_commit_transaction() 683 jbd2_block_tag_csum_set(journal, tag, wbuf[bufs], in jbd2_journal_commit_transaction() 687 bufs++; in jbd2_journal_commit_transaction() 699 if (bufs == journal->j_wbufsize || in jbd2_journal_commit_transaction() 703 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 | 1374 struct pipe_buffer *bufs; in fuse_dev_splice_read() local 1381 bufs = kvmalloc_array(pipe->buffers, sizeof(struct pipe_buffer), in fuse_dev_splice_read() 1383 if (!bufs) in fuse_dev_splice_read() 1387 cs.pipebufs = bufs; in fuse_dev_splice_read() 1403 bufs[page_nr].ops = &nosteal_pipe_buf_ops; in fuse_dev_splice_read() 1404 bufs[page_nr].flags = 0; in fuse_dev_splice_read() 1405 ret = add_to_pipe(pipe, &bufs[page_nr++]); in fuse_dev_splice_read() 1413 put_page(bufs[page_nr].page); in fuse_dev_splice_read() 1415 kvfree(bufs); in fuse_dev_splice_read() 1983 struct pipe_buffer *bufs; in fuse_dev_splice_write() local [all …]
|
/fs/fscache/ |
D | cookie.c | 78 int bufs; in fscache_set_key() local 80 bufs = DIV_ROUND_UP(index_key_len, sizeof(*buf)); in fscache_set_key() 83 buf = kcalloc(bufs, sizeof(*buf), GFP_KERNEL); in fscache_set_key() 92 cookie->key_hash = fscache_hash(0, buf, bufs); in fscache_set_key()
|
/fs/cifs/ |
D | connect.c | 1164 char *bufs[MAX_COMPOUND]; in cifs_demultiplex_thread() local 1233 memset(bufs, 0, sizeof(bufs)); in cifs_demultiplex_thread() 1241 bufs, in cifs_demultiplex_thread() 1245 bufs[0] = buf; in cifs_demultiplex_thread() 1272 server->ops->is_oplock_break(bufs[i], in cifs_demultiplex_thread() 1274 smb2_add_credits_from_hdr(bufs[i], server); in cifs_demultiplex_thread() 1280 cifs_dump_mem("Received Data is: ", bufs[i], in cifs_demultiplex_thread() 1282 smb2_add_credits_from_hdr(bufs[i], server); in cifs_demultiplex_thread() 1285 server->ops->dump_detail(bufs[i], in cifs_demultiplex_thread()
|
D | smb2ops.c | 4311 struct mid_q_entry **mids, char **bufs, in receive_encrypted_standard() argument 4370 bufs[*num_mids] = buf; in receive_encrypted_standard() 4404 struct mid_q_entry **mids, char **bufs, int *num_mids) in smb3_receive_transform() argument 4432 return receive_encrypted_standard(server, mids, bufs, num_mids); in smb3_receive_transform()
|