Lines Matching refs:shm_obj
29 struct shm_obj { struct
62 static struct shm_obj *shm_obj_find(uint32_t key) in shm_obj_find()
64 struct shm_obj *shm; in shm_obj_find()
75 static void shm_obj_add(struct shm_obj *shm) in shm_obj_add()
81 static void shm_obj_remove(struct shm_obj *shm) in shm_obj_remove()
98 static int shm_fstat(struct shm_obj *shm, struct stat *st) in shm_fstat()
107 static int shm_ftruncate(struct shm_obj *shm, off_t length) in shm_ftruncate()
143 static off_t shm_lseek(struct shm_obj *shm, off_t offset, int whence, size_t cur) in shm_lseek()
176 static int shm_mmap(struct shm_obj *shm, void *addr, size_t len, int prot, int flags, off_t off, in shm_mmap()
209 static ssize_t shm_rw(struct shm_obj *shm, void *buf, size_t size, bool is_write, size_t offset) in shm_rw()
230 return shm_rw((struct shm_obj *)obj, buf, sz, false, offset); in shm_read()
235 return shm_rw((struct shm_obj *)obj, (void *)buf, sz, true, offset); in shm_write()
240 struct shm_obj *shm = obj; in shm_close()
252 struct shm_obj *shm = obj; in shm_ioctl()
303 struct shm_obj *shm; in shm_open()
378 struct shm_obj *shm; in shm_unlink()