Lines Matching refs:dev_name

82 	char *dev_name;  member
101 devlink_get_req_set_dev_name(struct devlink_get_req *req, const char *dev_name) in devlink_get_req_set_dev_name() argument
103 free(req->dev_name); in devlink_get_req_set_dev_name()
104 req->_present.dev_name_len = strlen(dev_name); in devlink_get_req_set_dev_name()
105 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_get_req_set_dev_name()
106 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_get_req_set_dev_name()
107 req->dev_name[req->_present.dev_name_len] = 0; in devlink_get_req_set_dev_name()
120 char *dev_name; member
154 char *dev_name; member
176 const char *dev_name) in devlink_port_get_req_set_dev_name() argument
178 free(req->dev_name); in devlink_port_get_req_set_dev_name()
179 req->_present.dev_name_len = strlen(dev_name); in devlink_port_get_req_set_dev_name()
180 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_port_get_req_set_dev_name()
181 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_port_get_req_set_dev_name()
182 req->dev_name[req->_present.dev_name_len] = 0; in devlink_port_get_req_set_dev_name()
200 char *dev_name; member
220 char *dev_name; member
242 const char *dev_name) in devlink_port_get_req_dump_set_dev_name() argument
244 free(req->dev_name); in devlink_port_get_req_dump_set_dev_name()
245 req->_present.dev_name_len = strlen(dev_name); in devlink_port_get_req_dump_set_dev_name()
246 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_port_get_req_dump_set_dev_name()
247 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_port_get_req_dump_set_dev_name()
248 req->dev_name[req->_present.dev_name_len] = 0; in devlink_port_get_req_dump_set_dev_name()
259 char *dev_name; member
284 char *dev_name; member
306 const char *dev_name) in devlink_sb_get_req_set_dev_name() argument
308 free(req->dev_name); in devlink_sb_get_req_set_dev_name()
309 req->_present.dev_name_len = strlen(dev_name); in devlink_sb_get_req_set_dev_name()
310 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_sb_get_req_set_dev_name()
311 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_sb_get_req_set_dev_name()
312 req->dev_name[req->_present.dev_name_len] = 0; in devlink_sb_get_req_set_dev_name()
329 char *dev_name; member
349 char *dev_name; member
371 const char *dev_name) in devlink_sb_get_req_dump_set_dev_name() argument
373 free(req->dev_name); in devlink_sb_get_req_dump_set_dev_name()
374 req->_present.dev_name_len = strlen(dev_name); in devlink_sb_get_req_dump_set_dev_name()
375 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_sb_get_req_dump_set_dev_name()
376 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_sb_get_req_dump_set_dev_name()
377 req->dev_name[req->_present.dev_name_len] = 0; in devlink_sb_get_req_dump_set_dev_name()
401 char *dev_name; member
425 const char *dev_name) in devlink_sb_pool_get_req_set_dev_name() argument
427 free(req->dev_name); in devlink_sb_pool_get_req_set_dev_name()
428 req->_present.dev_name_len = strlen(dev_name); in devlink_sb_pool_get_req_set_dev_name()
429 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_sb_pool_get_req_set_dev_name()
430 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_sb_pool_get_req_set_dev_name()
431 req->dev_name[req->_present.dev_name_len] = 0; in devlink_sb_pool_get_req_set_dev_name()
457 char *dev_name; member
478 char *dev_name; member
501 const char *dev_name) in devlink_sb_pool_get_req_dump_set_dev_name() argument
503 free(req->dev_name); in devlink_sb_pool_get_req_dump_set_dev_name()
504 req->_present.dev_name_len = strlen(dev_name); in devlink_sb_pool_get_req_dump_set_dev_name()
505 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_sb_pool_get_req_dump_set_dev_name()
506 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_sb_pool_get_req_dump_set_dev_name()
507 req->dev_name[req->_present.dev_name_len] = 0; in devlink_sb_pool_get_req_dump_set_dev_name()
533 char *dev_name; member
559 const char *dev_name) in devlink_sb_port_pool_get_req_set_dev_name() argument
561 free(req->dev_name); in devlink_sb_port_pool_get_req_set_dev_name()
562 req->_present.dev_name_len = strlen(dev_name); in devlink_sb_port_pool_get_req_set_dev_name()
563 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_sb_port_pool_get_req_set_dev_name()
564 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_sb_port_pool_get_req_set_dev_name()
565 req->dev_name[req->_present.dev_name_len] = 0; in devlink_sb_port_pool_get_req_set_dev_name()
599 char *dev_name; member
623 char *dev_name; member
646 const char *dev_name) in devlink_sb_port_pool_get_req_dump_set_dev_name() argument
648 free(req->dev_name); in devlink_sb_port_pool_get_req_dump_set_dev_name()
649 req->_present.dev_name_len = strlen(dev_name); in devlink_sb_port_pool_get_req_dump_set_dev_name()
650 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_sb_port_pool_get_req_dump_set_dev_name()
651 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_sb_port_pool_get_req_dump_set_dev_name()
652 req->dev_name[req->_present.dev_name_len] = 0; in devlink_sb_port_pool_get_req_dump_set_dev_name()
680 char *dev_name; member
707 const char *dev_name) in devlink_sb_tc_pool_bind_get_req_set_dev_name() argument
709 free(req->dev_name); in devlink_sb_tc_pool_bind_get_req_set_dev_name()
710 req->_present.dev_name_len = strlen(dev_name); in devlink_sb_tc_pool_bind_get_req_set_dev_name()
711 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_sb_tc_pool_bind_get_req_set_dev_name()
712 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_sb_tc_pool_bind_get_req_set_dev_name()
713 req->dev_name[req->_present.dev_name_len] = 0; in devlink_sb_tc_pool_bind_get_req_set_dev_name()
755 char *dev_name; member
780 char *dev_name; member
803 const char *dev_name) in devlink_sb_tc_pool_bind_get_req_dump_set_dev_name() argument
805 free(req->dev_name); in devlink_sb_tc_pool_bind_get_req_dump_set_dev_name()
806 req->_present.dev_name_len = strlen(dev_name); in devlink_sb_tc_pool_bind_get_req_dump_set_dev_name()
807 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_sb_tc_pool_bind_get_req_dump_set_dev_name()
808 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_sb_tc_pool_bind_get_req_dump_set_dev_name()
809 req->dev_name[req->_present.dev_name_len] = 0; in devlink_sb_tc_pool_bind_get_req_dump_set_dev_name()
834 char *dev_name; member
856 const char *dev_name) in devlink_param_get_req_set_dev_name() argument
858 free(req->dev_name); in devlink_param_get_req_set_dev_name()
859 req->_present.dev_name_len = strlen(dev_name); in devlink_param_get_req_set_dev_name()
860 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_param_get_req_set_dev_name()
861 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_param_get_req_set_dev_name()
862 req->dev_name[req->_present.dev_name_len] = 0; in devlink_param_get_req_set_dev_name()
883 char *dev_name; member
903 char *dev_name; member
925 const char *dev_name) in devlink_param_get_req_dump_set_dev_name() argument
927 free(req->dev_name); in devlink_param_get_req_dump_set_dev_name()
928 req->_present.dev_name_len = strlen(dev_name); in devlink_param_get_req_dump_set_dev_name()
929 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_param_get_req_dump_set_dev_name()
930 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_param_get_req_dump_set_dev_name()
931 req->dev_name[req->_present.dev_name_len] = 0; in devlink_param_get_req_dump_set_dev_name()
956 char *dev_name; member
979 const char *dev_name) in devlink_region_get_req_set_dev_name() argument
981 free(req->dev_name); in devlink_region_get_req_set_dev_name()
982 req->_present.dev_name_len = strlen(dev_name); in devlink_region_get_req_set_dev_name()
983 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_region_get_req_set_dev_name()
984 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_region_get_req_set_dev_name()
985 req->dev_name[req->_present.dev_name_len] = 0; in devlink_region_get_req_set_dev_name()
1014 char *dev_name; member
1035 char *dev_name; member
1057 const char *dev_name) in devlink_region_get_req_dump_set_dev_name() argument
1059 free(req->dev_name); in devlink_region_get_req_dump_set_dev_name()
1060 req->_present.dev_name_len = strlen(dev_name); in devlink_region_get_req_dump_set_dev_name()
1061 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_region_get_req_dump_set_dev_name()
1062 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_region_get_req_dump_set_dev_name()
1063 req->dev_name[req->_present.dev_name_len] = 0; in devlink_region_get_req_dump_set_dev_name()
1086 char *dev_name; member
1107 const char *dev_name) in devlink_info_get_req_set_dev_name() argument
1109 free(req->dev_name); in devlink_info_get_req_set_dev_name()
1110 req->_present.dev_name_len = strlen(dev_name); in devlink_info_get_req_set_dev_name()
1111 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_info_get_req_set_dev_name()
1112 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_info_get_req_set_dev_name()
1113 req->dev_name[req->_present.dev_name_len] = 0; in devlink_info_get_req_set_dev_name()
1125 char *dev_name; member
1165 char *dev_name; member
1190 const char *dev_name) in devlink_health_reporter_get_req_set_dev_name() argument
1192 free(req->dev_name); in devlink_health_reporter_get_req_set_dev_name()
1193 req->_present.dev_name_len = strlen(dev_name); in devlink_health_reporter_get_req_set_dev_name()
1194 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_health_reporter_get_req_set_dev_name()
1195 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_health_reporter_get_req_set_dev_name()
1196 req->dev_name[req->_present.dev_name_len] = 0; in devlink_health_reporter_get_req_set_dev_name()
1225 char *dev_name; member
1249 char *dev_name; member
1273 const char *dev_name) in devlink_health_reporter_get_req_dump_set_dev_name() argument
1275 free(req->dev_name); in devlink_health_reporter_get_req_dump_set_dev_name()
1276 req->_present.dev_name_len = strlen(dev_name); in devlink_health_reporter_get_req_dump_set_dev_name()
1277 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_health_reporter_get_req_dump_set_dev_name()
1278 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_health_reporter_get_req_dump_set_dev_name()
1279 req->dev_name[req->_present.dev_name_len] = 0; in devlink_health_reporter_get_req_dump_set_dev_name()
1311 char *dev_name; member
1333 const char *dev_name) in devlink_trap_get_req_set_dev_name() argument
1335 free(req->dev_name); in devlink_trap_get_req_set_dev_name()
1336 req->_present.dev_name_len = strlen(dev_name); in devlink_trap_get_req_set_dev_name()
1337 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_trap_get_req_set_dev_name()
1338 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_trap_get_req_set_dev_name()
1339 req->dev_name[req->_present.dev_name_len] = 0; in devlink_trap_get_req_set_dev_name()
1360 char *dev_name; member
1380 char *dev_name; member
1402 const char *dev_name) in devlink_trap_get_req_dump_set_dev_name() argument
1404 free(req->dev_name); in devlink_trap_get_req_dump_set_dev_name()
1405 req->_present.dev_name_len = strlen(dev_name); in devlink_trap_get_req_dump_set_dev_name()
1406 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_trap_get_req_dump_set_dev_name()
1407 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_trap_get_req_dump_set_dev_name()
1408 req->dev_name[req->_present.dev_name_len] = 0; in devlink_trap_get_req_dump_set_dev_name()
1432 char *dev_name; member
1455 const char *dev_name) in devlink_trap_group_get_req_set_dev_name() argument
1457 free(req->dev_name); in devlink_trap_group_get_req_set_dev_name()
1458 req->_present.dev_name_len = strlen(dev_name); in devlink_trap_group_get_req_set_dev_name()
1459 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_trap_group_get_req_set_dev_name()
1460 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_trap_group_get_req_set_dev_name()
1461 req->dev_name[req->_present.dev_name_len] = 0; in devlink_trap_group_get_req_set_dev_name()
1482 char *dev_name; member
1503 char *dev_name; member
1526 const char *dev_name) in devlink_trap_group_get_req_dump_set_dev_name() argument
1528 free(req->dev_name); in devlink_trap_group_get_req_dump_set_dev_name()
1529 req->_present.dev_name_len = strlen(dev_name); in devlink_trap_group_get_req_dump_set_dev_name()
1530 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_trap_group_get_req_dump_set_dev_name()
1531 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_trap_group_get_req_dump_set_dev_name()
1532 req->dev_name[req->_present.dev_name_len] = 0; in devlink_trap_group_get_req_dump_set_dev_name()
1556 char *dev_name; member
1580 const char *dev_name) in devlink_trap_policer_get_req_set_dev_name() argument
1582 free(req->dev_name); in devlink_trap_policer_get_req_set_dev_name()
1583 req->_present.dev_name_len = strlen(dev_name); in devlink_trap_policer_get_req_set_dev_name()
1584 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_trap_policer_get_req_set_dev_name()
1585 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_trap_policer_get_req_set_dev_name()
1586 req->dev_name[req->_present.dev_name_len] = 0; in devlink_trap_policer_get_req_set_dev_name()
1604 char *dev_name; member
1626 char *dev_name; member
1649 const char *dev_name) in devlink_trap_policer_get_req_dump_set_dev_name() argument
1651 free(req->dev_name); in devlink_trap_policer_get_req_dump_set_dev_name()
1652 req->_present.dev_name_len = strlen(dev_name); in devlink_trap_policer_get_req_dump_set_dev_name()
1653 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_trap_policer_get_req_dump_set_dev_name()
1654 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_trap_policer_get_req_dump_set_dev_name()
1655 req->dev_name[req->_present.dev_name_len] = 0; in devlink_trap_policer_get_req_dump_set_dev_name()
1681 char *dev_name; member
1704 const char *dev_name) in devlink_rate_get_req_set_dev_name() argument
1706 free(req->dev_name); in devlink_rate_get_req_set_dev_name()
1707 req->_present.dev_name_len = strlen(dev_name); in devlink_rate_get_req_set_dev_name()
1708 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_rate_get_req_set_dev_name()
1709 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_rate_get_req_set_dev_name()
1710 req->dev_name[req->_present.dev_name_len] = 0; in devlink_rate_get_req_set_dev_name()
1739 char *dev_name; member
1760 char *dev_name; member
1782 const char *dev_name) in devlink_rate_get_req_dump_set_dev_name() argument
1784 free(req->dev_name); in devlink_rate_get_req_dump_set_dev_name()
1785 req->_present.dev_name_len = strlen(dev_name); in devlink_rate_get_req_dump_set_dev_name()
1786 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_rate_get_req_dump_set_dev_name()
1787 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_rate_get_req_dump_set_dev_name()
1788 req->dev_name[req->_present.dev_name_len] = 0; in devlink_rate_get_req_dump_set_dev_name()
1812 char *dev_name; member
1835 const char *dev_name) in devlink_linecard_get_req_set_dev_name() argument
1837 free(req->dev_name); in devlink_linecard_get_req_set_dev_name()
1838 req->_present.dev_name_len = strlen(dev_name); in devlink_linecard_get_req_set_dev_name()
1839 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_linecard_get_req_set_dev_name()
1840 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_linecard_get_req_set_dev_name()
1841 req->dev_name[req->_present.dev_name_len] = 0; in devlink_linecard_get_req_set_dev_name()
1859 char *dev_name; member
1879 char *dev_name; member
1902 const char *dev_name) in devlink_linecard_get_req_dump_set_dev_name() argument
1904 free(req->dev_name); in devlink_linecard_get_req_dump_set_dev_name()
1905 req->_present.dev_name_len = strlen(dev_name); in devlink_linecard_get_req_dump_set_dev_name()
1906 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_linecard_get_req_dump_set_dev_name()
1907 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_linecard_get_req_dump_set_dev_name()
1908 req->dev_name[req->_present.dev_name_len] = 0; in devlink_linecard_get_req_dump_set_dev_name()
1931 char *dev_name; member
1953 const char *dev_name) in devlink_selftests_get_req_set_dev_name() argument
1955 free(req->dev_name); in devlink_selftests_get_req_set_dev_name()
1956 req->_present.dev_name_len = strlen(dev_name); in devlink_selftests_get_req_set_dev_name()
1957 req->dev_name = malloc(req->_present.dev_name_len + 1); in devlink_selftests_get_req_set_dev_name()
1958 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_selftests_get_req_set_dev_name()
1959 req->dev_name[req->_present.dev_name_len] = 0; in devlink_selftests_get_req_set_dev_name()
1969 char *dev_name; member