Lines Matching refs:btf_info
1568 struct bpf_btf_info btf_info; in btf_get_from_fd() local
1569 __u32 len = sizeof(btf_info); in btf_get_from_fd()
1584 memset(&btf_info, 0, sizeof(btf_info)); in btf_get_from_fd()
1585 btf_info.btf = ptr_to_u64(ptr); in btf_get_from_fd()
1586 btf_info.btf_size = last_size; in btf_get_from_fd()
1587 err = bpf_btf_get_info_by_fd(btf_fd, &btf_info, &len); in btf_get_from_fd()
1589 if (!err && btf_info.btf_size > last_size) { in btf_get_from_fd()
1592 last_size = btf_info.btf_size; in btf_get_from_fd()
1600 len = sizeof(btf_info); in btf_get_from_fd()
1601 memset(&btf_info, 0, sizeof(btf_info)); in btf_get_from_fd()
1602 btf_info.btf = ptr_to_u64(ptr); in btf_get_from_fd()
1603 btf_info.btf_size = last_size; in btf_get_from_fd()
1605 err = bpf_btf_get_info_by_fd(btf_fd, &btf_info, &len); in btf_get_from_fd()
1608 if (err || btf_info.btf_size > last_size) { in btf_get_from_fd()
1613 btf = btf_new(ptr, btf_info.btf_size, base_btf); in btf_get_from_fd()