/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | smbfs_mount.h | 2 * Copyright (c) 2000-2001, Boris Popov 16 * 4. Neither the name of the author nor the names of any co-contributors 46 * smb-217.2/kernel/fs/smbfs/smbfs.h 64 #define SMBFS_MF_ACREGMIN 0x0100 /* set min secs for file attr cache */ 65 #define SMBFS_MF_ACREGMAX 0x0200 /* set max secs for file attr cache */ 66 #define SMBFS_MF_ACDIRMIN 0x0400 /* set min secs for dir attr cache */ 67 #define SMBFS_MF_ACDIRMAX 0x0800 /* set max secs for dir attr cache */ 78 int acregmin; /* attr cache file min secs */ 79 int acregmax; /* attr cache file max secs */ 80 int acdirmin; /* attr cache dir min secs */ [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs.h | 2 * Copyright (c) 2000-2001, Boris Popov 16 * 4. Neither the name of the author nor the names of any co-contributors 43 * FS-specific VFS structures for smbfs. 44 * (per-mount stuff, etc.) 68 #define SMB_MAXFNAMELEN (MAXNAMELEN-1) /* 255 */ 82 #define SM_STATUS_DEAD 0x00000010 /* connection gone - unmount this */ 106 uint32_t fsa_aflags; /* Attr. flags [CIFS 4.1.6.6] */ 107 uint32_t fsa_maxname; /* max. component length */ 108 char fsa_tname[FSTYPSZ]; /* type name, i.e. "NTFS" */ 120 uint32_t smi_flags; /* NFS-derived flag bits */ [all …]
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | mount.h | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 79 int acregmin; /* attr cache file min secs */ 80 int acregmax; /* attr cache file max secs */ 81 int acdirmin; /* attr cache dir min secs */ 82 int acdirmax; /* attr cache dir max secs */ 115 int32_t acregmin; /* attr cache file min secs */ 116 int32_t acregmax; /* attr cache file max secs */ 117 int32_t acdirmin; /* attr cache dir min secs */ 118 int32_t acdirmax; /* attr cache dir max secs */ 136 #define NFSMNT_ACREGMIN 0x0100 /* set min secs for file attr cache */ [all …]
|
H A D | nfs_clnt.h | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 46 #define ACREGMIN 3 /* min secs to hold cached file attr */ 47 #define ACREGMAX 60 /* max secs to hold cached file attr */ 48 #define ACDIRMIN 30 /* min secs to hold cached dir attr */ 49 #define ACDIRMAX 60 /* max secs to hold cached dir attr */ 51 #define ACMAXMAX 36000 /* 10 hr is longest max timeout */ 58 #define RFSCALL_SOFT 0x00000001 /* Do op as if fs was soft-mounted */ 171 * VOP_DELMAP()->nfs_delmap()/nfs3_delmap(). This is done by having a list of 287 #define ORIG_KNCONF(mi) (mi->mi_curr_serv->sv_origknconf ? \ 288 mi->mi_curr_serv->sv_origknconf : mi->mi_curr_serv->sv_knconf) [all …]
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | ckitem.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 77 if (menup->attr & CKUNNUM) { in setmsg() 99 allocmenu(char *label, int attr) in allocmenu() argument 104 pt->attr = attr; in allocmenu() 105 pt->label = label; in allocmenu() 127 ckitem(CKMENU *menup, char *item[], short max, char *defstr, char *error, in ckitem() argument 134 if ((menup->nchoices <= 0) && !menup->invis) in ckitem() 137 if (menup->attr & CKONEFLAG) { in ckitem() 138 if (((n = menup->nchoices) <= 1) && menup->invis) { in ckitem() 139 for (i = 0; menup->invis[i]; ++i) in ckitem() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | mntent.h | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 48 #define MNTTYPE_PC MNTTYPE_PCFS /* Deprecated name; use MNTTYPE_PCFS */ 50 #define MNTTYPE_LO MNTTYPE_LOFS /* Deprecated name; use MNTTYPE_LOFS */ 55 #define MNTTYPE_MNTFS "mntfs" /* In-kernel mnttab */ 73 #define MNTOPT_DEVICES "devices" /* Device-special allowed */ 74 #define MNTOPT_NODEVICES "nodevices" /* Device-special disallowed */ 77 #define MNTOPT_GRPID "grpid" /* SysV-compatible gid on create */ 80 #define MNTOPT_MULTI "multi" /* Do multi-component lookup */ 85 #define MNTOPT_RSIZE "rsize" /* Max NFS read size (bytes) */ 86 #define MNTOPT_WSIZE "wsize" /* Max NFS write size (bytes) */ [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/ufm/ |
H A D | topo_ufm.c | 78 return (-1); in topo_ufm_devinfo_image() 81 if (topo_node_range_create(mod, img_tn, SLOT, 0, nslots - 1) != 0) { in topo_ufm_devinfo_image() 83 "%s", SLOT, nslots - 1, topo_mod_errmsg(mod)); in topo_ufm_devinfo_image() 85 return (-1); in topo_ufm_devinfo_image() 102 uint32_t attr, rw; in topo_ufm_devinfo_image() local 107 &attr); in topo_ufm_devinfo_image() 116 rw = attr & (DDI_UFM_ATTR_READABLE | DDI_UFM_ATTR_WRITEABLE); in topo_ufm_devinfo_image() 132 slot.usi_active = (attr & DDI_UFM_ATTR_ACTIVE) != 0; in topo_ufm_devinfo_image() 135 if ((attr & DDI_UFM_ATTR_EMPTY) == 0 && in topo_ufm_devinfo_image() 139 "property from non-empty slot %u: %s", in topo_ufm_devinfo_image() [all …]
|
/illumos-gate/usr/src/cmd/valtools/ |
H A D | ckitem.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 48 #define BADPID (-2) 58 static int max = 1; variable 59 static int attr = CKALPHA; variable 66 "\t-f file #file containing choices\n" \ 67 "\t-l label #menu label\n" \ 68 "\t-i invis [, ...] #invisible menu choices\n" \ 69 "\t-m max #maximum choices user may select\n" \ 70 "\t-n #do not sort choices alphabetically\n" \ 71 "\t-o #don't prompt if only one choice\n" \ [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/clients/hidparser/ |
H A D | hidparser.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 184 * The hidparser_lookup_first(N) of a non-terminal N is stored as an array of 202 * Each non-terminal is represented by a function. In a top-down parser, 203 * whenever a non-terminal is encountered on the state diagram, the 234 (*parse_handle)->hidparser_handle_hid_descr = hid_descriptor; in hidparser_parse_report_descriptor() 235 (*parse_handle)->hidparser_handle_parse_tree = root; in hidparser_parse_report_descriptor() 252 parse_handle->hidparser_handle_parse_tree); in hidparser_free_report_descriptor_handle() 272 (parser_handle->hidparser_handle_hid_descr == NULL)) { in hidparser_get_country_code() 278 parser_handle->hidparser_handle_hid_descr->bCountryCode; in hidparser_get_country_code() 293 if ((parser_handle == NULL) || (parser_handle-> in hidparser_get_packet_size() [all …]
|
/illumos-gate/usr/src/man/man8/ |
H A D | zonecfg.8 | 8 …replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] 10 .SH NAME 11 zonecfg \- set up zone configuration 14 \fBzonecfg\fR \fB-z\fR \fIzonename\fR 19 \fBzonecfg\fR \fB-z\fR \fIzonename\fR \fIsubcommand\fR 24 \fBzonecfg\fR \fB-z\fR \fIzonename\fR \fB-f\fR \fIcommand_file\fR 45 zonecfg \fB-z\fR \fIzonename subcommand\fR 66 user-level environment used within the zone, as well as various behaviors for 70 the \fBzonecfg\fR properties and resources. See the brand-specific man page for 78 \fB\fBattr\fR\fR [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | digest_md5.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 28 * Copyright (c) 1998-1999 Innosoft International, Inc. All Rights Reserved. 30 * Copyright (c) 1996-1997 Critical Angle Inc. All Rights Reserved. 44 #include "ldap-int.h" 47 * DIGEST-MD5 SASL Mechanism 68 * broken-out digest attributes (with quotes removed) 73 const char *max, *stale, *ncount, *uri, *charset; member 84 * buf -- buffer for result 85 * maxlen -- max length of result 86 * returns final length or -1 on error [all …]
|
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | attribute.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 56 if (value->string != NULL) in papiAttributeValueFree() 57 free(value->string); in papiAttributeValueFree() 60 if (value->collection != NULL) { in papiAttributeValueFree() 63 for (i = 0; value->collection[i] != NULL; i++) in papiAttributeValueFree() 64 papiAttributeFree(value->collection[i]); in papiAttributeValueFree() 66 free(value->collection); in papiAttributeValueFree() 95 free(attribute->name); in papiAttributeFree() 96 if (attribute->values != NULL) in papiAttributeFree() 97 papiAttributeValuesFree(attribute->type, in papiAttributeFree() [all …]
|
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | authtok_check.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 62 * MINDIFF (int) minimum number of character-positions in which 65 * MINUPPER (int) minimum number of upper-case characters 66 * MINLOWER (int) minimum number of lower-case characters 89 * default password-strength-values, compiled-in or stored in PWADMIN 127 defread_int(char *name, uint_t *ip, void *defp) in defread_int() argument 131 if ((q = defread_r(name, defp)) != NULL) { in defread_int() 134 "non-integer value for %s: %s. " in defread_int() 135 "Using default instead.", PWADMIN, name, q); in defread_int() 155 attrlist attr[2]; in get_passwd_defaults() local [all …]
|
/illumos-gate/usr/src/uts/common/io/xge/drv/ |
H A D | xge.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 28 * Copyright (c) 2002-2005 Neterion, Inc. 103 "far-end receiver\n"); in xge_xpak_alarm_log() 219 if (!lldev->is_initialized) { in xge_isr() 230 * Interrupt handler for transmit when MSI-X interrupt mechasnism is used 238 xgelldev_t *lldev = xge_hal_device_private(channel->devh); in xge_fifo_msix_isr() 240 if (!lldev->is_initialized) { in xge_fifo_msix_isr() 249 * Interrupt handler for receive when MSI-X interrupt mechasnism is used 257 xgelldev_t *lldev = xge_hal_device_private(channel->devh); in xge_ring_msix_isr() 259 if (!lldev->is_initialized) { in xge_ring_msix_isr() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fstyp/ |
H A D | fstyp.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 30 * University Copyright- Copyright (c) 1982, 1986, 1988 34 * University Acknowledgment- Portions of this document are derived from 66 nvlist_t *attr; member 93 static void pbits(FILE *out, const void *cp, const int max); 114 h->fd = fd; in fstyp_mod_init() 125 if (h->attr == NULL) { in fstyp_mod_fini() 126 nvlist_free(h->attr); in fstyp_mod_fini() 127 h->attr = NULL; in fstyp_mod_fini() 146 if (h->attr == NULL) { in fstyp_mod_get_attr() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_ldap.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 53 * /work -rw,intr,nosuid,noquota hosta:/export/work 59 * automountInformation: -rw,intr,nosuid,noquota hosta:/export/work 188 for (lkp = conf->lookups; lkp != NULL; lkp = lkp->next) { in init_ldap() 189 if (strcmp(lkp->service_name, "ldap") == 0) { in init_ldap() 206 " defaults", rc, (errorp && errorp->message ? in init_ldap() 207 errorp->message : "")); in init_ldap() 304 lp = &ldap_line[len - 1]; in getmapent_ldap() 306 *lp-- = '\0'; in getmapent_ldap() 311 (void) strncpy(ml->linebuf, ldap_line, LINESZ); in getmapent_ldap() [all …]
|
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-fifo.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 21 * Copyright (c) 2002-2006 Neterion, Inc. 24 #include "xgehal-fifo.h" 25 #include "xgehal-device.h" 50 /* pre-format HAL's TxDL's private */ in __hal_fifo_mempool_item_alloc() 51 txdl_priv->dma_offset = (char*)item - (char*)memblock; in __hal_fifo_mempool_item_alloc() 52 txdl_priv->dma_addr = dma_object->addr + txdl_priv->dma_offset; in __hal_fifo_mempool_item_alloc() 53 txdl_priv->dma_handle = dma_object->handle; in __hal_fifo_mempool_item_alloc() 54 txdl_priv->memblock = memblock; in __hal_fifo_mempool_item_alloc() 55 txdl_priv->first_txdp = (xge_hal_fifo_txd_t *)item; in __hal_fifo_mempool_item_alloc() [all …]
|
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg_lex.l | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 182 <TSTATE>attr { return ATTR; } 186 <TSTATE>security-flags { return SECFLAGS; } 193 <TSTATE>dedicated-cpu { return PSET; } 195 <TSTATE>capped-cpu { return PCAP; } 197 <TSTATE>capped-memory { return MCAP; } 208 <TSTATE>ip-type { return IPTYPE; } 209 <CSTATE>ip-type { return IPTYPE; } 229 <TSTATE>allowed-address { return ALLOWED_ADDRESS; } 230 <CSTATE>allowed-address { return ALLOWED_ADDRESS; } [all …]
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | SLPGetRefreshInterval.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 29 * the special service type service:directory-agent.sun, sent 38 #include <slp-internal.h> 47 void *collator = NULL; /* attr collation handle */ in SLPGetRefreshInterval() 48 int mr = 0; /* max results placeholder */ in SLPGetRefreshInterval() 49 unsigned short max = 0; /* max interval result cookie */ in SLPGetRefreshInterval() local 51 char hostname[MAXHOSTNAMELEN]; /* name of this host */ in SLPGetRefreshInterval() 60 hp->internal_call = SLP_TRUE; in SLPGetRefreshInterval() 62 /* scope is name of this host */ in SLPGetRefreshInterval() 67 "min-refresh-interval", in SLPGetRefreshInterval() [all …]
|
/illumos-gate/usr/src/head/rpcsvc/ |
H A D | nfs_acl.x | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 23 * Copyright 1994,2001-2003 Sun Microsystems, Inc. 98 struct nfsfattr attr; member 119 struct nfsfattr attr; member 134 * changed to match the min/max permissions mapping that the NFS 142 struct nfsfattr attr; member 165 const ACCESS2_LOOKUP = 0x2; /* lookup a name in a directory */ 173 struct nfsfattr attr; member 195 struct nfsfattr attr; member 215 post_op_attr attr; member [all …]
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getprojent.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 59 * beatles:100:The Beatles:john,paul,george,ringo::task.max-lwps= 72 ns_ldap_result_t *result = be->result; in _nss_ldap_proj2str() 73 char **name, **id, **descr, **attr; in _nss_ldap_proj2str() local 78 buflen = argp->buf.buflen; in _nss_ldap_proj2str() 80 if (argp->buf.result != NULL) { in _nss_ldap_proj2str() 82 if ((be->buffer = calloc(1, buflen)) == NULL) { in _nss_ldap_proj2str() 86 buffer = be->buffer; in _nss_ldap_proj2str() 88 buffer = argp->buf.buffer; in _nss_ldap_proj2str() 93 name = __ns_ldap_getAttr(result->entry, _PROJ_NAME); in _nss_ldap_proj2str() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ib/mgt/ |
H A D | sa_recs.h | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 31 * This file contains the definitions of the SA-specific records in IB spec 75 /* SA-Specific ClassPortinfo::CapabilityMask Bits: Table 152 */ 109 sm_nodeinfo_t NodeInfo; /* NodeInfo attr. contents */ 110 sm_nodedesc_t NodeDescription; /* NodeDesc attr. contents */ 134 sm_portinfo_t PortInfo; /* PortInfo attr. contents */ 222 sm_switchinfo_t SwitchInfo; /* SwitchInfo attr. contents */ 276 uint16_t Position :4; /* position field of attr */ 289 uint16_t Position :4; /* position field of attr */ 398 /* UTF-8 encoded service name */ [all …]
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_subr.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 68 p = s + strlen(s) - 1; in dtrace_xstr2desc() 72 p--; /* move backward until we find a delimiter */ in dtrace_xstr2desc() 81 * Set vlen to the length of the variable name and then in dtrace_xstr2desc() 83 * the name begins with a digit, interpret it using the in dtrace_xstr2desc() 88 vlen = (size_t)(q + len - v); in dtrace_xstr2desc() 89 len = (size_t)(v - q); in dtrace_xstr2desc() 97 vlen--; in dtrace_xstr2desc() 107 wlen = vlen - (w - v); in dtrace_xstr2desc() 115 if (yypcb != NULL && yypcb->pcb_sargv == argv) in dtrace_xstr2desc() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/cpc/ |
H A D | cpc.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 36 * Assume 64-bit kernel address max is 100000000000 - 1. 57 kcpc_attr_t *attr; in cpc() local 75 if (mdb_vread(&ctx, sizeof (ctx), addr) == -1) { in cpc() 80 if (mdb_vread(&set, sizeof (set), (uintptr_t)ctx.kc_set) == -1) { in cpc() 89 (uintptr_t)set.ks_req) == -1) { in cpc() 95 (uintptr_t)set.ks_data) == -1) { in cpc() 103 mdb_printf("-----------------------------------------------------------" in cpc() 104 "---------------------\n"); in cpc() 121 attr = mdb_alloc(reqs[i].kr_nattrs * sizeof (*attr), in cpc() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | bbc_beep.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 113 "BBC Beep Driver", /* Name of the module. */ 212 bbc_beeptr->bbc_beep_dip = dip; in bbc_beep_attach() 215 bbc_beeptr->bbc_beep_mode = BBC_BEEP_OFF; in bbc_beep_attach() 263 if (bbc_beeptr->bbc_beep_mode == BBC_BEEP_OFF) { in bbc_beep_detach() 299 *result = (void *)bbc_beeptr->bbc_beep_dip; in bbc_beep_info() 371 bbc_beeptr->bbc_beep_mode = BBC_BEEP_ON; in bbc_beep_on() 390 bbc_beeptr->bbc_beep_mode = BBC_BEEP_OFF; in bbc_beep_off() 401 * should be mapped into a non-cacheable portion of the system 407 ddi_device_acc_attr_t attr; in bbc_beep_map_regs() local [all …]
|