1/*-
2 * Copyright (c) 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley
6 * by Pace Willisson (pace@blitz.com). The Rock Ridge Extension
7 * Support code is derived from software contributed to Berkeley
8 * by Atsushi Murai (amurai@spec.co.jp).
--- 22 unchanged lines hidden (view full) ---
31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)cd9660_vnops.c 8.19 (Berkeley) 5/27/95
39 * $FreeBSD: head/sys/fs/cd9660/cd9660_vnops.c 111119 2003-02-19 05:47:46Z imp $
40 */
41
42#include <sys/param.h>
43#include <sys/systm.h>
44#include <sys/namei.h>
45#include <sys/kernel.h>
46#include <sys/stat.h>
47#include <sys/bio.h>
--- 308 unchanged lines hidden (view full) ---
356 idp->eofflag = 0;
357 return (-1);
358 }
359
360 *idp->cookies++ = off;
361 --idp->ncookies;
362 }
363
364 if ((error = uiomove((caddr_t) dp,dp->d_reclen,idp->uio)) != 0)
365 return (error);
366 idp->uio_off = off;
367 return (0);
368}
369
370static int
371iso_shipdir(idp)
372 struct isoreaddir *idp;
--- 465 unchanged lines hidden ---
2 * Copyright (c) 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley
6 * by Pace Willisson (pace@blitz.com). The Rock Ridge Extension
7 * Support code is derived from software contributed to Berkeley
8 * by Atsushi Murai (amurai@spec.co.jp).
--- 22 unchanged lines hidden (view full) ---
31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)cd9660_vnops.c 8.19 (Berkeley) 5/27/95
39 * $FreeBSD: head/sys/fs/cd9660/cd9660_vnops.c 111119 2003-02-19 05:47:46Z imp $
40 */
41
42#include <sys/param.h>
43#include <sys/systm.h>
44#include <sys/namei.h>
45#include <sys/kernel.h>
46#include <sys/stat.h>
47#include <sys/bio.h>
--- 308 unchanged lines hidden (view full) ---
356 idp->eofflag = 0;
357 return (-1);
358 }
359
360 *idp->cookies++ = off;
361 --idp->ncookies;
362 }
363
364 if ((error = uiomove((caddr_t) dp,dp->d_reclen,idp->uio)) != 0)
365 return (error);
366 idp->uio_off = off;
367 return (0);
368}
369
370static int
371iso_shipdir(idp)
372 struct isoreaddir *idp;
--- 465 unchanged lines hidden ---