Searched refs:ntgts (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libsuri/common/
H A Dsuri_iscsi.c386 * Allocate a buffer for SendTargets inquiry. 'ntgts' is the number of target
391 allocate_send_targets_buf(struct suri_handle *sh, int ntgts, argument
398 assert(ntgts > 0);
402 ((ntgts - 1) * sizeof (iscsi_sendtgts_entry_t));
411 (*hdr)->stl_in_cnt = ntgts;
435 int i, ntgts, fd; local
441 ntgts = SENDTGTS_DEFAULT_NUM_TARGETS;
451 ret = allocate_send_targets_buf(sh, ntgts, props, &stl_hdr);
492 ntgts = stl_hdr->stl_out_cnt;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgc_frm_kdc.c100 unsigned int ntgts; member in struct:tr_state
467 assert(ts->ntgts > 0);
475 /* assert(ts->nxt_tgt == ts->kdc_tgts[ts->ntgts-1]); */
544 ts->kdc_tgts[--ts->ntgts] = NULL;
573 &ltgtq, &ts->kdc_tgts[ts->ntgts++]);
575 ts->ntgts--;
580 ts->nxt_tgt = ts->kdc_tgts[ts->ntgts-1];
825 if (ts->ntgts == 0) {
941 for (i = 0; i < ts->ntgts; i++) {

Completed in 1198 milliseconds