Home
last modified time | relevance | path

Searched +full:in +full:- +full:and +full:- +full:around (Results 1 – 25 of 1063) sorted by relevance

12345678910>>...43

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cache/
H A Dcache_012_pos.ksh1 #!/bin/ksh -p
5 # This file and its contents are supplied under the terms of the
6 # Common Development and Distribution License ("CDDL"), version 1.0.
7 # You may only use this file in accordance with the terms of version
26 # Looping around a cache device with l2arc_write_size exceeding
32 # 3. Create a file larger than the cache device and random read
40 # 9. If (6) <= (8) then we have not looped around yet.
41 # 10. If (6) > (8) then we looped around. Break out of the loop and test.
47 log_assert "Looping around a cache device succeeds."
83 log_must truncate -s $VCACHE_SZ $VCACHE
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.integer_overflow.ksh1 #!/bin/ksh -p
3 # This file and its contents are supplied under the terms of the
4 # Common Development and Distribution License ("CDDL"), version 1.0.
5 # You may only use this file in accordance with the terms of version
21 # Overflowing a 64-bit integer should wrap around.
26 log_assert "overflowing a 64-bit integer should wrap around"
28 log_must_program $TESTPOOL - <<-EOF
29 assert(18446744073709551615 + 1 == (-18446744073709551616))
32 log_pass "overflowing a 64-bit integer should wrap around"
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_tlist.c5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
23 * Copyright (c) 1999-2000 by Sun Microsystems, Inc.
31 * - addition of node to the end of the list
32 * - atomic deletion of node anywhere in list
33 * - get and remove node from head of list
34 * - enable/disable of timeout feature
[all …]
/illumos-gate/usr/src/cmd/head/
H A Dhead.c5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
31 * University Copyright- Copyright (c) 1982, 1986, 1988
35 * University Acknowledgment- Portions of this document are derived from
36 * software developed by the University of California, Berkeley, and its
61 * head - give the first few lines of a stream or of each of a set of files.
68 int around = 0; in main() local
[all …]
/illumos-gate/usr/src/lib/libwrap/
H A Dworkarounds.c8 * around library functions and system calls that are known to have problems
22 #include <netinet/in.h>
36 * Result: long hostnames would be truncated, and connections would be
45 /* In case not defined in <sys/param.h>. */
73 * With some System-V versions, the fgets() library function does not
77 * The following code works around the problem. It does no harm on "normal"
98 len--;
119 * With early SunOS 5 versions, recvfrom() does not completely fill in the
120 * source address structure when doing a non-destructive read. The following
121 * code works around the problem. It does no harm on "normal" systems.
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dsignal.sh4 # Copyright (c) 1982-2012 AT&T Intellectual Property #
5 # and is licensed under the #
10 # http://www.eclipse.org/org/documents/epl-v10.html #
13 # Information and Software Systems Research #
22 print -u2 -n "\t"
23 print -u2 -r ${Command}[$1]: "${@:2}"
31 tmp=$(mktemp -dt) || { err_exit mktemp -dt failed; exit 1; }
32 trap "cd /; rm -rf $tmp" EXIT
37 typeset -A SIG
38 for s in $(kill -l)
[all …]
/illumos-gate/usr/src/man/man7/
H A Dtbl.76 .\" Permission to use, copy, modify, and distribute this software for any
8 .\" copyright notice and this permission notice appear in all copies.
10 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
48 lines, and ends with a
51 All input must be 7-bit ASCII.
54 case-insensitive options separated by spaces, tabs, or commas.
60 Some of them require arguments enclosed in parentheses:
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/bitfields/
H A Dtst.bitfields.ksh4 # This file and its contents are supplied under the terms of the
5 # Common Development and Distribution License ("CDDL"), version 1.0.
6 # You may only use this file in accordance with the terms of version
19 # This test acts as a series of regression tests in DTrace around
20 # printing bitfields that are byte sized at non-byte aligned offsets and
21 # around printing fields that are less than a byte in size, but due to their
22 # offset, cross a byte boundary (e.g. a 5-bit bitfield that starts at
28 # in probe context to extract a bitfield value.
29 # o The print() action which grabs the larger chunk of memory and then
30 # processes it all in userland.
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dheap.c2 * Copyright (c) 2000-2001, 2004 Sendmail, Inc. and its suppliers.
5 * By using this file, you agree to the terms and conditions set
6 * forth in the LICENSE file which can be found at the top level of
44 "@(#)$Debug: sm_check_heap - check sm_malloc, sm_realloc, sm_free calls $");
63 ** says so in the C standard): it can return NULL or non-NULL. We
66 ** two choices: "size = 1" or "return NULL". We use the former in the
69 ** behaviour of the platform and either use this hack or just
76 ** SM_MALLOC_X -- wrapper around malloc(), raises an exception on error.
79 ** size -- size of requested memory.
85 ** sm_malloc_x only gets called from source files in which heap
[all …]
/illumos-gate/usr/src/prototypes/
H A Dprototype.man12 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
16 .\" Here and in other places "COMMAND" and "command" are place holders
25 .\" Each of the following lines should use the Fl and Ar options to
26 .\" indicate the set of supported options and flags. There should be one
27 .\" option and argument per line. If there are independent ways of
28 .\" invoking the command or independent sub-commands ala zfs(8) or
29 .\" dladm(8), there should be a fresh '.Nm' to indicate that and the
30 .\" sub-command should use .Cm.
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Ddisplay.c5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
31 * University Copyright- Copyright (c) 1982, 1986, 1988
35 * University Acknowledgment- Portions of this document are derived from
36 * software developed by the University of California, Berkeley, and its
41 * The window 'manager', initializes curses and handles the actual
59 * a argument of the form --foo at least once.
[all …]
/illumos-gate/usr/src/cmd/sgs/librtld_db/amd64/
H A Dplt64_resolution.c5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
42 * The first time around GOT[N] contains address of pushq; this forces
44 * The nth time around, the GOT[N] actually contains the resolved
58 rpi->pi_flags = 0; in plt64_resolution()
59 rpi->pi_baddr = 0; in plt64_resolution()
62 pltoff = pc - pltbase; in plt64_resolution()
[all …]
/illumos-gate/usr/src/man/man9f/
H A Dmt-streams.9f3 … the terms of the Common Development and Distribution License (the "License"). You may not use th…
4 …icensing. See the License for the specific language governing permissions and limitations under t…
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License f…
6 .TH MT-STREAMS 9F "May 5, 2009"
8 mt-streams \- STREAMS multithreading
18 field in the \fBcb_ops\fR structure (see \fBcb_ops\fR(9S)). The corresponding
19 field for \fBSTREAMS \fRmodules is the \fBf_flag\fR in the \fBfmodsw\fR
23 For the purpose of restricting and controlling the concurrency in
24 drivers/modules, we define the concepts of \fBinner\fR and \fBouter
26 to have only an inner or an outer perimeter, or to have both an inner and an
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dclock_impl.h5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
23 * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
40 * Default clock rate in Hz.
45 * Thresholds over which we switch between event and cyclic driven lbolt. The
46 * current default values were derived experimentally and will keep the
47 * system on event driven mode when idle and respond to activity around the
[all …]
H A Ddoor_data.h5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
48 caddr_t dl_sp; /* final stack pointer (non-biased) */
59 * Per-thread data associated with door invocations. Each door invocation
60 * effects the client structure of one thread and the server structure of
74 uchar_t d_hold; /* Thread needs to stick around */
89 uchar_t d_hold; /* Thread needs to stick around */
[all …]
/illumos-gate/usr/src/cmd/fs.d/dev/
H A Dmount.c5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
77 "%s usage:\n%s [-F %s] [-r] [-o specific_options]" in usage()
78 " {special | mount_point}\n%s [-F %s] [-r] [-o specific_options]" in usage()
133 (void) fprintf(stderr, gettext("%s: %s read-only " in do_mount()
147 return (-1); in do_mount()
154 * Wrapper around strdup().
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dip_cksum.c5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
45 * This routine is very heavily used in the network
46 * code and should be modified for each CPU to be as fast as possible.
49 #define mp_len(mp) ((mp)->b_wptr - (mp)->b_rptr)
54 * integer and pointer.
63 * XXX - This is just a hack for testing purpose. Don't use it for
[all …]
H A Dvm_pageout.c5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
37 * University Copyright- Copyright (c) 1982, 1986, 1988
41 * University Acknowledgment- Portions of this document are derived from
42 * software developed by the University of California, Berkeley, and its
81 * pages and inform the rate of paging out of memory to swap. These threshold
82 * values, and the behaviour they induce, are described below in descending
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A DREADME4 Common Development and Distribution License (the "License").
5 You may not use this file except in compliance with the License.
10 and limitations under the License.
12 When distributing Covered Code, include this CDDL HEADER in each
13 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
30 compliant with RFCs 2131, 3315, and others. The major forces shaping
42 state-machine, as shown in RFC2131. However, when a DHCP agent is
46 This can be resolved using threads or with an event-driven model.
48 machine, the event-driven model is the closest match.
50 While tried-and-true, that model is subtle and easy to get wrong.
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dnfold.c17 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
18 * distribute this software and its documentation for any purpose and
20 * notice appear in all copies and that both that copyright notice and
21 * this permission notice appear in supporting documentation, and that
22 * the name of FundsXpress. not be used in advertising or publicity pertaining
28 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
30 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
33 #include "k5-int.h"
36 * Solaris Kerberos defines memory management macros in <krb5.h>,
37 * which is included by <k5-int.h>, so we need not include <memory.h>
[all …]
/illumos-gate/usr/src/tools/
H A DMakefile.tools5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
22 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
33 TOOLS_PROTO= $(TOOLS)/proto/root_$(MACH)-nd
54 CPPFLAGS= -D_TS_ERRNO
57 LDFLAGS= $(MAPFILE.NES:%=-Wl,-M%) $(MAPFILE.NED:%=-Wl,-M%) \
58 $(MAPFILE.PGA:%=-Wl,-M%) \
[all …]
/illumos-gate/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_tlist.h5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
23 * Copyright (c) 1999-2000 by Sun Microsystems, Inc.
34 * - addition of node to the end of the list
35 * - atomic deletion of node anywhere in list
36 * - get and remove node from head of list
37 * - enable/disable of timeout feature
[all …]
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_utf8.c5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
28 * UTF-8 encoded Unicode parsing routines. For efficiency, we convert
32 * slp_utf_strchr: same semantics as strchr, but handles UTF-8 strings
33 * slp_fold_space: folds white space around and in between works;
34 * handles UTF-8 strings
36 * space and attempts locale-specific
[all …]
/illumos-gate/usr/src/cmd/mail/
H A Dcksaved.c5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
27 * cksaved - check for an orphaned save file
33 * cksaved() looks to see if there is a saved-mail file sitting
34 * around which should be reinstated. These files should be sitting
35 * around only in the case of a crash during rewriting a mail message.
/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_tools_4u.c5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
43 * surface. The larger the number of bridges and switches, the larger the
49 * ontrap protection and usually come in first. Fabric errors can come in
64 * number is high, given enough bridges and switches in the device path, this
77 /* Mechanism for getting offsets of smaller datatypes aligned in 64 bit long */
86 * Safe C wrapper around assy language routine px_phys_peek_4u
[all …]

12345678910>>...43