Lines Matching refs:lc
32 struct papr_location_code lc = { .str = "", };
42 fd = ioctl(devfd, PAPR_VPD_IOC_CREATE_HANDLE, &lc);
71 struct papr_location_code lc = { .str = "", };
80 fd = ioctl(devfd, PAPR_VPD_IOC_CREATE_HANDLE, &lc);
112 struct papr_location_code lc = {};
124 memset(lc.str, 'x', ARRAY_SIZE(lc.str));
127 fd = ioctl(devfd, PAPR_VPD_IOC_CREATE_HANDLE, &lc);
157 struct papr_location_code lc = { .str = "", };
166 fd = ioctl(devfd, PAPR_VPD_IOC_CREATE_HANDLE, &lc);
180 struct papr_location_code lc = { .str = "", };
189 fd = ioctl(devfd, PAPR_VPD_IOC_CREATE_HANDLE, &lc);
214 static int get_system_loc_code(struct papr_location_code *lc)
245 snprintf(lc->str, sizeof(lc->str),
261 struct papr_location_code lc;
268 SKIP_IF_MSG(get_system_loc_code(&lc),
274 fd = ioctl(devfd, PAPR_VPD_IOC_CREATE_HANDLE, &lc);