Lines Matching refs:attr
44 } attr = {};
50 if (size > sizeof(attr))
51 size = sizeof(attr);
52 if (umoven_or_printaddr(tcp, addr, size, &attr))
56 printxval(bpf_map_types, attr.map_type, "BPF_MAP_TYPE_???");
58 attr.key_size, attr.value_size, attr.max_entries);
71 } attr = {};
77 if (size > sizeof(attr))
78 size = sizeof(attr);
79 if (umoven_or_printaddr(tcp, addr, size, &attr))
83 printfd(tcp, attr.map_fd);
85 attr.key, attr.value);
86 printxval(bpf_map_update_elem_flags, attr.flags, "BPF_???");
96 } attr = {};
102 if (size > sizeof(attr))
103 size = sizeof(attr);
104 if (umoven_or_printaddr(tcp, addr, size, &attr))
108 printfd(tcp, attr.map_fd);
109 tprintf(", key=%#" PRIx64 "}", attr.key);
119 } attr = {};
122 if (!syserror(tcp) && !umove_or_printaddr(tcp, addr, &attr))
123 tprintf(", %s=%#" PRIx64, text, attr.value);
132 if (size > sizeof(attr))
133 size = sizeof(attr);
134 if (umoven_or_printaddr(tcp, addr, size, &attr))
138 printfd(tcp, attr.map_fd);
139 tprintf(", key=%#" PRIx64, attr.key);
153 } attr = {};
159 if (size > sizeof(attr))
160 size = sizeof(attr);
161 if (umoven_or_printaddr(tcp, addr, size, &attr))
165 printxval(bpf_prog_types, attr.prog_type, "BPF_PROG_TYPE_???");
167 attr.insn_cnt, attr.insns);
168 printstr(tcp, attr.license, -1);
170 attr.log_level, attr.log_size, attr.log_buf, attr.kern_version);