Lines Matching defs:tgt
176 struct ibft_tgt *tgt;
357 struct ibft_tgt *tgt = entry->tgt;
362 if (!tgt)
367 str += sprintf(str, "%d\n", tgt->hdr.index);
370 str += sprintf(str, "%d\n", tgt->hdr.flags);
373 str += sprintf_ipaddr(str, tgt->ip_addr);
376 str += sprintf(str, "%d\n", tgt->port);
380 str += sprintf(str, "%x", (u8)tgt->lun[i]);
384 str += sprintf(str, "%d\n", tgt->nic_assoc);
387 str += sprintf(str, "%d\n", tgt->chap_type);
390 str += sprintf_string(str, tgt->tgt_name_len,
391 (char *)ibft_loc + tgt->tgt_name_off);
394 str += sprintf_string(str, tgt->chap_name_len,
395 (char *)ibft_loc + tgt->chap_name_off);
398 str += sprintf_string(str, tgt->chap_secret_len,
399 (char *)ibft_loc + tgt->chap_secret_off);
402 str += sprintf_string(str, tgt->rev_chap_name_len,
404 tgt->rev_chap_name_off);
407 str += sprintf_string(str, tgt->rev_chap_secret_len,
409 tgt->rev_chap_secret_off);
530 struct ibft_tgt *tgt = entry->tgt;
544 if (tgt->tgt_name_len)
549 if (tgt->chap_name_len)
554 if (tgt->rev_chap_name_len)
679 sizeof(*ibft_kobj->tgt));