Home
last modified time | relevance | path

Searched refs:s_mem (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_chardev.c320 struct cros_ec_readmem s_mem = { }; in cros_ec_chardev_ioctl_readmem() local
327 if (copy_from_user(&s_mem, arg, sizeof(s_mem))) in cros_ec_chardev_ioctl_readmem()
330 num = ec_dev->cmd_readmem(ec_dev, s_mem.offset, s_mem.bytes, in cros_ec_chardev_ioctl_readmem()
331 s_mem.buffer); in cros_ec_chardev_ioctl_readmem()
335 if (copy_to_user((void __user *)arg, &s_mem, sizeof(s_mem))) in cros_ec_chardev_ioctl_readmem()
/kernel/linux/linux-5.10/include/linux/
Dslab_def.h92 void *object = x - (x - page->s_mem) % cache->size; in nearest_obj()
93 void *last_object = page->s_mem + (cache->num - 1) * cache->size; in nearest_obj()
110 u32 offset = (obj - page->s_mem); in obj_to_index()
Dmm_types.h124 void *s_mem; /* slab: first object */ member
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dtraps.c645 s_mem_to_reg (unsigned long s_mem) in s_mem_to_reg() argument
647 unsigned long frac = (s_mem >> 0) & 0x7fffff; in s_mem_to_reg()
648 unsigned long sign = (s_mem >> 31) & 0x1; in s_mem_to_reg()
649 unsigned long exp_msb = (s_mem >> 30) & 0x1; in s_mem_to_reg()
650 unsigned long exp_low = (s_mem >> 23) & 0x7f; in s_mem_to_reg()
/kernel/linux/linux-5.10/mm/
Dslab.c377 return page->s_mem + cache->size * idx; in index_to_obj()
2298 page->s_mem = addr + colour_off; in alloc_slabmgmt()