isc_subr.c (234233) | isc_subr.c (254657) |
---|---|
1/*- 2 * Copyright (c) 2005-2011 Daniel Braniss <danny@cs.huji.ac.il> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * 26 */ 27/* 28 | iSCSI 29 | $Id: isc_subr.c 560 2009-05-07 07:37:49Z danny $ 30 */ 31 32#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2005-2011 Daniel Braniss <danny@cs.huji.ac.il> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * 26 */ 27/* 28 | iSCSI 29 | $Id: isc_subr.c 560 2009-05-07 07:37:49Z danny $ 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/sys/dev/iscsi/initiator/isc_subr.c 234233 2012-04-13 18:21:56Z jpaetzel $"); | 33__FBSDID("$FreeBSD: head/sys/dev/iscsi_initiator/isc_subr.c 254657 2013-08-22 14:02:34Z trasz $"); |
34 35#include "opt_iscsi_initiator.h" 36 37#include <sys/param.h> 38#include <sys/kernel.h> 39#include <sys/conf.h> 40#include <sys/systm.h> 41#include <sys/malloc.h> --- 8 unchanged lines hidden (view full) --- 50#include <sys/proc.h> 51#include <sys/ioccom.h> 52#include <sys/queue.h> 53#include <sys/kthread.h> 54#include <sys/syslog.h> 55#include <sys/mbuf.h> 56#include <sys/libkern.h> 57 | 34 35#include "opt_iscsi_initiator.h" 36 37#include <sys/param.h> 38#include <sys/kernel.h> 39#include <sys/conf.h> 40#include <sys/systm.h> 41#include <sys/malloc.h> --- 8 unchanged lines hidden (view full) --- 50#include <sys/proc.h> 51#include <sys/ioccom.h> 52#include <sys/queue.h> 53#include <sys/kthread.h> 54#include <sys/syslog.h> 55#include <sys/mbuf.h> 56#include <sys/libkern.h> 57 |
58#include <dev/iscsi/initiator/iscsi.h> 59#include <dev/iscsi/initiator/iscsivar.h> | 58#include <dev/iscsi_initiator/iscsi.h> 59#include <dev/iscsi_initiator/iscsivar.h> |
60 61static MALLOC_DEFINE(M_ISC, "iSC", "iSCSI driver options"); 62 63static char * 64i_strdupin(char *s, size_t maxlen) 65{ 66 size_t len; 67 char *p, *q; --- 202 unchanged lines hidden --- | 60 61static MALLOC_DEFINE(M_ISC, "iSC", "iSCSI driver options"); 62 63static char * 64i_strdupin(char *s, size_t maxlen) 65{ 66 size_t len; 67 char *p, *q; --- 202 unchanged lines hidden --- |