Lines Matching refs:tgt

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