Lines Matching refs:tgt

177 		struct ibft_tgt *tgt;  member
355 struct ibft_tgt *tgt = entry->tgt; in ibft_attr_show_target() local
360 if (!tgt) in ibft_attr_show_target()
365 str += sprintf(str, "%d\n", tgt->hdr.index); in ibft_attr_show_target()
368 str += sprintf(str, "%d\n", tgt->hdr.flags); in ibft_attr_show_target()
371 str += sprintf_ipaddr(str, tgt->ip_addr); in ibft_attr_show_target()
374 str += sprintf(str, "%d\n", tgt->port); in ibft_attr_show_target()
378 str += sprintf(str, "%x", (u8)tgt->lun[i]); in ibft_attr_show_target()
382 str += sprintf(str, "%d\n", tgt->nic_assoc); in ibft_attr_show_target()
385 str += sprintf(str, "%d\n", tgt->chap_type); in ibft_attr_show_target()
388 str += sprintf_string(str, tgt->tgt_name_len, in ibft_attr_show_target()
389 (char *)ibft_loc + tgt->tgt_name_off); in ibft_attr_show_target()
392 str += sprintf_string(str, tgt->chap_name_len, in ibft_attr_show_target()
393 (char *)ibft_loc + tgt->chap_name_off); in ibft_attr_show_target()
396 str += sprintf_string(str, tgt->chap_secret_len, in ibft_attr_show_target()
397 (char *)ibft_loc + tgt->chap_secret_off); in ibft_attr_show_target()
400 str += sprintf_string(str, tgt->rev_chap_name_len, in ibft_attr_show_target()
402 tgt->rev_chap_name_off); in ibft_attr_show_target()
405 str += sprintf_string(str, tgt->rev_chap_secret_len, in ibft_attr_show_target()
407 tgt->rev_chap_secret_off); in ibft_attr_show_target()
528 struct ibft_tgt *tgt = entry->tgt; in ibft_check_tgt_for() local
542 if (tgt->tgt_name_len) in ibft_check_tgt_for()
547 if (tgt->chap_name_len) in ibft_check_tgt_for()
552 if (tgt->rev_chap_name_len) in ibft_check_tgt_for()
677 sizeof(*ibft_kobj->tgt)); in ibft_create_kobject()