Print this page
NEX-5665 SMB2 oplock leases
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
NEX-5665 SMB2 oplock leases
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
NEX-4083 Upstream changes from illumos 5917 and 5995
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/smbsrv/libfksmbsrv/common/sys/sunddi.h
          +++ new/usr/src/lib/smbsrv/libfksmbsrv/common/sys/sunddi.h
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
       24 + * Copyright 2017 Nexenta Systems, Inc.  All rights reserved.
  24   25   */
  25   26  
  26   27  #ifndef _SYS_SUNDDI_H
  27   28  #define _SYS_SUNDDI_H
  28   29  
  29   30  /*
  30   31   * Sun Specific DDI definitions (fakekernel version)
  31   32   * The real sunddi.h has become a "kitchen sink" full of
  32   33   * includes we don't want, and lots of places include it.
  33   34   * Rather than fight that battle now,  provide this one
↓ open down ↓ 60 lines elided ↑ open up ↑
  94   95  extern const void *memchr(const void *, int, size_t);
  95   96  #else
  96   97  extern void *memchr(const void *, int, size_t);
  97   98  #endif /* __cplusplus >= 199711L */
  98   99  
  99  100  extern int ddi_strtol(const char *, char **, int, long *);
 100  101  extern int ddi_strtoul(const char *, char **, int, unsigned long *);
 101  102  extern int ddi_strtoll(const char *, char **, int, longlong_t *);
 102  103  extern int ddi_strtoull(const char *, char **, int, u_longlong_t *);
 103  104  
 104      -/*
 105      - * kiconv functions and their macros.
 106      - */
 107      -#define KICONV_IGNORE_NULL      (0x0001)
 108      -#define KICONV_REPLACE_INVALID  (0x0002)
      105 +#endif  /* _KERNEL || _FAKE_KERNEL */
 109  106  
 110      -extern kiconv_t kiconv_open(const char *, const char *);
 111      -extern size_t kiconv(kiconv_t, char **, size_t *, char **, size_t *, int *);
 112      -extern int kiconv_close(kiconv_t);
 113      -extern size_t kiconvstr(const char *, const char *, char *, size_t *, char *,
 114      -        size_t *, int, int *);
 115      -
 116      -#endif  /* _KERNEL */
 117      -
 118  107  #ifdef  __cplusplus
 119  108  }
 120  109  #endif
 121  110  
 122  111  #endif  /* _SYS_SUNDDI_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX