Lines Matching refs:tgt

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