/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | syminfo.c | 41 const char *needed) 61 bndstr = needed; 67 bndstr = needed; 72 bndstr = needed; 118 if (bndstr == needed) { 40 Elf_syminfo_entry(Lm_list *lml, Word ndx, Syminfo *sip, const char *name, const char *needed) argument
|
H A D | syms.c | 593 const char *needed; local 601 needed = strtab + dyn[sip->si_boundto].d_un.d_val; 603 needed = 0; 606 Dbg_demangle_name(strtab + sym->st_name), needed);
|
/illumos-gate/usr/src/cmd/sendmail/db/db/ |
H A D | db_overflow.c | 92 u_int32_t curoff, needed, start; local 104 needed = dbt->dlen; 107 needed = tlen; 112 if (needed > dbt->ulen) { 113 dbt->size = needed; 118 __os_malloc(needed, dbp->db_malloc, &dbt->data)) != 0) 120 } else if (*bpsz == 0 || *bpsz < needed) { 121 if ((ret = __os_realloc(bpp, needed)) != 0) 123 *bpsz = needed; 132 dbt->size = needed; [all...] |
/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/ |
H A D | kctl_main.c | 173 size_t needed; local 181 needed = P2ROUNDUP(kctl.kctl_memgoalsz <= kctl.kctl_dseg_size ? 0 : 184 if (needed == 0) 187 if ((base = kmem_zalloc(needed, KM_NOSLEEP)) == NULL) { 193 (ulong_t)needed); 195 base = kmem_zalloc(needed, KM_SLEEP); 198 kdi_dvec->dv_memavail(base, needed); 200 kctl.kctl_mrsize = needed;
|
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_put.c | 92 u_int32_t data_size, have_bytes, need_bytes, needed; local 158 needed = 0; 162 needed += BOVERFLOW_PSIZE; 164 needed += BKEYDATA_PSIZE(key->size); 166 needed += BOVERFLOW_PSIZE; 168 needed += BKEYDATA_PSIZE(data_size); 192 needed += need_bytes - have_bytes; 203 if (P_FREESPACE(h) < needed ||
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | auxprop.c | 155 * estimate -- an estimate of the storage needed for requests & responses 511 * returns 0 on success and amount of additional space needed on failure 516 unsigned needed, flag = 0; local 524 needed = seplen * (ctx->used_values - 1); 526 needed += strlen(val->name); 529 if(!outmax) return (needed + 1); /* Because of unsigned funkiness */ 530 if(needed > (outmax - 1)) return (needed - (outmax - 1)); 533 if(outlen) *outlen = needed; 535 if(needed 612 size_t needed; local 655 size_t needed; local 717 size_t needed; local [all...] |
H A D | common.c | 1124 case SASL_CONTINUE: s = gettext("another step is needed in authentication"); 1162 case SASL_ENCRYPT: s = gettext("encryption needed to use mechanism"); 1180 case SASL_NOCHANGE: s = gettext("requested change was not needed"); 1218 case SASL_CONTINUE: return "another step is needed in authentication"; 1238 case SASL_ENCRYPT: return "encryption needed to use mechanism"; 1247 case SASL_NOCHANGE: return "requested change was not needed"; 2192 size_t needed = 2*(*curlen); local 2194 while(needed < newlen) 2195 needed *= 2; 2197 *rwbuf = sasl_REALLOC(*rwbuf, needed); [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_subr.c | 577 int needed, rval; local 603 if ((needed = vsnprintf(NULL, 0, format, ap)) < 0) { 609 if (needed == 0) { 620 if (needed + 1 < avail) 640 dtp->dt_buffered_offs += needed;
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | cplmatch.c | 137 * Encapsulate the formatting information needed to layout a 143 int ncol; /* The number of columns needed */ 144 int nline; /* The number of lines needed */ 212 * if needed. 317 int needed = cpl->matches_dim + STR_BLK_FACT; local 319 sizeof(cpl->result.matches[0]) * needed); 327 cpl->matches_dim = needed; 1078 * How many lines of output will be needed?
|
H A D | pcache.c | 147 * PathCache objects encapsulate the resources needed to record 569 * directories, expanding tilde home-directory expressions where needed. 742 * This will be extended later if needed. 930 int needed = mem->files_dim + FILES_BLK_FACT; local 931 char **files = (char **) realloc(mem->files, sizeof(*mem->files)*needed); 939 mem->files_dim = needed; 1063 * escape characters if needed. 1303 * If needed, make a copy of the file-name being matched, with 1367 * adding backslash escapes if needed. 1389 * have matching prefixes. First, if needed, mak [all...] |
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet_sundry.c | 317 * Builds the interface cache. Write lock on iflock is needed 328 size_t needed; local 347 needed = (numifs + 4) * sizeof (struct lifreq); 349 buf = malloc(needed); 351 buf = realloc(buf, needed); 359 lifc.lifc_len = needed;
|
H A D | netdir_inet.c | 346 * inetdir_free()) is needed only in NETDIR_BY 350 * Early return protection is not needed in 354 * Early return protection is not needed in most 1236 * in sync (except that case NSS_NISSERVDNS_TRYAGAIN is not needed in 2553 size_t needed; local 2573 needed = (numifs + 4) * sizeof (lifreq); 2575 buf = malloc(needed); 2577 buf = realloc(buf, needed); 2585 lifc.lifc_len = needed;
|
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | syminfo.c | 53 * We supply this function for the msg module. Only one copy is needed. 93 SYMINFO_OPT_F_NEEDED = 4, /* -needed: arg is name of object to */ 152 * access any other sections needed. 203 * argstate_add_XXX() functions is used as needed to fetch the 210 * If the needed auxiliary section is not found, an error is 279 const char *needed = NULL, *name; local 288 needed = elfedit_offset_to_str(argstate->str.sec, 292 needed = MSG_ORIG(MSG_STR_EMPTY); 294 Elf_syminfo_entry(0, ndx, syminfo, name, needed); 714 * If -needed optio [all...] |
/illumos-gate/usr/src/lib/libsasl/plugin/ |
H A D | plugin_common.c | 302 unsigned needed = 2*(*curlen); local 304 size_t needed = 2*(*curlen); 307 while(needed < newlen) 308 needed *= 2; 310 *rwbuf = utils->realloc(*rwbuf, needed); 316 *curlen = needed;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | if.c | 55 * start with a size of hash_table_sizes[0], and increase as needed. 1033 size_t needed; local 1076 * When calculating the buffer size needed, add a small number 1083 needed = (lifn.lifn_count + 4) * sizeof (struct lifreq); 1084 if (needed > lastneeded || needed < lastneeded/2) { 1087 if ((buf = malloc(needed)) == NULL) { 1096 lastneeded = needed; 1101 lifc.lifc_len = needed; 1118 * case go back and recalculate needed [all...] |
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | tree.h | 246 int needed; member in struct:node::__anon457::__anon464
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_dir.c | 113 * is a directory. This is needed for dnlc_dir_start() which will immediately 477 * the fbp. XXX - is this still needed? 644 struct vattr *vap, /* attributes if new inode needed */ 1028 int needed; local 1240 needed = (int)LDIRSIZ(namlen); 1342 if (size >= needed) { 1999 * Adjust directory size, if needed. This should never
|
/illumos-gate/usr/src/uts/common/io/i40e/ |
H A D | i40e_main.c | 62 * i40e_osdep.[ch]: These files contain interfaces and definitions needed to 797 uint16_t needed; local 806 &needed, i40e_aqc_opc_list_func_capabilities, NULL); 811 if (nelems == needed) { 816 len = needed;
|
/illumos-gate/usr/src/lib/libdscfg/common/ |
H A D | cfg.c | 407 int needed; local 498 needed = cfg_get_item(&chead[0], section, itemp); 501 if (needed == pos) { 2915 long needed; local 2988 needed = FBA_NUM(FBA_SIZE(1) - 1 + 2991 needed = 0; 2994 if (cfp->cf_size < needed) { 3277 int needed; local 3288 needed = sortby.offset; 3292 if (needed [all...] |
/illumos-gate/usr/src/cmd/praudit/ |
H A D | format.c | 113 * Print a newline, if needed according to various formatting 145 * First if needed do an implicit finish of a pending open for an 197 * Do an implicit close of a record when needed. 2700 * : as needed. 3087 size_t needed; local 3102 needed = strlen(s) + strlen(what) + 1; 3103 if (*alloc < needed) { 3104 newstr = realloc(s, needed); 3108 *alloc = needed;
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | files.c | 1808 * needed name, or via a runpath. In addition runpaths may also specify the 2121 const char *soname, *needed; local 2146 * Now look for any needed dependencies (which may use the rpath) 2165 if ((needed = str + (size_t)dyn->d_un.d_val) == NULL) 2169 * Determine if this needed entry is already recorded on 2170 * the shared object needed list, if not create a new 2173 needed = expand(ifl->ifl_name, needed, NULL); 2175 if ((sdf = sdf_find(needed, ofl->ofl_soneed)) == NULL) { 2176 if ((sdf = sdf_add(needed, [all...] |
H A D | syms.c | 1139 * - count the number of global needed symbols together with the size of 1154 ofl_flag_t undef = 0, needed = 0, verdesc = 0; local 1212 needed = FLG_OF_FATAL; 1215 needed = FLG_OF_WARN; 1269 * not needed. 1420 * information indicate what version of the needed shared object 1456 if (needed && !undeferr && (sdp->sd_flags & FLG_SY_GLOBREF) && 1459 sym_undef_entry(ofl, sdp, IMPLICIT, needed, 1461 if (needed == FLG_OF_FATAL) 1769 * If we're required to record any needed dependencie [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | cryptmod.c | 323 * Calculate exactly how much space is needed in front 732 * This is needed to derive keys for use with 3DES/SHA1-HMAC 1775 * needed for RCMD V2 mode. There should also be room 2011 * needed for RCMD V2 mode. There should also be room 2245 * needed for RCMD V2 mode. There should also be room 2988 * Calculate how much space is needed in front of 3011 * headspace includes the length fields needed 3157 * the CRYPTIOCSTOP and CRYPTIOCSTART ioctls, the service routine is needed. 3576 size_t needed; local 3580 needed [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev.c | 1666 * maintained; it's only computed when needed, typically to 2119 * Determine if resilver is needed, and if so the txg range. 2124 boolean_t needed = B_FALSE; local 2135 needed = B_TRUE; 2146 needed = B_TRUE; 2151 if (needed && minp) { 2155 return (needed); 3090 * much less locking, and are often needed for administrative actions.
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | adapter.h | 239 #define FL_RUNNING_LOW(fl) (fl->cap - fl->needed <= fl->lowat) 240 #define FL_NOT_RUNNING_LOW(fl) (fl->cap - fl->needed >= 2 * fl->lowat) 256 uint32_t needed; /* # of buffers needed to fill up fl. */ member in struct:sge_fl
|