Searched refs:stkbuf (Results 1 – 5 of 5) sorted by relevance
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | rtas-proc.c | 305 char stkbuf[40]; /* its small, its on stack */ in ppc_rtas_poweron_write() local 313 if (copy_from_user(stkbuf, buf, count)) in ppc_rtas_poweron_write() 316 stkbuf[count] = 0; in ppc_rtas_poweron_write() 317 nowtime = simple_strtoul(stkbuf, &dest, 10); in ppc_rtas_poweron_write() 338 char stkbuf[40]; /* its small, its on stack */ in ppc_rtas_poweron_read() local 343 n = snprintf(stkbuf, 40, "Power on time not set\n"); in ppc_rtas_poweron_read() 345 n = snprintf(stkbuf, 40, "%lu\n", power_on_time); in ppc_rtas_poweron_read() 347 int sn = strlen(stkbuf) +1; in ppc_rtas_poweron_read() 354 if (copy_to_user(buf, stkbuf + pos, n)) in ppc_rtas_poweron_read() 424 char stkbuf[40]; /* its small, its on stack */ in ppc_rtas_clock_write() local [all …]
|
D | scanlog.c | 132 char stkbuf[20]; in scanlog_write() local 137 if (copy_from_user (stkbuf, buf, count)) in scanlog_write() 140 stkbuf[count] = 0; in scanlog_write() 143 if (strncmp(stkbuf, "reset", 5) == 0) { in scanlog_write() 147 } else if (strncmp(stkbuf, "debugon", 7) == 0) { in scanlog_write() 150 } else if (strncmp(stkbuf, "debugoff", 8) == 0) { in scanlog_write()
|
D | mf_proc.c | 262 char stkbuf[10]; in proc_mf_change_src() local 273 if (copy_from_user (stkbuf, buffer, count)) in proc_mf_change_src() 276 if ((count == 1) && ((*stkbuf) == '\0')) { in proc_mf_change_src() 279 mf_displaySrc(*(u32 *)stkbuf); in proc_mf_change_src()
|
D | proc_pmc.c | 888 char stkbuf[10]; in proc_pmc_set_control() local 892 if (copy_from_user (stkbuf, buffer, count)) in proc_pmc_set_control() 895 stkbuf[count] = 0; in proc_pmc_set_control() 897 if ( ! strncmp( stkbuf, "stop", 4 ) ) in proc_pmc_set_control() 899 else if ( ! strncmp( stkbuf, "start", 5 ) ) in proc_pmc_set_control() 901 else if ( ! strncmp( stkbuf, "reset", 5 ) ) in proc_pmc_set_control() 903 else if ( ! strncmp( stkbuf, "cpi", 3 ) ) in proc_pmc_set_control() 905 else if ( ! strncmp( stkbuf, "tlb", 3 ) ) in proc_pmc_set_control()
|
D | rtas_flash.c | 399 char stkbuf[10]; in manage_flash_write() local 409 if (copy_from_user (stkbuf, buf, count)) { in manage_flash_write() 412 if (strncmp(stkbuf, reject_str, strlen(reject_str)) == 0) in manage_flash_write() 414 else if (strncmp(stkbuf, commit_str, strlen(commit_str)) == 0) in manage_flash_write()
|