• Home
  • Raw
  • Download

Lines Matching refs:kbuf

712 	char *kbuf = memdup_user_nul(buf, len);  in wil_write_file_rxon()  local
714 if (IS_ERR(kbuf)) in wil_write_file_rxon()
715 return PTR_ERR(kbuf); in wil_write_file_rxon()
716 rc = kstrtol(kbuf, 0, &channel); in wil_write_file_rxon()
717 kfree(kbuf); in wil_write_file_rxon()
793 char *kbuf = kmalloc(len + 1, GFP_KERNEL); in wil_write_back() local
797 if (!kbuf) in wil_write_back()
800 rc = simple_write_to_buffer(kbuf, len, ppos, buf, len); in wil_write_back()
802 kfree(kbuf); in wil_write_back()
806 kbuf[len] = '\0'; in wil_write_back()
807 rc = sscanf(kbuf, "%8s %d %d %d", cmd, &p1, &p2, &p3); in wil_write_back()
808 kfree(kbuf); in wil_write_back()
890 char *kbuf = kmalloc(len + 1, GFP_KERNEL); in wil_write_pmccfg() local
894 if (!kbuf) in wil_write_pmccfg()
897 rc = simple_write_to_buffer(kbuf, len, ppos, buf, len); in wil_write_pmccfg()
899 kfree(kbuf); in wil_write_pmccfg()
903 kbuf[len] = '\0'; in wil_write_pmccfg()
904 rc = sscanf(kbuf, "%8s %d %d", cmd, &num_descs, &desc_size); in wil_write_pmccfg()
905 kfree(kbuf); in wil_write_pmccfg()
1965 char *kbuf = kmalloc(len + 1, GFP_KERNEL); in wil_link_stats_write() local
1967 if (!kbuf) in wil_link_stats_write()
1970 rc = simple_write_to_buffer(kbuf, len, ppos, buf, len); in wil_link_stats_write()
1972 kfree(kbuf); in wil_link_stats_write()
1976 kbuf[len] = '\0'; in wil_link_stats_write()
1978 rc = sscanf(kbuf, "%d %d", &cid, &interval); in wil_link_stats_write()
1979 kfree(kbuf); in wil_link_stats_write()
2124 char *kbuf = kmalloc(len + 1, GFP_KERNEL); in wil_write_led_blink_time() local
2126 if (!kbuf) in wil_write_led_blink_time()
2129 rc = simple_write_to_buffer(kbuf, len, ppos, buf, len); in wil_write_led_blink_time()
2131 kfree(kbuf); in wil_write_led_blink_time()
2135 kbuf[len] = '\0'; in wil_write_led_blink_time()
2136 rc = sscanf(kbuf, "%d %d %d %d %d %d", in wil_write_led_blink_time()
2143 kfree(kbuf); in wil_write_led_blink_time()