/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | tsort.c | 419 uint_t cnt, max = DYNINFOCNT(lmp); local 421 for (cnt = 0; cnt < max; cnt++, dip++) {
|
/illumos-gate/usr/src/cmd/krb5/klist/ |
H A D | klist.c | 59 #define GET_PROGNAME(x) max(max(strrchr((x), '/'), strrchr((x), '\\')) + 1,(x))
|
/illumos-gate/usr/src/ucblib/libucb/port/stdio/ |
H A D | doprnt.c | 96 #define MAXARGS 30 /* max. number of args for fast positional paramters */ 192 char buf[max(MAXDIGS, 1+max(MAXFCVT+MAXEXP, MAXECVT))];
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_nexus.c | 322 /* TODO: Set max read request to 4K */ 545 pi->nofldrxq = max(1, pi->nrxq / 4); 549 pi->nofldtxq = max(1, pi->ntxq / 2); 1161 " once (size %u, max %u, room %u).\n", 1473 uint_t cnt[SGE_NCOUNTERS] = {1, 8, 16, 32}; /* 63 max */ 1518 p->max_ntxq_10g = prop_lookup_int(sc, "max-ntxq-10G-port", 8); 1519 (void) ddi_prop_update_int(dev, dip, "max-ntxq-10G-port", 1522 p->max_nrxq_10g = prop_lookup_int(sc, "max-nrxq-10G-port", 8); 1523 (void) ddi_prop_update_int(dev, dip, "max-nrxq-10G-port", 1526 p->max_ntxq_1g = prop_lookup_int(sc, "max [all...] |
/illumos-gate/usr/src/uts/common/io/usb/scsa2usb/ |
H A D | usb_ms_bulkonly.c | 704 * then take the max of this residue and the residue 722 max(min(residue, cmd->cmd_xfercount), 726 max(min(residue, cmd->cmd_xfercount), 864 "get max lun failed, rval=%d cr=%d cb=0x%x data=0x%p",
|
/illumos-gate/usr/src/lib/libast/common/regex/ |
H A D | regnexec.c | 144 #define vector(t,v,i) (((i)<(v)->max)?(t*)((v)->vec+(i)*(v)->siz):(t*)vecseek(&(v),i)) 163 v->max = v->inc = inc; 174 if (index >= v->max) 176 while ((v->max += v->inc) <= index); 177 if (!(v = (Vector_t*)stkseek(v->stk, sizeof(Vector_t) + v->max * v->siz))) 601 if (strcmp((char*)ce->beg, (char*)elt) <= ce->min && strcmp((char*)elt, (char*)ce->end) <= ce->max) 605 if (strcmp((char*)ce->beg, (char*)elt) <= ce->min && strcmp((char*)elt, (char*)ce->end) <= ce->max && (iswlower(c) || !iswupper(c))) 609 if (strcmp((char*)ce->beg, (char*)elt) <= ce->min && strcmp((char*)elt, (char*)ce->end) <= ce->max && (iswupper(c) || !iswlower(c)))
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | DNSCommon.h | 96 extern mDNSu32 mDNSRandom(mDNSu32 max); // Returns pseudo-random result from zero to max inclusive 117 extern mDNSu32 TruncateUTF8ToLength(mDNSu8 *string, mDNSu32 length, mDNSu32 max);
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | mod.c | 94 topo_instance_t min, topo_instance_t max, void *notused1, void *notused2) 93 mod_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 D | pkg.c | 99 topo_instance_t min, topo_instance_t max, void *notused1, void *notused2) 98 pkg_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/ipmi/ |
H A D | ipmi_enum.c | 404 topo_instance_t min, topo_instance_t max, void *arg, void *unused) 403 ipmi_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/sun4v/dimm/ |
H A D | dimm_sun4v.c | 407 topo_instance_t min, topo_instance_t max, void *arg, void *notused) 406 dimm_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/niu/ |
H A D | niu.c | 49 #define XAUI_MAX 1 /* max number of XAUIs per niufn */ 350 topo_instance_t min, topo_instance_t max, void *arg, void *notused) 349 niu_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/gss_mechs/mech_krb5/krb5/krb/ |
H A D | walk_rtree.c | 97 #define max(x,y) ((x) > (y) ? (x) : (y)) macro
|
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_svm_util.c | 1213 * range of device names (0 <= n < max # of devices configured). 1942 * FUNCTION: get_max_number_of_devices(int *max) 1944 * OUTPUT: max - pointer to int to hold the configured maximum number 1957 int *max) 1961 *max = meta_get_nunits(&mderror); 1972 * FUNCTION: get_max_number_of_disksets(int *max) 1974 * OUTPUT: max - pointer to in to hold the configured maximum number 1987 int *max) 1991 *max = get_max_sets(&mderror); 1956 get_max_number_of_devices( int *max) argument 1986 get_max_number_of_disksets( int *max) argument
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | mail.h | 185 # define MAXFILENAME FILENAME_MAX /* max length of a filename */ 187 # define MAXFILENAME 512 /* max length of a filename */ 304 extern int getaline(char *ptr2line, int max, FILE *f);
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | hashserv.c | 439 e_code = max(e_code, ok);
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_opt_data.c | 293 * Bounds check: as per rfc2960, assoc max retr cannot 294 * exceed the sum of all individual path max retr's. 1464 int max; local 1476 max = *addrcnt; 1479 if (max == 1) { 1510 for (cnt = 0; cnt < max && fp != NULL; cnt++, fp = fp->sf_next) {
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | subr.c | 187 * define min/max as macros so drivers shouldn't need these functions. 197 max(int a, int b) function
|
/illumos-gate/usr/src/uts/i86pc/io/fipe/ |
H A D | fipe_pm.c | 397 int i, max, venid, devid, subvenid, subsysid; local 425 max = sizeof (fipe_pci_ioat_ids) / sizeof (fipe_pci_ioat_ids[0]); 426 for (i = 0; i < max; i++) { 437 if (i >= max) {
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_cfg.c | 316 cp->cp_num_qp_per_mcg = max(hermon_num_qp_per_mcg, 374 /* Determine WQE sizes from requested max SGLs */ 432 * Use requested maximum number of SGL to calculate the max descriptor 449 * Then use the calculated max descriptor size to determine the "real"
|
H A D | hermon_fm.c | 486 uint64_t offset, num, max, num_prealloc; local 648 max = num; 649 num_prealloc = max(devlim->num_rsvd_uar, 128); 662 entry_info.hwi_max = max;
|
/illumos-gate/usr/src/uts/common/io/sdcard/impl/ |
H A D | sda_mem.c | 359 rblen = max(rblen, 512); /* paranoia */
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/ |
H A D | usbser_keyspan.c | 164 USBSER_MAX_PKTSZ, /* max pkt size */ 261 max(usbser_soft_state_size(),
|
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | attribute.c | 254 return (PAPI_BAD_ARGUMENT); /* RANGE must have min <= max */ 532 char *name, int *min, int *max) 537 if ((min == NULL) || (max == NULL)) 544 *max = value->range.upper; 531 papiAttributeListGetRange(papi_attribute_t **list, void **iter, char *name, int *min, int *max) argument
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_ident.c | 634 uint_t min, uint_t max) 639 assert(min <= max); 652 dhp->dh_maxid = max; 633 dt_idhash_create(const char *name, const dt_ident_t *tmpl, uint_t min, uint_t max) argument
|