• Home
  • Raw
  • Download

Lines Matching refs:err

36 	int err;  in br_mrp_instance_parse()  local
38 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_INSTANCE_MAX, attr, in br_mrp_instance_parse()
40 if (err) in br_mrp_instance_parse()
41 return err; in br_mrp_instance_parse()
81 int err; in br_mrp_port_state_parse() local
83 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_PORT_STATE_MAX, attr, in br_mrp_port_state_parse()
85 if (err) in br_mrp_port_state_parse()
86 return err; in br_mrp_port_state_parse()
110 int err; in br_mrp_port_role_parse() local
112 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_PORT_ROLE_MAX, attr, in br_mrp_port_role_parse()
114 if (err) in br_mrp_port_role_parse()
115 return err; in br_mrp_port_role_parse()
139 int err; in br_mrp_ring_state_parse() local
141 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_RING_STATE_MAX, attr, in br_mrp_ring_state_parse()
143 if (err) in br_mrp_ring_state_parse()
144 return err; in br_mrp_ring_state_parse()
173 int err; in br_mrp_ring_role_parse() local
175 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_RING_ROLE_MAX, attr, in br_mrp_ring_role_parse()
177 if (err) in br_mrp_ring_role_parse()
178 return err; in br_mrp_ring_role_parse()
210 int err; in br_mrp_start_test_parse() local
212 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_START_TEST_MAX, attr, in br_mrp_start_test_parse()
214 if (err) in br_mrp_start_test_parse()
215 return err; in br_mrp_start_test_parse()
253 int err; in br_mrp_in_state_parse() local
255 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_IN_STATE_MAX, attr, in br_mrp_in_state_parse()
257 if (err) in br_mrp_in_state_parse()
258 return err; in br_mrp_in_state_parse()
289 int err; in br_mrp_in_role_parse() local
291 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_IN_ROLE_MAX, attr, in br_mrp_in_role_parse()
293 if (err) in br_mrp_in_role_parse()
294 return err; in br_mrp_in_role_parse()
330 int err; in br_mrp_start_in_test_parse() local
332 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_START_IN_TEST_MAX, attr, in br_mrp_start_in_test_parse()
334 if (err) in br_mrp_start_in_test_parse()
335 return err; in br_mrp_start_in_test_parse()
360 int err; in br_mrp_parse() local
373 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_MAX, attr, in br_mrp_parse()
375 if (err) in br_mrp_parse()
376 return err; in br_mrp_parse()
379 err = br_mrp_instance_parse(br, tb[IFLA_BRIDGE_MRP_INSTANCE], in br_mrp_parse()
381 if (err) in br_mrp_parse()
382 return err; in br_mrp_parse()
386 err = br_mrp_port_state_parse(p, tb[IFLA_BRIDGE_MRP_PORT_STATE], in br_mrp_parse()
388 if (err) in br_mrp_parse()
389 return err; in br_mrp_parse()
393 err = br_mrp_port_role_parse(p, tb[IFLA_BRIDGE_MRP_PORT_ROLE], in br_mrp_parse()
395 if (err) in br_mrp_parse()
396 return err; in br_mrp_parse()
400 err = br_mrp_ring_state_parse(br, in br_mrp_parse()
403 if (err) in br_mrp_parse()
404 return err; in br_mrp_parse()
408 err = br_mrp_ring_role_parse(br, tb[IFLA_BRIDGE_MRP_RING_ROLE], in br_mrp_parse()
410 if (err) in br_mrp_parse()
411 return err; in br_mrp_parse()
415 err = br_mrp_start_test_parse(br, in br_mrp_parse()
418 if (err) in br_mrp_parse()
419 return err; in br_mrp_parse()
423 err = br_mrp_in_state_parse(br, tb[IFLA_BRIDGE_MRP_IN_STATE], in br_mrp_parse()
425 if (err) in br_mrp_parse()
426 return err; in br_mrp_parse()
430 err = br_mrp_in_role_parse(br, tb[IFLA_BRIDGE_MRP_IN_ROLE], in br_mrp_parse()
432 if (err) in br_mrp_parse()
433 return err; in br_mrp_parse()
437 err = br_mrp_start_in_test_parse(br, in br_mrp_parse()
440 if (err) in br_mrp_parse()
441 return err; in br_mrp_parse()
532 int err = 0; in br_mrp_ring_port_open() local
536 err = -EINVAL; in br_mrp_ring_port_open()
548 return err; in br_mrp_ring_port_open()
554 int err = 0; in br_mrp_in_port_open() local
558 err = -EINVAL; in br_mrp_in_port_open()
570 return err; in br_mrp_in_port_open()