Searched refs:max (Results 151 - 175 of 603) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/projects/
H A Dprojects.c125 int max = 0; local
129 if ((len = strlen(pl->pl_name)) > max)
130 max = len;
131 return (max);
/illumos-gate/usr/src/cmd/hal/utils/
H A Dcdutils.h39 #define max(a, b) ((a) > (b) ? (a) : (b)) macro
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dhash.c259 int max = min; local
273 if (max < count) {
274 max = count;
285 printf(" Min/Max: %d in #%d, %d in #%d\n", min, minidx, max, maxidx);
/illumos-gate/usr/src/tools/ctf/stabs/common/
H A Dgenassym.c90 ga_parse_tokens(char *line, int max, char ***wret) argument
101 if (n > max)
111 ga_parse_common(char *line, int min, int max, char **w1, char **w2, char **w3) argument
120 if ((nread = ga_parse_tokens(line, max, wret)) < min)
/illumos-gate/usr/src/lib/pyzfs/common/
H A Dtable.py39 self.maxfieldlen[k] = max(self.maxfieldlen.get(k, None), v)
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_parse.c457 size_t cur, max; member in struct:prof_buf
465 if (b->max - b->cur < len) {
469 newsize = b->max + (b->max >> 1) + len + 1024;
476 b->max = newsize;
498 if (prof_buf.max - prof_buf.cur > (prof_buf.max >> 3)) {
/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/
H A Dline64.c552 int max, cur, len, gotsome; local
555 max = cur = gotsome = 0;
587 while ( cur + (len + 1) > max ) {
589 max += BUFSIZ;
590 buf = (char *) malloc( max );
592 max *= 2;
593 buf = (char *) realloc( buf, max );
/illumos-gate/usr/src/test/util-tests/tests/libnvpair_json/
H A Dprint_json.c98 parse_int(char *in, int64_t *val, int64_t min, int64_t max) argument
108 "range [%lld,%lld]\n", in, min, max);
116 if (t < min || t > max) {
118 "[%lld,%lld]\n", t, min, max);
127 parse_uint(char *in, uint64_t *val, uint64_t min, uint64_t max) argument
137 "range [%llu,%llu]\n", in, min, max);
145 if (t < min || t > max) {
147 "[%llu,%llu]\n", t, min, max);
262 #define DO_CMD_NUMBER(typ, nam, min, max, ptyp, func) \
267 if (func(argv[i], &val, min, max) !
[all...]
/illumos-gate/usr/src/cmd/msgfmt/
H A Dgnu_check.c49 int max = 0; local
108 if (ap >= max)
109 max = ap + 1;
134 if (ap >= max)
135 max = ap + 1;
260 if (arg >= max)
261 max = arg + 1;
269 for (arg = 0; arg < max; arg++) {
274 return (max);
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_idspace.c35 fmd_idspace_create(const char *name, id_t min, id_t max) argument
45 ASSERT(min >= 0 && max >= 0);
46 ASSERT(max >= min);
49 (void) fmd_conf_getprop(fmd.d_conf, "ids.max", &ids_max);
51 hashmax = max - min + 1;
65 ids->ids_maxid = max;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsendto_kdc.c132 #ifndef max
133 #define max(a,b) ((a) > (b) ? (a) : (b)) macro
135 char tmpbuf[max(NI_MAXHOST + NI_MAXSERV + 30, 200)];
620 dprint("selecting on max=%d sockets [%F] timeout %t\n",
622 out->max,
623 &out->rfds, &out->wfds, &out->xfds, out->max,
625 *sret = select(out->max, &out->rfds, &out->wfds, &out->xfds, timo);
640 dprint(":%F\n", &out->rfds, &out->wfds, &out->xfds, out->max);
856 if (selstate->max <= state->fd)
857 selstate->max
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_stripe.c53 int max,
63 uint16_t max,
199 * determine the min/max number of stripe components
688 * dlist_t *disks, uint16_t max, uint16_t min,
694 * max - maximum number of components allowed
708 * range min <= N <= max, more components are preferred.
714 * varies the number of components between 'max' and 'min'.
721 int max,
730 for (; (error == 0) && (*stripe == NULL) && (max >= min); max
717 compose_stripe( devconfig_t *request, uint64_t nbytes, dlist_t *disks, int max, int min, dlist_t *othervols, devconfig_t **stripe) argument
780 compose_stripe_within_hba( devconfig_t *request, dlist_t *hbas, uint64_t nbytes, uint16_t min, uint16_t max, devconfig_t **stripe) argument
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_mapping.c222 int i, max; local
255 max = 1;
258 max++;
263 *mapA = (char **)calloc(max+1, sizeof (char *));
620 int *cnt, int *max, ns_ldap_search_desc_t *ret)
626 *max = NS_SDESC_MAX;
628 calloc(*max, sizeof (ns_ldap_search_desc_t *));
631 } else if (*cnt+1 >= *max) {
632 *max += NS_SDESC_MAX;
635 *max * sizeo
619 __ns_ldap_saveSearchDesc(ns_ldap_search_desc_t ***sdlist, int *cnt, int *max, ns_ldap_search_desc_t *ret) argument
664 int cnt, max; local
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dremove.c301 uint_t cnt, max = DYNINFOCNT(lmp); local
303 for (cnt = 0; cnt < max; cnt++, dip++) {
458 uint_t cnt, max = DYNINFOCNT(clmp); local
460 for (cnt = 0; cnt < max; cnt++, dip++) {
666 uint_t cnt, max = DYNINFOCNT(lmp); local
668 for (cnt = 0; cnt < max; cnt++, dip++) {
711 uint_t cnt, max; local
739 max = DYNINFOCNT(lmp);
741 for (cnt = 0; cnt < max; cnt++, dip++) {
944 uint_t cnt, max local
1353 uint_t cnt, max; local
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dufn.c101 int max, i, err, scope = 0, phase, tries; local
169 i = 0, max = 0;
185 max = 8;
186 } else if ( i >= max ) {
188 dns, sizeof(char *) * 2 * max ))
195 max *= 2;
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dus3_common_mmu.c477 uint8_t i, j, max; local
492 for (i = mmu_page_sizes - 1, max = 0; i > 0; i--) {
493 if (sortcnt[i] > sortcnt[max])
494 max = i;
496 tmp_pgsz[j] = max;
497 sortcnt[max] = 0;
/illumos-gate/usr/src/cmd/plimit/
H A Dplimit.c471 set_one_limit(struct ps_prochandle *Pr, int which, rlim64_t cur, rlim64_t max) argument
489 max = rlim.rlim_max;
491 if (max < cur)
492 max = cur;
494 if (max > rlim.rlim_max && Pr != NULL)
497 rlim.rlim_max = max;
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/
H A Drpi.dts355 regulator-max-microvolt = <5000000>;
366 regulator-max-microvolt = <3300000>;
378 regulator-max-microvolt = <5000000>;
H A Drpi2.dts366 regulator-max-microvolt = <5000000>;
377 regulator-max-microvolt = <3300000>;
389 regulator-max-microvolt = <5000000>;
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_config.c689 int i, n, max; local
696 max = sasd_dev_count();
698 tip_save = tip = ndmp_malloc(sizeof (ndmp_device_info_v3) * max);
699 dcp_save = dcp = ndmp_malloc(sizeof (ndmp_device_capability_v3) * max);
700 envp_save = envp = ndmp_malloc(sizeof (ndmp_pval) * max * 3);
713 for (i = n = 0; i < max; i++) {
751 if (n == 0 || max <= 0) {
793 int i, n, max; local
800 max = sasd_dev_count();
801 sip_save = sip = ndmp_malloc(sizeof (ndmp_device_info_v3) * max);
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus.c619 topo_instance_t max)
648 (min == max) ? min : TRUST_BDF, 0);
656 topo_instance_t max, void *data)
672 if (min == max) {
694 (min == max) ? min : TRUST_BDF, 0);
704 topo_instance_t min, topo_instance_t max, void *notused, void *data)
729 retval = pcibus_enum(mod, ptn, pname, min, max, data);
731 retval = pciexbus_enum(mod, ptn, pname, min, max);
618 pciexbus_enum(topo_mod_t *mp, tnode_t *ptn, char *pnm, topo_instance_t min, topo_instance_t max) argument
655 pcibus_enum(topo_mod_t *mp, tnode_t *ptn, char *pnm, topo_instance_t min, topo_instance_t max, void *data) argument
703 pci_enum(topo_mod_t *mod, tnode_t *ptn, const char *name, topo_instance_t min, topo_instance_t max, void *notused, void *data) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Ddisp_major_status.c44 /* This code has knowledge of the min and max errors of each type
47 #define GSS_ERROR_STR(value, array, select, min, max, num) \
48 (((select(value) < (min)) || (select(value) > (max))) ? NULL : \
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dllib-lform118 dynamic_field_info(f, drows, dcols, max)
122 int *max;
126 set_max_field(f, max)
128 int max;
/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_sec_mechs.c57 /* the max number of fields processed per line */
196 intptr_t max; local
205 max = (intptr_t)op + n;
207 (intptr_t)dst < max)
211 if ((intptr_t)dst >= max)
292 * minimum number of fields expected. Arg maxflds is the max number
293 * of fields that will be parsed. Arg bufsiz is the max len of each
296 * If there are less fields in the entry than the max number,
771 const char *max = src + mechaliaslen; local
776 while (*src && src < max
805 const char *max = src + authtypelen; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Devent_port.c81 port_getn(int port, port_event_t list[], uint_t max, uint_t *nget, argument
89 r.r_vals = _portfs(PORT_GETN, port, (uintptr_t)list, max, *nget,
153 /* use chunks of max PORT_MAX_LIST elements per syscall */

Completed in 340 milliseconds

1234567891011>>