Home
last modified time | relevance | path

Searched refs:path_buf (Results 1 – 11 of 11) sorted by relevance

/OK3568_Linux_fs/buildroot/boot/grub2/
H A D0069-zfs-Fix-resource-leaks-while-constructing-path.patch39 - grub_free (path_buf);
84 path = path_buf = grub_malloc (sym_sz + grub_strlen (oldpath) + 1);
111 if (!path_buf)
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dgslx680_pad.c466 char *path_buf; in gsl_config_write_proc() local
477 path_buf=kzalloc(count,GFP_KERNEL); in gsl_config_write_proc()
478 if(!path_buf) in gsl_config_write_proc()
482 if(copy_from_user(path_buf, buffer, count)) in gsl_config_write_proc()
487 memcpy(temp_buf,path_buf,(count<CONFIG_LEN?count:CONFIG_LEN)); in gsl_config_write_proc()
535 kfree(path_buf); in gsl_config_write_proc()
H A Dgslx680_firefly.c452 char *path_buf; local
461 path_buf = devm_kzalloc(&gts->client->dev, count, GFP_KERNEL);
462 if (!path_buf)
465 if (copy_from_user(path_buf, buffer, count)) {
469 memcpy(temp_buf, path_buf, (count < CONFIG_LEN ? count : CONFIG_LEN));
506 devm_kfree(&client->dev, path_buf);
H A Dgsl3673.c548 char *path_buf; in gsl_config_write_proc() local
556 path_buf = kzalloc(count, GFP_KERNEL); in gsl_config_write_proc()
557 if (!path_buf) { in gsl_config_write_proc()
561 if (copy_from_user(path_buf, buffer, count)) { in gsl_config_write_proc()
565 memcpy(temp_buf, path_buf, (count < CONFIG_LEN ? count : CONFIG_LEN)); in gsl_config_write_proc()
600 kfree(path_buf); in gsl_config_write_proc()
H A Dgslx680a.c560 char *path_buf; in gsl_config_write_proc() local
569 path_buf = kzalloc(count, GFP_KERNEL); in gsl_config_write_proc()
570 if (!path_buf) { in gsl_config_write_proc()
574 if (copy_from_user(path_buf, buffer, count)) { in gsl_config_write_proc()
578 memcpy(temp_buf, path_buf, (count < CONFIG_LEN ? count : CONFIG_LEN)); in gsl_config_write_proc()
619 kfree(path_buf); in gsl_config_write_proc()
H A Dgsl3673_800x1280.c572 char *path_buf; in gsl_config_write_proc() local
580 path_buf = kzalloc(count, GFP_KERNEL); in gsl_config_write_proc()
581 if (!path_buf) in gsl_config_write_proc()
583 if (copy_from_user(path_buf, buffer, count)) { in gsl_config_write_proc()
587 memcpy(temp_buf, path_buf, (count < CONFIG_LEN ? count : CONFIG_LEN)); in gsl_config_write_proc()
622 kfree(path_buf); in gsl_config_write_proc()
H A Dgslx680.c654 char *path_buf; in gsl_config_write_proc() local
665 path_buf = kzalloc(count, GFP_KERNEL); in gsl_config_write_proc()
666 if (!path_buf) { in gsl_config_write_proc()
669 if (copy_from_user(path_buf, buffer, count)) { in gsl_config_write_proc()
673 memcpy(temp_buf, path_buf, (count < CONFIG_LEN ? count : CONFIG_LEN)); in gsl_config_write_proc()
719 kfree(path_buf); in gsl_config_write_proc()
H A Dgslx6801.c634 char *path_buf; in gsl_config_write_proc() local
641 path_buf = kzalloc(count, GFP_KERNEL); in gsl_config_write_proc()
642 if (!path_buf) { in gsl_config_write_proc()
647 if (copy_from_user(path_buf, buffer, count)) { in gsl_config_write_proc()
651 memcpy(temp_buf, path_buf, (count < CONFIG_LEN ? count : CONFIG_LEN)); in gsl_config_write_proc()
691 kfree(path_buf); in gsl_config_write_proc()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/gsl3676/
H A Dgsl3676.c541 char *path_buf; in gsl_config_write_proc() local
549 path_buf = kzalloc(count, GFP_KERNEL); in gsl_config_write_proc()
550 if (!path_buf) { in gsl_config_write_proc()
554 if (copy_from_user(path_buf, buffer, count)) { in gsl_config_write_proc()
558 memcpy(temp_buf, path_buf, (count < CONFIG_LEN ? count : CONFIG_LEN)); in gsl_config_write_proc()
594 kfree(path_buf); in gsl_config_write_proc()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/gslx680_d708/
H A Drockchip_gslX680.c498 char *path_buf; in gsl_config_write_proc() local
506 path_buf = kzalloc(count, GFP_KERNEL); in gsl_config_write_proc()
507 if (!path_buf) { in gsl_config_write_proc()
510 if (copy_from_user(path_buf, buffer, count)) { in gsl_config_write_proc()
514 memcpy(temp_buf, path_buf, (count < CONFIG_LEN ? count : CONFIG_LEN)); in gsl_config_write_proc()
558 kfree(path_buf); in gsl_config_write_proc()
/OK3568_Linux_fs/u-boot/fs/zfs/
H A Dzfs.c1181 char *path, *path_buf; in dnode_get_path() local
1224 path = path_buf = strdup(path_in); in dnode_get_path()
1225 if (!path_buf) { in dnode_get_path()
1261 free(path_buf); in dnode_get_path()
1293 free(path_buf); in dnode_get_path()