Lines Matching refs:entry

168 static inline void fc_ct_ms_fill_attr(struct fc_fdmi_attr_entry *entry,  in fc_ct_ms_fill_attr()  argument
173 copied = strscpy(entry->value, in, len); in fc_ct_ms_fill_attr()
175 memset(entry->value + copied + 1, 0, len - copied - 1); in fc_ct_ms_fill_attr()
194 struct fc_fdmi_attr_entry *entry; in fc_ct_ms_fill() local
243 entry = (struct fc_fdmi_attr_entry *)hba_attrs->attr; in fc_ct_ms_fill()
248 &entry->type); in fc_ct_ms_fill()
249 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
251 (__be64 *)&entry->value); in fc_ct_ms_fill()
254 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
259 &entry->type); in fc_ct_ms_fill()
260 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
261 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
266 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
271 &entry->type); in fc_ct_ms_fill()
272 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
273 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
278 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
283 &entry->type); in fc_ct_ms_fill()
284 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
285 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
290 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
295 &entry->type); in fc_ct_ms_fill()
296 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
297 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
302 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
307 &entry->type); in fc_ct_ms_fill()
308 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
309 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
314 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
319 &entry->type); in fc_ct_ms_fill()
320 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
321 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
326 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
331 &entry->type); in fc_ct_ms_fill()
332 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
333 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
338 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
343 &entry->type); in fc_ct_ms_fill()
344 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
345 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
350 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
355 &entry->type); in fc_ct_ms_fill()
356 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
357 snprintf((char *)&entry->value, in fc_ct_ms_fill()
364 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
369 &entry->type); in fc_ct_ms_fill()
370 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
372 &entry->value); in fc_ct_ms_fill()
376 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
381 &entry->type); in fc_ct_ms_fill()
382 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
383 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
388 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
393 &entry->type); in fc_ct_ms_fill()
394 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
396 &entry->value); in fc_ct_ms_fill()
399 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
404 &entry->type); in fc_ct_ms_fill()
405 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
407 &entry->value); in fc_ct_ms_fill()
410 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
415 &entry->type); in fc_ct_ms_fill()
416 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
418 &entry->value); in fc_ct_ms_fill()
421 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
426 &entry->type); in fc_ct_ms_fill()
427 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
428 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
433 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
438 &entry->type); in fc_ct_ms_fill()
439 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
441 &entry->value); in fc_ct_ms_fill()
444 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
449 &entry->type); in fc_ct_ms_fill()
450 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
451 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
498 entry = (struct fc_fdmi_attr_entry *)hba_attrs->attr; in fc_ct_ms_fill()
504 &entry->type); in fc_ct_ms_fill()
505 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
506 memcpy(&entry->value, fc_host_supported_fc4s(lport->host), in fc_ct_ms_fill()
510 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
515 &entry->type); in fc_ct_ms_fill()
516 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
519 &entry->value); in fc_ct_ms_fill()
522 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
527 &entry->type); in fc_ct_ms_fill()
528 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
530 &entry->value); in fc_ct_ms_fill()
533 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
538 &entry->type); in fc_ct_ms_fill()
539 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
541 &entry->value); in fc_ct_ms_fill()
544 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
549 &entry->type); in fc_ct_ms_fill()
550 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
552 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
558 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
563 &entry->type); in fc_ct_ms_fill()
564 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
566 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
571 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
579 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
584 &entry->type); in fc_ct_ms_fill()
585 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
587 &entry->value); in fc_ct_ms_fill()
590 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
595 &entry->type); in fc_ct_ms_fill()
596 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
598 &entry->value); in fc_ct_ms_fill()
601 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
606 &entry->type); in fc_ct_ms_fill()
607 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
608 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
613 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
618 &entry->type); in fc_ct_ms_fill()
619 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
621 &entry->value); in fc_ct_ms_fill()
624 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
629 &entry->type); in fc_ct_ms_fill()
630 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
632 &entry->value); in fc_ct_ms_fill()
635 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
640 &entry->type); in fc_ct_ms_fill()
641 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
643 &entry->value); in fc_ct_ms_fill()
646 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
651 &entry->type); in fc_ct_ms_fill()
652 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
653 memcpy(&entry->value, fc_host_active_fc4s(lport->host), in fc_ct_ms_fill()
657 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
662 &entry->type); in fc_ct_ms_fill()
663 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
665 &entry->value); in fc_ct_ms_fill()
668 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
673 &entry->type); in fc_ct_ms_fill()
674 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
676 &entry->value); in fc_ct_ms_fill()
679 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
684 &entry->type); in fc_ct_ms_fill()
685 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
687 &entry->value); in fc_ct_ms_fill()