Lines Matching refs:attr

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