FreeBSD/sys/dev/firewire/firewire.c
/*
 * To allocate IEEE1394 XFER structure.
 */
To allocate IEEE1394 XFER structure.
To allocate IEEE1394 XFER structure .
struct fw_xfer *
fw_xfer_alloc(struct malloc_type *type)
{
	struct fw_xfer *xfer;
	xfer = malloc(sizeof(struct fw_xfer), type, M_NOWAIT | M_ZERO);
	if (xfer == NULL)
		return xfer;
	xfer->malloc = type;
	return xfer;
}
struct fw_xfer * fw_xfer_alloc ( struct malloc_type * type ) { struct fw_xfer * xfer ; xfer = malloc ( sizeof ( struct fw_xfer ) , type , M_NOWAIT | M_ZERO ) ; if ( xfer == NULL ) return xfer ; xfer -> malloc = type ; return xfer ; }
To allocate IEEE1394 XFER structure.
To allocate IEEE1394 XFER structure .