Searched refs:lf_str_size (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_debugfs.c | 265 int index, pf, vf, lf_str_size = 12, buf_size = 256; in get_max_column_width() local 286 if (lf_str_size <= strlen(buf)) in get_max_column_width() 287 lf_str_size = strlen(buf) + 1; in get_max_column_width() 293 return lf_str_size; in get_max_column_width() 307 int lf_str_size; in rvu_dbg_rsrc_attach_status() local 320 lf_str_size = get_max_column_width(rvu); in rvu_dbg_rsrc_attach_status() 322 lfs = kzalloc(lf_str_size, GFP_KERNEL); in rvu_dbg_rsrc_attach_status() 327 off += scnprintf(&buf[off], buf_size - 1 - off, "%-*s", lf_str_size, in rvu_dbg_rsrc_attach_status() 332 "%-*s", lf_str_size, in rvu_dbg_rsrc_attach_status() 355 "%-*s", lf_str_size, lfs); in rvu_dbg_rsrc_attach_status() [all …]
|