Print this page
NEX-16818 Add fksmbcl development tool
NEX-17264 SMB client test tp_smbutil_013 fails after NEX-14666
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Matt Barden <matt.barden@nexenta.com>
and: (fix ref leaks)
re #13613 rb4516 Tunables needs volatile keyword
*** 19,33 ****
* CDDL HEADER END
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
-
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_STRSUBR_H
#define _SYS_STRSUBR_H
/*
--- 19,35 ----
* CDDL HEADER END
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
+ /*
+ * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
+ */
#ifndef _SYS_STRSUBR_H
#define _SYS_STRSUBR_H
/*
*** 37,46 ****
--- 39,49 ----
* contents of this file is that if you include it, your
* code will not port to the next release.
*/
#include <sys/stream.h>
#include <sys/stropts.h>
+ #include <sys/vnode.h>
#include <sys/kstat.h>
#include <sys/uio.h>
#include <sys/proc.h>
#include <sys/netstack.h>
#include <sys/modhash.h>
*** 1074,1084 ****
mutex_enter(&((X)->sd_lock)); \
}
#define STRUNLOCKMATES(X) mutex_exit(&((X)->sd_lock)); \
mutex_exit(&(((X)->sd_mate)->sd_lock))
! #ifdef _KERNEL
extern void strinit(void);
extern int strdoioctl(struct stdata *, struct strioctl *, int, int,
cred_t *, int *);
extern void strsendsig(struct strsig *, int, uchar_t, int);
--- 1077,1087 ----
mutex_enter(&((X)->sd_lock)); \
}
#define STRUNLOCKMATES(X) mutex_exit(&((X)->sd_lock)); \
mutex_exit(&(((X)->sd_mate)->sd_lock))
! #if defined(_KERNEL) || defined(_FAKE_KERNEL)
extern void strinit(void);
extern int strdoioctl(struct stdata *, struct strioctl *, int, int,
cred_t *, int *);
extern void strsendsig(struct strsig *, int, uchar_t, int);
*** 1259,1271 ****
extern mblk_t *mcopyinuio(struct stdata *, uio_t *, ssize_t, ssize_t, int *);
/*
* shared or externally configured data structures
*/
! extern ssize_t strmsgsz; /* maximum stream message size */
! extern ssize_t strctlsz; /* maximum size of ctl message */
! extern int nstrpush; /* maximum number of pushes allowed */
/*
* Bufcalls related variables.
*/
extern struct bclist strbcalls; /* List of bufcalls */
--- 1262,1274 ----
extern mblk_t *mcopyinuio(struct stdata *, uio_t *, ssize_t, ssize_t, int *);
/*
* shared or externally configured data structures
*/
! extern volatile ssize_t strmsgsz; /* maximum stream message size */
! extern volatile ssize_t strctlsz; /* maximum size of ctl message */
! extern volatile int nstrpush; /* maximum number of pushes allowed */
/*
* Bufcalls related variables.
*/
extern struct bclist strbcalls; /* List of bufcalls */