Searched refs:dev_name_len (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/tools/net/ynl/generated/ |
D | devlink-user.h | 78 __u32 dev_name_len; member 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() 113 __u32 dev_name_len; member 149 __u32 dev_name_len; member 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() [all …]
|
D | ethtool-user.h | 28 __u32 dev_name_len; member 242 req->header._present.dev_name_len = strlen(dev_name); in ethtool_strset_get_req_set_header_dev_name() 243 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_strset_get_req_set_header_dev_name() 244 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_strset_get_req_set_header_dev_name() 245 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_strset_get_req_set_header_dev_name() 320 req->header._present.dev_name_len = strlen(dev_name); in ethtool_strset_get_req_dump_set_header_dev_name() 321 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_strset_get_req_dump_set_header_dev_name() 322 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_strset_get_req_dump_set_header_dev_name() 323 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_strset_get_req_dump_set_header_dev_name() 389 req->header._present.dev_name_len = strlen(dev_name); in ethtool_linkinfo_get_req_set_header_dev_name() [all …]
|
D | devlink-user.c | 469 dst->_present.dev_name_len = len; in devlink_get_rsp_parse() 512 if (req->_present.dev_name_len) in devlink_get() 617 dst->_present.dev_name_len = len; in devlink_port_get_rsp_parse() 646 if (req->_present.dev_name_len) in devlink_port_get() 697 dst->_present.dev_name_len = len; in devlink_port_get_rsp_dump_parse() 745 if (req->_present.dev_name_len) in devlink_port_get_dump() 804 dst->_present.dev_name_len = len; in devlink_sb_get_rsp_parse() 833 if (req->_present.dev_name_len) in devlink_sb_get() 887 if (req->_present.dev_name_len) in devlink_sb_get_dump() 946 dst->_present.dev_name_len = len; in devlink_sb_pool_get_rsp_parse() [all …]
|
D | ethtool-user.c | 683 if (obj->_present.dev_name_len) in ethtool_header_put() 713 dst->_present.dev_name_len = len; in ethtool_header_parse()
|
/linux-6.6.21/tools/arch/x86/intel_sdsi/ |
D | intel_sdsi.c | 659 int dev_name_len = sizeof(SDSI_DEV) + strlen(dev_no) + 1; in sdsi_create_dev() local 677 snprintf(s->dev_name, dev_name_len, "%s.%s", SDSI_DEV, dev_no); in sdsi_create_dev() 679 s->dev_path = (char *)malloc(sizeof(AUX_DEV_PATH) + dev_name_len); in sdsi_create_dev() 687 snprintf(s->dev_path, sizeof(AUX_DEV_PATH) + dev_name_len, "%s%s", AUX_DEV_PATH, in sdsi_create_dev()
|