packets-buffer.c (94bd217e2d683719ab21a4ac117d8a1b91cbedc9) packets-buffer.c (d81a6d71760c4d8323f1f9a506c64084caa09063)
1/*
2 * helpers for managing a buffer for many packets
3 *
4 * Copyright (c) Clemens Ladisch <clemens@ladisch.de>
5 * Licensed under the terms of the GNU General Public License, version 2.
6 */
7
8#include <linux/firewire.h>
1/*
2 * helpers for managing a buffer for many packets
3 *
4 * Copyright (c) Clemens Ladisch <clemens@ladisch.de>
5 * Licensed under the terms of the GNU General Public License, version 2.
6 */
7
8#include <linux/firewire.h>
9#include <linux/export.h>
9#include <linux/slab.h>
10#include "packets-buffer.h"
11
12/**
13 * iso_packets_buffer_init - allocates the memory for packets
14 * @b: the buffer structure to initialize
15 * @unit: the device at the other end of the stream
16 * @count: the number of packets

--- 60 unchanged lines hidden ---
10#include <linux/slab.h>
11#include "packets-buffer.h"
12
13/**
14 * iso_packets_buffer_init - allocates the memory for packets
15 * @b: the buffer structure to initialize
16 * @unit: the device at the other end of the stream
17 * @count: the number of packets

--- 60 unchanged lines hidden ---