/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_mip.c | 169 static const char *get_desc(struct ext_desc table[], uint8_t type, int max) { argument 172 for (i = 0; i < max && table[i].type != type; i++) 189 int max) { 192 for (i = 0; i < max && table[i].type != type; i++) 187 get_interpreter(struct ext_dispatch table[], uint8_t type, int max) argument
|
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_stripe.c | 53 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/cmd/mailx/ |
H A D | fio.c | 46 static int getln(char *line, int max, FILE *f); 377 getln(char *line, int max, FILE *f) argument 383 ecp = cp + max - 1;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ufs/ |
H A D | ufs.c | 477 pbits(const uchar_t *cp, const int max, const int linelen) argument 483 for (i = 0; i < max; i++) { 487 while ((i + 1) < max && isset(cp, i+1))
|
/illumos-gate/usr/src/cmd/file/ |
H A D | magicutils.c | 1103 intmax_t max = 0; local 1136 if (cur <= INT_MAX && cur > max) { 1137 max = cur; 1141 return (max);
|
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | util.c | 304 * (min <= value <= max). 308 * min, max - If check_range is true, the allowed range that the 329 elfedit_atoi_range2(const char *str, elfedit_atoi_t min, elfedit_atoi_t max, argument 333 (*v >= min) && (*v <= max)); 337 elfedit_atoi_t min, elfedit_atoi_t max, const elfedit_atoi_sym_t *sym) 341 if ((v < min) || (v > max)) 343 item_name, EC_XWORD(min), EC_XWORD(max), EC_XWORD(v)); 348 elfedit_atoui_range2(const char *str, elfedit_atoui_t min, elfedit_atoui_t max, argument 352 (*v >= min) && (*v <= max)); 356 elfedit_atoui_t min, elfedit_atoui_t max, cons 336 elfedit_atoi_range(const char *str, const char *item_name, elfedit_atoi_t min, elfedit_atoi_t max, const elfedit_atoi_sym_t *sym) argument 355 elfedit_atoui_range(const char *str, const char *item_name, elfedit_atoui_t min, elfedit_atoui_t max, const elfedit_atoui_sym_t *sym) argument 367 elfedit_atoconst_range2(const char *str, elfedit_atoui_t min, elfedit_atoui_t max, elfedit_const_t const_type, elfedit_atoui_t *v) argument 374 elfedit_atoconst_range(const char *str, const char *item_name, elfedit_atoui_t min, elfedit_atoui_t max, elfedit_const_t const_type) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/ |
H A D | admin_cmds.c | 113 UINT32 avail, max; local 118 TSS_TPMCAP_PROP_MAXCONTEXTS, &max, sizeof (max))) 123 (void) printf(gettext("\tContexts: %d/%d available\n"), avail, max); 126 TSS_TPMCAP_PROP_MAXSESSIONS, &max, sizeof (max))) 131 (void) printf(gettext("\tSessions: %d/%d available\n"), avail, max); 134 TSS_TPMCAP_PROP_MAXAUTHSESSIONS, &max, sizeof (max))) 140 avail, max); [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/fstyp/ |
H A D | fstyp.c | 95 static void pbits(FILE *out, const void *cp, const int max); 624 pbits(FILE *fout, const void *p, const int max) argument 630 for (i = 0; i < max; i++) { 638 while ((i + 1) < max && isset(cp, i+1))
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | remove.c | 301 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...] |
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/uts/common/inet/ip/ |
H A D | ip_dce.c | 137 uint_t max = ipst->ips_ip_dce_reclaim_threshold; local 139 max *= ip_dce_reclaim_threshold_hard; 156 if (max == 0 || retained < max) { 629 * Update the round trip time estimate and/or the max frag size
|
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_mech_tabs.c | 170 int i, max; local 256 max = kcf_mech_tabs_tab[class].met_size; 258 for (i = 0; i < max; i++) {
|
/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/psm/stand/boot/common/ |
H A D | heap_kmem.c | 120 #define max(a, b) ((a) < (b)? (b): (a)) macro
|
/illumos-gate/usr/src/uts/common/net/ |
H A D | radix.h | 220 #ifndef max 221 #define max MAX macro
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_messages.h | 91 uint32_t max; member in struct:emlxs_msg_group
|
/illumos-gate/usr/src/uts/sun4u/starfire/os/ |
H A D | pda.c | 437 char *min, *max; local 446 max = (char *)base + nchunks * sizeof (MemChunk_t); 447 hi = max; 466 (hi = min += sizeof (MemChunk_t)) < max;) {
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | rmc_comm_dp.c | 732 int max; local 867 max = pkt->full_length - pkt->bufpos; 868 if (max > pkt->inbuflen) 869 max = pkt->inbuflen; 871 for (count = 0; count < max; count++) 889 if (count < max) { 1106 "mrecv process async msg len=%d, max=%d\n", 1140 "mrecv process reply len=%d, max=%d\n",
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | sw.c | 298 topo_instance_t min, topo_instance_t max, void *notused1, void *notused2) 297 sw_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 | topo_mod.c | 237 const char *name, topo_instance_t min, topo_instance_t max, void *data) 255 max, enum_mod->tm_priv, data); 236 topo_mod_enumerate(topo_mod_t *mod, tnode_t *node, const char *enum_name, const char *name, topo_instance_t min, topo_instance_t max, void *data) argument
|
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | authtok_check.c | 606 size_t pwlen, opwlen, max; local 612 max = pwdef->maxlength; 613 pwlen = MIN(strlen(pw), max); 614 opwlen = MIN(strlen(opw), max); 621 while (*opw != '\0' && *pw != '\0' && max-- != 0) {
|
/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/fm/topo/modules/common/pcibus/ |
H A D | pcibus.c | 619 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/fm/topo/modules/sun4v/platform-mem/ |
H A D | mem.c | 685 topo_instance_t min, topo_instance_t max, void *arg, void *notused) 684 mem_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/libsldap/common/ |
H A D | ns_mapping.c | 222 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...] |