Lines Matching defs:tgt
176 struct ibft_tgt *tgt;
354 struct ibft_tgt *tgt = entry->tgt;
359 if (!tgt)
364 str += sprintf(str, "%d\n", tgt->hdr.index);
367 str += sprintf(str, "%d\n", tgt->hdr.flags);
370 str += sprintf_ipaddr(str, tgt->ip_addr);
373 str += sprintf(str, "%d\n", tgt->port);
377 str += sprintf(str, "%x", (u8)tgt->lun[i]);
381 str += sprintf(str, "%d\n", tgt->nic_assoc);
384 str += sprintf(str, "%d\n", tgt->chap_type);
387 str += sprintf_string(str, tgt->tgt_name_len,
388 (char *)ibft_loc + tgt->tgt_name_off);
391 str += sprintf_string(str, tgt->chap_name_len,
392 (char *)ibft_loc + tgt->chap_name_off);
395 str += sprintf_string(str, tgt->chap_secret_len,
396 (char *)ibft_loc + tgt->chap_secret_off);
399 str += sprintf_string(str, tgt->rev_chap_name_len,
401 tgt->rev_chap_name_off);
404 str += sprintf_string(str, tgt->rev_chap_secret_len,
406 tgt->rev_chap_secret_off);
527 struct ibft_tgt *tgt = entry->tgt;
541 if (tgt->tgt_name_len)
546 if (tgt->chap_name_len)
551 if (tgt->rev_chap_name_len)
676 sizeof(*ibft_kobj->tgt));