Searched defs:range (Results 1 - 25 of 93) sorted by relevance

1234

/illumos-gate/usr/src/lib/libbsm/common/
H A Dgetdevicerange.c38 * be used. If label range is not specified for the device in
49 blrange_t *range; local
52 if ((range = malloc(sizeof (blrange_t))) == NULL)
54 if ((range->lower_bound = blabel_alloc()) == NULL) {
55 free(range);
58 if ((range->upper_bound = blabel_alloc()) == NULL) {
59 blabel_free(range->lower_bound);
60 free(range);
66 * return its label range.
80 bsllow(range
[all...]
/illumos-gate/usr/src/lib/pam_modules/tsol_acct/
H A Dtsol_acct.c40 * Validates that the user's label range contains
62 m_range_t *range; local
101 if ((range = getuserrange(user)) == NULL) {
109 free_labels(range, NULL);
115 free_labels(range, plabel);
118 if (!blinrange(plabel, range)) {
119 free_labels(range, plabel);
123 free_labels(range, plabel);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_zip.c45 uint16_t range; local
152 range = get_short(&p[4]);
181 "Network number = %d-%d", net, range);
204 range = get_short(&p[4]);
/illumos-gate/usr/src/common/tsol/
H A Dblabel.c135 * be within a lower and upper bound (range).
138 * range = level range to compare against.
142 * Returns True if label is within the range,
149 blinrange(const m_label_t *label, const m_range_t *range) argument
151 return (BLDOMINATES((label), ((range)->lower_bound)) &&
152 BLDOMINATES(((range)->upper_bound), (label)));
160 _blinrange(const m_label_t *label, const brange_t *range) argument
162 return (BLINRANGE(label, range));
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Ddist.c36 * Divides the given range (inclusive at both endpoints) evenly into the given
38 * the range. The returned buckets will be automatically freed when the dcmd
182 * Print one distribution bucket whose range is from distarray[i] inclusive to
183 * distarray[i + 1] exclusive by totalling counts in that index range. The
185 * Each bucket is labeled by its range in the form "first-last" (omit "-last" if
186 * the range is a single value) where first and last are integers, and last is
187 * one less than the first value of the next bucket range. The bucket label is
196 int b; /* bucket range index */
203 char range[40]; local
221 (void) mdb_snprintf(range, sizeo
[all...]
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_sgettpent.c73 get_tn_sl_range(brange_t *range, char *min, char *max) argument
84 slp = &range->lower_bound;
87 slp = &range->upper_bound;
90 if (!bldominates(&range->upper_bound, &range->lower_bound))
163 * check label range
207 * label range
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dcollate.h82 m_collel_t *cindex, /* index to range table map */
83 *range; /* Range table */ member in struct:_m_cinfo
/illumos-gate/usr/src/common/lzma/
H A DLzmaDec.h52 UInt32 range, code; member in struct:__anon2033
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dippool_y.y83 %type <ipp> ipftree range addrlist
216 | range next addrlist { $1->ipn_next = $3; $$ = $1; }
217 | range next { $$ = $1; }
218 | range
285 range: addrmask { $$ = calloc(1, sizeof(*$$)); label
H A Dipnat_y.y107 %type <num> hexnumber compare range proto
647 | portspec range portspec { $$.pc = $2; $$.p1 = $1; $$.p2 = $3; }
769 range: label
811 { "range", IPNY_RANGE },
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dhist.c50 int range[2], incr, index2, indx= -1; local
89 range[++indx] = flag;
140 range[++flag] = (int)strtol(arg, (char**)0, 10);
142 range[flag] += (hist_max(hp)-1);
149 if((range[++flag] = location.hist_command) < 0)
155 /* set default starting range */
164 range[0] = flag;
168 if(range[0]<index2)
169 range[0] = index2;
171 /* set default termination range */
[all...]
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_ring.c225 * A variant on the above that checks for a given message within a range of
229 xhci_ring_trb_valid_range(xhci_ring_t *xrp, uint64_t dma, uint_t range) argument
235 VERIFY(range < xrp->xr_ntrb);
236 for (i = 0; i < range; i++) {
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_arg.c145 * Check to see if the user has supplied an lwp range. First,
305 proc_lwp_get_range(char *range, id_t *low, id_t *high) argument
307 if (*range == '-')
310 *low = (id_t)strtol(range, &range, 10);
312 if (*range == '\0' || *range == ',') {
316 if (*range != '-') {
319 range++;
321 if (*range
359 char *range = (char *)set; local
393 char *range = (char *)set; local
[all...]
/illumos-gate/usr/src/lib/libtsol/common/
H A Dmisc.c415 * getuserrange - get label range for user
431 m_range_t *range; local
438 if ((range = malloc(sizeof (m_range_t))) == NULL) {
441 if ((range->lower_bound = m_label_alloc(MAC_LABEL)) == NULL) {
442 free(range);
445 def_min = range->lower_bound;
446 if ((range->upper_bound = m_label_alloc(USER_CLEAR)) == NULL) {
447 m_label_free(range->lower_bound);
448 free(range);
451 def_clr = range
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dexpand.c278 char comma, range=0; local
286 range = comma = brace = 0;
346 range = 2;
367 range = 1;
413 if(range)
415 if(range==1)
462 if(!range)
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DDistribution.java37 * range known as a bucket and counts toward the frequency of that
39 * bucket's range always one less than the minimum of the next bucket's
40 * range. By convention each bucket is identified by the minimum of its
41 * range.
66 * values falling into that bucket's range; each element must be a
70 * does not have the expected range as defined by checkBucketRange()
92 * does not have the expected range as defined by checkBucketRange()
139 * Gets a two element array: the first elelemt is the range minimum
140 * (inclusive), the second element is the range maximum (inclusive).
168 long[] range; // tw
207 checkBucketRange(int i, Distribution.Bucket bucket, long[] range) argument
[all...]
/illumos-gate/usr/src/lib/libc/amd64/unwind/
H A Deh_frame.c87 uint64_t range = 0; local
146 range = _Unw_get_val(&data, reloc, SIZE, 1, 1, code_enc);
147 if ((ctx->pc < func) || (ctx->pc > (func+range)))
150 ctx->range = range;
365 * Invariant -- if there is a containing range,
376 /* Return fde if tpc is in this range. */
H A Dunwind_context.h51 uint64_t range; member in struct:_Unwind_Context
/illumos-gate/usr/src/cmd/diff/
H A Ddiffh.c63 static void range(long a, int b);
250 range(a, b);
252 range(c, d);
257 range(long a, int b) function
/illumos-gate/usr/src/lib/libc/port/gen/
H A Datexit.c195 * of the array range to SIG_DFL.
198 _preexec_sig_unload(Lc_addr_range_t range[], uint_t count) argument
212 in_range((void *)handler, range, count)) {
235 * the union of the ranges specified by the elements of the array range.
238 _preexec_atfork_unload(Lc_addr_range_t range[], uint_t count) argument
256 in_range((void *)func, range, count)) ||
258 in_range((void *)func, range, count)) ||
260 in_range((void *)func, range, count))) {
296 * the union of the ranges specified by the elements of the array range.
301 _preexec_tsd_unload(Lc_addr_range_t range[], uint_ argument
326 _preexec_exit_handlers(Lc_addr_range_t range[], uint_t count) argument
[all...]
/illumos-gate/usr/src/boot/sys/amd64/include/pc/
H A Dbios.h110 struct bios_oem_range range; member in struct:bios_oem
/illumos-gate/usr/src/uts/i86pc/vm/
H A Di86_mmu.c141 * Map the page tables that cover kmap into the allocated range.
545 * user range if we're on a user-space HAT.
564 * FLUSH_TLB_RANGE: invalidate the given range, including PCID_USER
569 mmu_flush_tlb(flush_tlb_type_t type, tlb_range_t *range) argument
575 ASSERT(range == NULL);
580 ASSERT(range == NULL);
585 mmu_flush_tlb_range(range->tr_va, TLB_RANGE_LEN(range),
586 LEVEL_SIZE(range->tr_level));
/illumos-gate/usr/src/cmd/zinject/
H A Dtranslate.c194 * Calculate the real range based on the type, level, and range given.
197 calculate_range(const char *dataset, err_type_t type, int level, char *range, argument
206 * Determine the numeric range from the string.
208 if (range == NULL) {
210 * If range is unspecified, set the range to [0,-1], which
220 record->zi_start = strtoull(range, &end, 10);
229 (void) fprintf(stderr, "invalid range '%s': must be "
230 "a numeric range o
332 translate_record(err_type_t type, const char *object, const char *range, int level, zinject_record_t *record, char *poolname, char *dataset) argument
[all...]
/illumos-gate/usr/src/cmd/modload/
H A Dplcysubr.c188 parse_minor_range(const char *range, minor_t *lo, minor_t *hi, char *type) argument
193 if (*range++ != '(')
197 tmp = strtoul(range, &p, 0);
366 /* Partial overlap, shrink range */
379 /* Split range? */
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_whatis.c46 const uintptr_t *range = r; local
49 if (el < range[0])
52 if ((el - range[0]) >= range[1])
75 uintptr_t range[2]; local
77 range[0] = base;
78 range[1] = size;
80 return (bsearch(range, w->w_addrs, w->w_naddrs, sizeof (*w->w_addrs),
86 * in the range [base, base+size).
117 * match in the range
[all...]

Completed in 224 milliseconds

1234