rhd 43 source3/modules/vfs_readahead.c struct readahead_data *rhd = (struct readahead_data *)handle->data; rhd 45 source3/modules/vfs_readahead.c if ( offset % rhd->off_bound == 0) { rhd 47 source3/modules/vfs_readahead.c int err = readahead(fromfsp->fh->fd, offset, (size_t)rhd->len); rhd 51 source3/modules/vfs_readahead.c (unsigned int)rhd->len, rhd 54 source3/modules/vfs_readahead.c int err = posix_fadvise(fromfsp->fh->fd, offset, (off_t)rhd->len, POSIX_FADV_WILLNEED); rhd 58 source3/modules/vfs_readahead.c (unsigned int)rhd->len, rhd 61 source3/modules/vfs_readahead.c if (!rhd->didmsg) { rhd 63 source3/modules/vfs_readahead.c rhd->didmsg = True; rhd 85 source3/modules/vfs_readahead.c struct readahead_data *rhd = (struct readahead_data *)handle->data; rhd 87 source3/modules/vfs_readahead.c if ( offset % rhd->off_bound == 0) { rhd 89 source3/modules/vfs_readahead.c int err = readahead(fsp->fh->fd, offset, (size_t)rhd->len); rhd 93 source3/modules/vfs_readahead.c (unsigned int)rhd->len, rhd 96 source3/modules/vfs_readahead.c int err = posix_fadvise(fsp->fh->fd, offset, (off_t)rhd->len, POSIX_FADV_WILLNEED); rhd 100 source3/modules/vfs_readahead.c (unsigned int)rhd->len, rhd 103 source3/modules/vfs_readahead.c if (!rhd->didmsg) { rhd 105 source3/modules/vfs_readahead.c rhd->didmsg = True; rhd 130 source3/modules/vfs_readahead.c struct readahead_data *rhd = SMB_MALLOC_P(struct readahead_data); rhd 131 source3/modules/vfs_readahead.c if (!rhd) { rhd 135 source3/modules/vfs_readahead.c ZERO_STRUCTP(rhd); rhd 137 source3/modules/vfs_readahead.c rhd->didmsg = False; rhd 138 source3/modules/vfs_readahead.c rhd->off_bound = conv_str_size(lp_parm_const_string(SNUM(handle->conn), rhd 142 source3/modules/vfs_readahead.c if (rhd->off_bound == 0) { rhd 143 source3/modules/vfs_readahead.c rhd->off_bound = 0x80000; rhd 145 source3/modules/vfs_readahead.c rhd->len = conv_str_size(lp_parm_const_string(SNUM(handle->conn), rhd 149 source3/modules/vfs_readahead.c if (rhd->len == 0) { rhd 150 source3/modules/vfs_readahead.c rhd->len = rhd->off_bound; rhd 153 source3/modules/vfs_readahead.c handle->data = (void *)rhd;