Lines Matching refs:tgt
178 struct ibft_tgt *tgt;
356 struct ibft_tgt *tgt = entry->tgt;
361 if (!tgt)
366 str += sprintf(str, "%d\n", tgt->hdr.index);
369 str += sprintf(str, "%d\n", tgt->hdr.flags);
372 str += sprintf_ipaddr(str, tgt->ip_addr);
375 str += sprintf(str, "%d\n", tgt->port);
379 str += sprintf(str, "%x", (u8)tgt->lun[i]);
383 str += sprintf(str, "%d\n", tgt->nic_assoc);
386 str += sprintf(str, "%d\n", tgt->chap_type);
389 str += sprintf_string(str, tgt->tgt_name_len,
390 (char *)ibft_loc + tgt->tgt_name_off);
393 str += sprintf_string(str, tgt->chap_name_len,
394 (char *)ibft_loc + tgt->chap_name_off);
397 str += sprintf_string(str, tgt->chap_secret_len,
398 (char *)ibft_loc + tgt->chap_secret_off);
401 str += sprintf_string(str, tgt->rev_chap_name_len,
403 tgt->rev_chap_name_off);
406 str += sprintf_string(str, tgt->rev_chap_secret_len,
408 tgt->rev_chap_secret_off);
529 struct ibft_tgt *tgt = entry->tgt;
543 if (tgt->tgt_name_len)
548 if (tgt->chap_name_len)
553 if (tgt->rev_chap_name_len)
678 sizeof(*ibft_kobj->tgt));