Searched refs:s_mem (Results 1 – 6 of 6) sorted by relevance
320 struct cros_ec_readmem s_mem = { }; in cros_ec_chardev_ioctl_readmem() local327 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()
93 void *object = x - (x - page->s_mem) % cache->size; in nearest_obj()94 void *last_object = page->s_mem + (cache->num - 1) * cache->size; in nearest_obj()111 u32 offset = (obj - page->s_mem); in obj_to_index()
137 void *s_mem; /* slab: first object */ member
643 s_mem_to_reg (unsigned long s_mem) in s_mem_to_reg() argument645 unsigned long frac = (s_mem >> 0) & 0x7fffff; in s_mem_to_reg()646 unsigned long sign = (s_mem >> 31) & 0x1; in s_mem_to_reg()647 unsigned long exp_msb = (s_mem >> 30) & 0x1; in s_mem_to_reg()648 unsigned long exp_low = (s_mem >> 23) & 0x7f; in s_mem_to_reg()
433 page->s_mem = addr; in kfence_guarded_alloc()
378 return page->s_mem + cache->size * idx; in index_to_obj()2300 page->s_mem = addr + colour_off; in alloc_slabmgmt()
Completed in 20 milliseconds