Lines Matching refs:entry

166 static inline void fc_ct_ms_fill_attr(struct fc_fdmi_attr_entry *entry,  in fc_ct_ms_fill_attr()  argument
171 copied = strscpy(entry->value, in, len); in fc_ct_ms_fill_attr()
173 memset(entry->value + copied + 1, 0, len - copied - 1); in fc_ct_ms_fill_attr()
192 struct fc_fdmi_attr_entry *entry; in fc_ct_ms_fill() local
241 entry = (struct fc_fdmi_attr_entry *)hba_attrs->attr; in fc_ct_ms_fill()
246 &entry->type); in fc_ct_ms_fill()
247 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
249 (__be64 *)&entry->value); in fc_ct_ms_fill()
252 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
257 &entry->type); in fc_ct_ms_fill()
258 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
259 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
264 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
269 &entry->type); in fc_ct_ms_fill()
270 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
271 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
276 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
281 &entry->type); in fc_ct_ms_fill()
282 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
283 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
288 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
293 &entry->type); in fc_ct_ms_fill()
294 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
295 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
300 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
305 &entry->type); in fc_ct_ms_fill()
306 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
307 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
312 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
317 &entry->type); in fc_ct_ms_fill()
318 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
319 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
324 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
329 &entry->type); in fc_ct_ms_fill()
330 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
331 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
336 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
341 &entry->type); in fc_ct_ms_fill()
342 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
343 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
348 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
353 &entry->type); in fc_ct_ms_fill()
354 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
355 snprintf((char *)&entry->value, in fc_ct_ms_fill()
362 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
367 &entry->type); in fc_ct_ms_fill()
368 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
370 &entry->value); in fc_ct_ms_fill()
374 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
379 &entry->type); in fc_ct_ms_fill()
380 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
381 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
386 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
391 &entry->type); in fc_ct_ms_fill()
392 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
394 &entry->value); in fc_ct_ms_fill()
397 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
402 &entry->type); in fc_ct_ms_fill()
403 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
405 &entry->value); in fc_ct_ms_fill()
408 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
413 &entry->type); in fc_ct_ms_fill()
414 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
416 &entry->value); in fc_ct_ms_fill()
419 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
424 &entry->type); in fc_ct_ms_fill()
425 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
426 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
431 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
436 &entry->type); in fc_ct_ms_fill()
437 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
439 &entry->value); in fc_ct_ms_fill()
442 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
447 &entry->type); in fc_ct_ms_fill()
448 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
449 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
496 entry = (struct fc_fdmi_attr_entry *)hba_attrs->attr; in fc_ct_ms_fill()
502 &entry->type); in fc_ct_ms_fill()
503 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
504 memcpy(&entry->value, fc_host_supported_fc4s(lport->host), in fc_ct_ms_fill()
508 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
513 &entry->type); in fc_ct_ms_fill()
514 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
517 &entry->value); in fc_ct_ms_fill()
520 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
525 &entry->type); in fc_ct_ms_fill()
526 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
528 &entry->value); in fc_ct_ms_fill()
531 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
536 &entry->type); in fc_ct_ms_fill()
537 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
539 &entry->value); in fc_ct_ms_fill()
542 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
547 &entry->type); in fc_ct_ms_fill()
548 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
550 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
556 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
561 &entry->type); in fc_ct_ms_fill()
562 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
564 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
569 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
577 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
582 &entry->type); in fc_ct_ms_fill()
583 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
585 &entry->value); in fc_ct_ms_fill()
588 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
593 &entry->type); in fc_ct_ms_fill()
594 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
596 &entry->value); in fc_ct_ms_fill()
599 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
604 &entry->type); in fc_ct_ms_fill()
605 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
606 fc_ct_ms_fill_attr(entry, in fc_ct_ms_fill()
611 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
616 &entry->type); in fc_ct_ms_fill()
617 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
619 &entry->value); in fc_ct_ms_fill()
622 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
627 &entry->type); in fc_ct_ms_fill()
628 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
630 &entry->value); in fc_ct_ms_fill()
633 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
638 &entry->type); in fc_ct_ms_fill()
639 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
641 &entry->value); in fc_ct_ms_fill()
644 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
649 &entry->type); in fc_ct_ms_fill()
650 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
651 memcpy(&entry->value, fc_host_active_fc4s(lport->host), in fc_ct_ms_fill()
655 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
660 &entry->type); in fc_ct_ms_fill()
661 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
663 &entry->value); in fc_ct_ms_fill()
666 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
671 &entry->type); in fc_ct_ms_fill()
672 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
674 &entry->value); in fc_ct_ms_fill()
677 entry = (struct fc_fdmi_attr_entry *)((char *)entry->value + in fc_ct_ms_fill()
682 &entry->type); in fc_ct_ms_fill()
683 put_unaligned_be16(len, &entry->len); in fc_ct_ms_fill()
685 &entry->value); in fc_ct_ms_fill()