re-org dsm_sysfs.c file (no functional change)