Home
last modified time | relevance | path

Searched refs:res_path (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/resctrl/
H A Dresctrlfs.c818 char res_path[PATH_MAX]; in resctrl_resource_exists() local
829 snprintf(res_path, sizeof(res_path), "%s/%s", INFO_PATH, resource); in resctrl_resource_exists()
831 if (stat(res_path, &statbuf)) in resctrl_resource_exists()
847 char res_path[PATH_MAX]; in resctrl_mon_feature_exists() local
854 snprintf(res_path, sizeof(res_path), "%s/%s/mon_features", INFO_PATH, resource); in resctrl_mon_feature_exists()
855 inf = fopen(res_path, "r"); in resctrl_mon_feature_exists()
876 char res_path[PATH_MAX]; in resource_info_file_exists() local
882 snprintf(res_path, sizeo in resource_info_file_exists()
[all...]
/linux/drivers/scsi/
H A Dipr.h429 __be64 res_path; member
828 u8 res_path[8]; member
845 u8 res_path[8]; member
868 u8 res_path[8]; member
1011 u8 res_path[8]; member
1044 u8 res_path[8]; member
1262 u8 res_path[8]; member
1879 u8 *res_path; in ipr_is_device() local
1882 res_path = &hostrcb->hcam.u.error64.fd_res_path[0]; in ipr_is_device()
1883 if ((res_path[ in ipr_is_device()
[all...]
H A Dipr.c1122 memcpy(res->res_path, &cfgtew->u.cfgte64->res_path, in ipr_init_res_entry()
1123 sizeof(res->res_path)); in ipr_init_res_entry()
1206 * @res_path: resource path
1213 static char *__ipr_format_res_path(u8 *res_path, char *buffer, int len) in __ipr_format_res_path() argument
1219 p += scnprintf(p, buffer + len - p, "%02X", res_path[0]); in __ipr_format_res_path()
1220 for (i = 1; res_path[i] != 0xff && i < IPR_RES_PATH_BYTES; i++) in __ipr_format_res_path()
1221 p += scnprintf(p, buffer + len - p, "-%02X", res_path[i]); in __ipr_format_res_path()
1229 * @res_path: resource path
1237 u8 *res_path, cha in ipr_format_res_path() argument
[all...]