Searched refs:buffers (Results 1 – 12 of 12) sorted by relevance
/fs/ |
D | splice.c | 204 if (pipe->nrbufs < pipe->buffers) { in splice_to_pipe() 205 int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); in splice_to_pipe() 225 if (pipe->nrbufs < pipe->buffers) in splice_to_pipe() 278 unsigned int buffers = ACCESS_ONCE(pipe->buffers); in splice_grow_spd() local 280 spd->nr_pages_max = buffers; in splice_grow_spd() 281 if (buffers <= PIPE_DEF_BUFFERS) in splice_grow_spd() 284 spd->pages = kmalloc(buffers * sizeof(struct page *), GFP_KERNEL); in splice_grow_spd() 285 spd->partial = kmalloc(buffers * sizeof(struct partial_page), GFP_KERNEL); in splice_grow_spd() 827 pipe->curbuf = (pipe->curbuf + 1) & (pipe->buffers - 1); in splice_from_pipe_feed() 1252 for (i = 0; i < pipe->buffers; i++) { in splice_direct_to_actor() [all …]
|
D | pipe.c | 438 curbuf = (curbuf + 1) & (pipe->buffers - 1); in pipe_read() 525 (pipe->buffers - 1); in pipe_write() 572 if (bufs < pipe->buffers) { in pipe_write() 573 int newbuf = (pipe->curbuf + bufs) & (pipe->buffers-1); in pipe_write() 642 if (bufs < pipe->buffers) in pipe_write() 705 buf = (buf+1) & (pipe->buffers - 1); in pipe_ioctl() 736 mask |= (nrbufs < pipe->buffers) ? POLLOUT | POLLWRNORM : 0; in pipe_poll() 950 pipe->buffers = PIPE_DEF_BUFFERS; in alloc_pipe_info() 963 for (i = 0; i < pipe->buffers; i++) { in __free_pipe_info() 1199 if (tail < pipe->buffers) in pipe_set_size() [all …]
|
/fs/nilfs2/ |
D | ioctl.c | 357 struct list_head *buffers) in nilfs_ioctl_move_inode_block() argument 396 list_add_tail(&bh->b_assoc_buffers, buffers); in nilfs_ioctl_move_inode_block() 408 LIST_HEAD(buffers); in nilfs_ioctl_move_blocks() 434 &buffers); in nilfs_ioctl_move_blocks() 446 list_for_each_entry_safe(bh, n, &buffers, b_assoc_buffers) { in nilfs_ioctl_move_blocks() 458 list_for_each_entry_safe(bh, n, &buffers, b_assoc_buffers) { in nilfs_ioctl_move_blocks()
|
/fs/sysfs/ |
D | file.c | 42 struct list_head buffers; /* goes through sysfs_buffer.list */ member 274 list_add_tail(&buffer->list, &od->buffers); in sysfs_get_open_dirent() 292 INIT_LIST_HEAD(&new_od->buffers); in sysfs_get_open_dirent()
|
D | bin.c | 423 hlist_add_head(&bb->list, &attr_sd->s_bin_attr.buffers); in open() 469 hlist_for_each_entry(bb, tmp, &attr_sd->s_bin_attr.buffers, list) { in unmap_bin_file()
|
D | sysfs.h | 38 struct hlist_head buffers; member
|
/fs/fuse/ |
D | dev.c | 617 if (cs->nr_segs == cs->pipe->buffers) in fuse_copy_fill() 797 if (cs->nr_segs == cs->pipe->buffers) in fuse_ref_page() 1235 bufs = kmalloc(pipe->buffers * sizeof(struct pipe_buffer), GFP_KERNEL); in fuse_dev_splice_read() 1256 if (pipe->nrbufs + cs.nr_segs > pipe->buffers) { in fuse_dev_splice_read() 1262 int newbuf = (pipe->curbuf + pipe->nrbufs) & (pipe->buffers - 1); in fuse_dev_splice_read() 1832 bufs = kmalloc(pipe->buffers * sizeof(struct pipe_buffer), GFP_KERNEL); in fuse_dev_splice_write() 1840 rem += pipe->bufs[(pipe->curbuf + idx) & (pipe->buffers - 1)].len; in fuse_dev_splice_write() 1853 BUG_ON(nbuf >= pipe->buffers); in fuse_dev_splice_write() 1861 pipe->curbuf = (pipe->curbuf + 1) & (pipe->buffers - 1); in fuse_dev_splice_write()
|
/fs/cifs/ |
D | TODO | 39 extra copy in/out of the socket buffers in some cases.
|
D | CHANGES | 96 sends, and also let tcp autotune the socket send and receive buffers. 442 minimum number of large and small network buffers in the buffer pools, 545 Change to mempools for alloc smb request buffers and multiplex structs 842 (which was causing the warning in kmem_cache_free of the request buffers 927 changes to superblock layout. Remove wasteful allocation of smb buffers (now the send
|
D | README | 75 If cifs is built as a module, then the size and number of network buffers
|
/fs/xfs/ |
D | xfs_aops.c | 438 int buffers) in xfs_start_page_writeback() argument 447 if (!buffers) in xfs_start_page_writeback()
|
/fs/btrfs/ |
D | extent_io.c | 27 static LIST_HEAD(buffers); 101 while (!list_empty(&buffers)) { in extent_io_exit() 102 eb = list_entry(buffers.next, struct extent_buffer, leak_list); in extent_io_exit() 3979 list_add(&eb->leak_list, &buffers); in __alloc_extent_buffer()
|