/third_party/ltp/testcases/kernel/mem/mtest07/ |
H A D | shm_test.c | 138 struct shmid *shmbuf = NULL; /* info about the segment pointed by shmkey */ in rm_shared_mem() 283 int shmkey = 1969; /* key used to generate shmid by shmget() */ in main()
|
/third_party/mesa3d/src/vulkan/wsi/ |
H A D | wsi_common_x11.c | 923 int shmid; member 1620 image->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0600); in alloc_shm() 1621 if (image->shmid < 0) in alloc_shm() 1624 uint8_t *addr = (uint8_t *)shmat(image->shmid, 0, 0); in alloc_shm() 1626 shmctl(image->shmid, IPC_RMID, 0); in alloc_shm() 1667 image->shmid, in x11_image_init()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_direct.h | 139 int shmid; /* IPC global shared memory identification */ member
|
H A D | pcm_dsnoop.c | 671 if ((dsnoop->shmid >= 0) && (snd_pcm_direct_shm_discard(dsnoop))) { in snd_pcm_dsnoop_open()
|
H A D | pcm_dshare.c | 817 if ((dshare->shmid >= 0) && (snd_pcm_direct_shm_discard(dshare))) { in snd_pcm_dshare_open()
|
H A D | pcm_local.h | 133 int shmid; member 425 int snd_pcm_channel_info_shm(snd_pcm_t *pcm, snd_pcm_channel_info_t *info, int shmid);
|
H A D | pcm_dmix.c | 1116 if ((dmix->shmid >= 0) && (snd_pcm_direct_shm_discard(dmix))) { in snd_pcm_dmix_open()
|
/third_party/backends/backend/ |
H A D | sharp.h | 274 int shmid; member
|
H A D | nec.h | 268 int shmid; member
|
H A D | nec.c | 1826 if (s->shmid != -1) in do_cancel() 1827 shmctl(s->shmid, IPC_RMID, &ds); in do_cancel() 1828 s->shmid = -1; in do_cancel() 2177 if (s->shmid != -1) in sane_close() 2178 shmctl(s->shmid, IPC_RMID, &ds); in sane_close() 2901 s->shmid = shmget(IPC_PRIVATE, in sane_start() 2906 if (s->shmid == -1) in sane_start() 2914 s->rdr_ctl = (NEC_rdr_ctl*) shmat(s->shmid, 0, 0); in sane_start() 2917 shmctl(s->shmid, IPC_RMID, &ds); in sane_start()
|
H A D | sharp.c | 2284 if (s->shmid != -1) in do_cancel() 2285 shmctl(s->shmid, IPC_RMID, &ds); in do_cancel() 2286 s->shmid = -1; in do_cancel() 2688 if (s->shmid != -1) in sane_close() 2689 shmctl(s->shmid, IPC_RMID, &ds); in sane_close() 3381 s->shmid = shmget(IPC_PRIVATE, in sane_start() 3386 if (s->shmid == -1) in sane_start() 3394 s->rdr_ctl = (SHARP_rdr_ctl*) shmat(s->shmid, 0, 0); in sane_start() 3397 shmctl(s->shmid, IPC_RMID, &ds); in sane_start()
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/ |
H A D | mod.rs | 736 pub fn shmat(shmid: ::c_int, shmaddr: *const ::c_void, shmflg: ::c_int) -> *mut ::c_void; in shmat() 738 pub fn shmctl(shmid: ::c_int, cmd: ::c_int, buf: *mut ::shmid_ds) -> ::c_int; in shmctl()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
H A D | doio.c | 3867 int me = 0, flags, key, shmid; in alloc_mem() local 4094 shmid = shmget(key, M->size, IPC_CREAT | 0666); in alloc_mem() 4095 if (shmid == -1) { in alloc_mem() 4101 M->fd = shmid; in alloc_mem() 4102 M->space = shmat(shmid, NULL, SHM_RND); in alloc_mem() 4106 shmid, SYSERR, errno); in alloc_mem() 5213 * SysV-shmem:shmid:blksize:nblks 5214 * if shmid is "private", use IPC_PRIVATE 5311 /* shmem:shmid:size */ in parse_memalloc() 5485 fprintf(stream, "\t shmem:shmid in help() [all...] |
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/dragonfly/ |
H A D | mod.rs | 1651 pub fn shmat(shmid: ::c_int, shmaddr: *const ::c_void, shmflg: ::c_int) -> *mut ::c_void; in shmat() 1653 pub fn shmctl(shmid: ::c_int, cmd: ::c_int, buf: *mut ::shmid_ds) -> ::c_int; in shmctl()
|
/third_party/rust/crates/libc/src/unix/solarish/ |
H A D | mod.rs | 2823 pub fn shmat(shmid: ::c_int, shmaddr: *const ::c_void, shmflg: ::c_int) -> *mut ::c_void; in shmat() 2825 pub fn shmctl(shmid: ::c_int, cmd: ::c_int, buf: *mut ::shmid_ds) -> ::c_int; in shmctl()
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 3956 pub fn shmat(shmid: ::c_int, shmaddr: *const ::c_void, shmflg: ::c_int) -> *mut ::c_void; in shmat() 3958 pub fn shmctl(shmid: ::c_int, cmd: ::c_int, buf: *mut ::shmid_ds) -> ::c_int; in shmctl()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 3915 pub fn shmat(shmid: ::c_int, shmaddr: *const ::c_void, shmflg: ::c_int) -> *mut ::c_void; in shmat() 3917 pub fn shmctl(shmid: ::c_int, cmd: ::c_int, buf: *mut ::shmid_ds) -> ::c_int; in shmctl()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/ |
H A D | mod.rs | 4089 pub fn shmat(shmid: ::c_int, shmaddr: *const ::c_void, shmflg: ::c_int) -> *mut ::c_void; in shmat() 4091 pub fn shmctl(shmid: ::c_int, cmd: ::c_int, buf: *mut ::shmid_ds) -> ::c_int; in shmctl()
|
/third_party/rust/crates/libc/src/unix/bsd/apple/ |
H A D | mod.rs | 5151 pub fn shmat(shmid: ::c_int, shmaddr: *const ::c_void, shmflg: ::c_int) -> *mut ::c_void; in shmat() 5157 pub fn shmctl(shmid: ::c_int, cmd: ::c_int, buf: *mut ::shmid_ds) -> ::c_int; in shmctl()
|