Lines Matching defs:in

10  *    optional locations from 96 to 192 results in the loss of certain
22 * not true for the other one. Also bear in mind that reading/writing from/to
89 unsigned long addr; /* entry address in stable storage */
91 struct pdc_module_path devpath; /* device path in parisc representation */
132 * content of the stable storage WRT various paths in these structs. We read
171 * It can be used in two ways: either by passing it a preset devpath struct
174 * For now we do not handle the case where there's an error in writing to the
268 char in[64], *temp;
276 count = min_t(size_t, count, sizeof(in)-1);
277 strscpy(in, buf, count + 1);
283 if (!(temp = strrchr(in, '/')))
287 in[temp-in] = '\0'; /* truncate the remaining string. just precaution */
291 we write the bc fields in a down-top way. No matter what, we stop
295 for (i=5; ((temp = strrchr(in, '/'))) && (temp-in > 0) && (likely(i)); i--) {
297 in[temp-in] = '\0';
302 hwpath.bc[i] = simple_strtoul(in, NULL, 10);
312 /* So far so good, let's get in deep */
317 /* Now, dive in. Write back to the hardware */
383 char in[64], *temp;
389 count = min_t(size_t, count, sizeof(in)-1);
390 strscpy(in, buf, count + 1);
396 if (unlikely(!isdigit(*in)))
398 layers[0] = simple_strtoul(in, NULL, 10);
401 temp = in;
409 /* So far so good, let's get in deep */
416 /* Now, dive in. Write back to the hardware */
548 /* Current flags are stored in primary boot path entry */
584 * pdcs_timer_read - Stable Storage timer count output (in seconds).
589 * The value of the timer field correponds to a number of seconds in powers of 2.
600 /* Current flags are stored in primary boot path entry */
603 /* print the timer value in seconds */
768 char in[8], *temp;
778 count = min_t(size_t, count, sizeof(in)-1);
779 strscpy(in, buf, count + 1);
781 /* Current flags are stored in primary boot path entry */
791 temp = skip_spaces(in);
803 /* So far so good, let's get in deep */
809 /* Now, dive in. Write back to the hardware */
875 u8 in[16];
890 memset(in, 0, 16);
891 memcpy(in, buf, count);
893 if (pdc_stable_write(PDCS_ADDR_OSD1, &in, sizeof(in)) != PDC_OK)
916 u8 in[4];
938 memset(in, 0, 4);
939 memcpy(in, buf+i, (count-i < 4) ? count-i : 4);
940 if (unlikely(pdc_stable_write(PDCS_ADDR_OSD2 + i, &in,
941 sizeof(in)) != PDC_OK))
985 * created will show in the sysfs tree as a folder containing files as defined