Lines Matching refs:tgt

182 		struct ibft_tgt *tgt;  member
357 struct ibft_tgt *tgt = entry->tgt; in ibft_attr_show_target() local
362 if (!tgt) in ibft_attr_show_target()
367 str += sprintf(str, "%d\n", tgt->hdr.index); in ibft_attr_show_target()
370 str += sprintf(str, "%d\n", tgt->hdr.flags); in ibft_attr_show_target()
373 str += sprintf_ipaddr(str, tgt->ip_addr); in ibft_attr_show_target()
376 str += sprintf(str, "%d\n", tgt->port); in ibft_attr_show_target()
380 str += sprintf(str, "%x", (u8)tgt->lun[i]); in ibft_attr_show_target()
384 str += sprintf(str, "%d\n", tgt->nic_assoc); in ibft_attr_show_target()
387 str += sprintf(str, "%d\n", tgt->chap_type); in ibft_attr_show_target()
390 str += sprintf_string(str, tgt->tgt_name_len, in ibft_attr_show_target()
391 (char *)ibft_loc + tgt->tgt_name_off); in ibft_attr_show_target()
394 str += sprintf_string(str, tgt->chap_name_len, in ibft_attr_show_target()
395 (char *)ibft_loc + tgt->chap_name_off); in ibft_attr_show_target()
398 str += sprintf_string(str, tgt->chap_secret_len, in ibft_attr_show_target()
399 (char *)ibft_loc + tgt->chap_secret_off); in ibft_attr_show_target()
402 str += sprintf_string(str, tgt->rev_chap_name_len, in ibft_attr_show_target()
404 tgt->rev_chap_name_off); in ibft_attr_show_target()
407 str += sprintf_string(str, tgt->rev_chap_secret_len, in ibft_attr_show_target()
409 tgt->rev_chap_secret_off); in ibft_attr_show_target()
504 struct ibft_tgt *tgt = entry->tgt; in ibft_check_tgt_for() local
517 if (tgt->tgt_name_len) in ibft_check_tgt_for()
522 if (tgt->chap_name_len) in ibft_check_tgt_for()
527 if (tgt->rev_chap_name_len) in ibft_check_tgt_for()
634 sizeof(*ibft_kobj->tgt)); in ibft_create_kobject()