Searched defs:max (Results 51 - 75 of 348) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/pam_modules/passwd_auth/
H A Dpasswd_auth.c83 int max; local
272 max = al[2].data.val_i;
275 if (max != -1 && lstchg != 0) {
290 * users with min>max are not allowed to
293 if (min > max) {
/illumos-gate/usr/src/lib/print/libipp-core/common/
H A Dwrite.c231 max = (int32_t)htonl((int)(value->range).upper); local
238 if (iwrite(fd, &max, 4) != 4)
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_enclosure_ctl.c205 size_t len, max; local
217 max = sizeof (dummy.sspci_subenclosure_nickname);
218 if (len > max)
220 "maximum length %lu", nick, max));
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dlegacy_hc.c97 topo_instance_t min, topo_instance_t max, void *notused1, void *notused2)
96 legacy_hc_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused1, void *notused2) argument
H A Dzfs.c120 topo_instance_t max, void *notused1, void *notused2)
119 zfs_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused1, void *notused2) argument
/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_mptsas/
H A Dfac_prov_mptsas.c230 topo_instance_t min, topo_instance_t max, void *arg, void *unused)
229 fac_prov_mptsas_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *unused) argument
/illumos-gate/usr/src/lib/fm/topo/modules/common/xfp/
H A Dxfp.c205 topo_instance_t min, topo_instance_t max, void *notused, void *data)
204 xfp_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused, void *data) argument
/illumos-gate/usr/src/lib/fm/topo/modules/sun4u/chip/
H A Dchip_sun4u.c178 topo_instance_t min, topo_instance_t max, chip_t *chip)
269 topo_instance_t min, topo_instance_t max, void *arg, void *notused)
274 return (cpu_create(mod, rnode, name, min, max, chip));
177 cpu_create(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, chip_t *chip) argument
268 chip_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *notused) argument
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_pciexrc.c140 topo_instance_t max; local
155 max = PCIEX_MAX_DEVICE;
156 result = topo_node_range_create(mod, t_node, PCI_BUS, min, max);
168 min, max, NULL);
H A Dsun4vpi.c116 topo_instance_t min, topo_instance_t max, void *pi_private, void *data)
115 pi_enum(topo_mod_t *mod, tnode_t *t_parent, const char *name, topo_instance_t min, topo_instance_t max, void *pi_private, void *data) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dwalk_rtree.c97 #define max(x,y) ((x) > (y) ? (x) : (y)) macro
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dforeachaddr.c121 * max(sizeof(ifreq), sizeof(ifreq.ifr_name)+ifreq.ifr_addr.sa_len
126 #ifndef max
127 #define max(a,b) ((a) > (b) ? (a) : (b)) macro
129 #define ifreq_size(i) max(sizeof(struct ifreq),\
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DUARequester.java121 int max = config.getMaximumResults();
132 addUnique(serviceTypes, ret, max);
177 int max = config.getMaximumResults();
203 addUnique(serviceURLs, ret, max);
254 int max = config.getMaximumResults();
299 if (ret.size() > max) {
300 ret.setSize(max);
358 int max = config.getMaximumResults();
361 for (i = 0; i < n && ret.size() < max; i++) {
396 if (ret.size() >= max) {
575 addUnique(Vector incoming, Vector returns, int max) argument
[all...]
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dfield.c338 set_max_field(FIELD *f, int max) argument
342 if (!f || max && ((onerow && f->dcols > max) ||
343 (!onerow && f->drows > max)))
346 f->maxgrow = max;
349 if (!Opt(f, O_STATIC) && ((!max || onerow && f->dcols < max) ||
350 (!onerow && f->drows < max))) {
362 dynamic_field_info(FIELD *f, int *drows, int *dcols, int *max) argument
367 /* int *max; maximu
[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
77 if (min == NULL && max == NULL)
81 if (max == NULL)
88 if (str_to_label(max, &slp, MAC_LABEL, L_NO_CORRECTION, NULL) != 0)
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dstoa.c212 * if max = 0 : ignore max
216 xfer(char *dest, char *src, unsigned len, unsigned max) argument
218 if (max && dest && max < len) { /* No room */
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Ddns_sv.c190 int max = 0; local
239 if ((num + 1) >= max || !pvt->serv.s_aliases) {
240 max += 10;
242 max * sizeof(char *));
/illumos-gate/usr/src/cmd/valtools/
H A Dckitem.c56 static int max = 1; variable
67 "\t-m max #maximum choices user may select\n" \
174 max = atoi(optarg);
175 if (max > SHRT_MAX || max < SHRT_MIN) {
177 gettext("%s: ERROR: too large or too small max value specified\n"),
338 if (max < 1) {
341 mmax = max;
347 * even though 'max' is set to 1. So to take care of that problem, we
356 n = ckitem(mp, item, max, defl
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dannounce.c174 #define max(a, b) ((a) > (b) ? (a) : (b)) macro
195 * [3 wakeup chars + (lines * max chars/line) +
215 max_size = max(max_size, sizes[i]);
223 max_size = max(max_size, sizes[i]);
252 max_size = max(max_size, sizes[i]);
259 max_size = max(max_size, sizes[i]);
265 max_size = max(max_size, sizes[i]);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/
H A Dksslcfg_delete.c50 useconds_t max; local
55 max = DEFAULT_TIMEOUT;
60 max = (*cp) * 1000000; /* convert to usecs */
65 for (usecs = INIT_WAIT_USECS; max > 0; max -= usecs) {
68 usecs = (usecs > max) ? max : usecs;
/illumos-gate/usr/src/cmd/eqn/
H A Dio.c176 max(int i, int j) function
/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/cmd/format/
H A Dpartition.c77 uint64_t max; local
97 max = sec_no[1];
99 if (sec_no[0] > max) {
100 max = sec_no[0];
102 max = max;
105 if (max == 0)
106 max = 34;
107 return (max);
249 deflt = max(cur_part
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/showmount/
H A Dshowmount.c267 int max; local
284 max = 0;
286 if (strlen(e->ex_dir) > max) {
287 max = strlen(e->ex_dir);
291 printf("%-*s ", max, ex->ex_dir);
/illumos-gate/usr/src/cmd/sgs/yacc/common/
H A Dy4.c374 int i, max, maxi; local
375 max = 0;
378 if (ggreed[i] >= max) {
379 max = ggreed[i];
384 if (tystate[i] >= max) {
385 max = tystate[i];
389 (void) fprintf(ftable, "nxti = %d, max = %d\n", maxi, max);
390 if (max == 0)

Completed in 91 milliseconds

1234567891011>>