• Home
  • Raw
  • Download

Lines Matching refs:err

325 	int prog_fd, err = 0;  in bpf_struct_ops_map_update_elem()  local
335 err = check_zero_holes(st_ops->value_type, value); in bpf_struct_ops_map_update_elem()
336 if (err) in bpf_struct_ops_map_update_elem()
337 return err; in bpf_struct_ops_map_update_elem()
340 err = check_zero_holes(t, uvalue->data); in bpf_struct_ops_map_update_elem()
341 if (err) in bpf_struct_ops_map_update_elem()
342 return err; in bpf_struct_ops_map_update_elem()
357 err = -EBUSY; in bpf_struct_ops_map_update_elem()
382 err = st_ops->init_member(t, member, kdata, udata); in bpf_struct_ops_map_update_elem()
383 if (err < 0) in bpf_struct_ops_map_update_elem()
387 if (err > 0) in bpf_struct_ops_map_update_elem()
402 err = PTR_ERR(mtype); in bpf_struct_ops_map_update_elem()
407 err = -EINVAL; in bpf_struct_ops_map_update_elem()
421 err = PTR_ERR(prog); in bpf_struct_ops_map_update_elem()
429 err = -EINVAL; in bpf_struct_ops_map_update_elem()
437 err = arch_prepare_bpf_trampoline(NULL, image, in bpf_struct_ops_map_update_elem()
441 if (err < 0) in bpf_struct_ops_map_update_elem()
445 image += err; in bpf_struct_ops_map_update_elem()
458 err = st_ops->reg(kdata); in bpf_struct_ops_map_update_elem()
459 if (likely(!err)) { in bpf_struct_ops_map_update_elem()
485 return err; in bpf_struct_ops_map_update_elem()
518 int err; in bpf_struct_ops_map_seq_show_elem() local
524 err = bpf_struct_ops_map_sys_lookup_elem(map, key, value); in bpf_struct_ops_map_seq_show_elem()
525 if (!err) { in bpf_struct_ops_map_seq_show_elem()
564 int err; in bpf_struct_ops_map_alloc() local
589 err = bpf_map_charge_init(&mem, map_total_size); in bpf_struct_ops_map_alloc()
590 if (err < 0) in bpf_struct_ops_map_alloc()
591 return ERR_PTR(err); in bpf_struct_ops_map_alloc()