• Home
  • Raw
  • Download

Lines Matching refs:err

1512 	int err;  in init_cache_random_seq()  local
1518 err = cache_random_seq_create(s, count, GFP_KERNEL); in init_cache_random_seq()
1519 if (err) { in init_cache_random_seq()
1522 return err; in init_cache_random_seq()
4303 int err; in __kmem_cache_create() local
4305 err = kmem_cache_open(s, flags); in __kmem_cache_create()
4306 if (err) in __kmem_cache_create()
4307 return err; in __kmem_cache_create()
4314 err = sysfs_slab_add(s); in __kmem_cache_create()
4315 if (err) in __kmem_cache_create()
4318 return err; in __kmem_cache_create()
4952 int err; in order_store() local
4954 err = kstrtouint(buf, 10, &order); in order_store()
4955 if (err) in order_store()
4956 return err; in order_store()
4980 int err; in min_partial_store() local
4982 err = kstrtoul(buf, 10, &min); in min_partial_store()
4983 if (err) in min_partial_store()
4984 return err; in min_partial_store()
5000 int err; in cpu_partial_store() local
5002 err = kstrtouint(buf, 10, &objects); in cpu_partial_store()
5003 if (err) in cpu_partial_store()
5004 return err; in cpu_partial_store()
5326 int err; in remote_node_defrag_ratio_store() local
5328 err = kstrtouint(buf, 10, &ratio); in remote_node_defrag_ratio_store()
5329 if (err) in remote_node_defrag_ratio_store()
5330 return err; in remote_node_defrag_ratio_store()
5505 int err; in slab_attr_show() local
5513 err = attribute->show(s, buf); in slab_attr_show()
5515 return err; in slab_attr_show()
5524 int err; in slab_attr_store() local
5532 err = attribute->store(s, buf, len); in slab_attr_store()
5534 if (slab_state >= FULL && err >= 0 && is_root_cache(s)) { in slab_attr_store()
5563 return err; in slab_attr_store()
5726 int err; in sysfs_slab_add() local
5759 err = kobject_init_and_add(&s->kobj, &slab_ktype, NULL, "%s", name); in sysfs_slab_add()
5760 if (err) in sysfs_slab_add()
5763 err = sysfs_create_group(&s->kobj, &slab_attr_group); in sysfs_slab_add()
5764 if (err) in sysfs_slab_add()
5771 err = -ENOMEM; in sysfs_slab_add()
5785 return err; in sysfs_slab_add()
5854 int err; in slab_sysfs_init() local
5868 err = sysfs_slab_add(s); in slab_sysfs_init()
5869 if (err) in slab_sysfs_init()
5878 err = sysfs_slab_alias(al->s, al->name); in slab_sysfs_init()
5879 if (err) in slab_sysfs_init()