Home
last modified time | relevance | path

Searched refs:shmid (Results 51 - 69 of 69) sorted by relevance

123

/third_party/ltp/testcases/kernel/mem/mtest07/
H A Dshm_test.c138 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 Dwsi_common_x11.c923 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 Dpcm_direct.h139 int shmid; /* IPC global shared memory identification */ member
H A Dpcm_dsnoop.c671 if ((dsnoop->shmid >= 0) && (snd_pcm_direct_shm_discard(dsnoop))) { in snd_pcm_dsnoop_open()
H A Dpcm_dshare.c817 if ((dshare->shmid >= 0) && (snd_pcm_direct_shm_discard(dshare))) { in snd_pcm_dshare_open()
H A Dpcm_local.h133 int shmid; member
425 int snd_pcm_channel_info_shm(snd_pcm_t *pcm, snd_pcm_channel_info_t *info, int shmid);
H A Dpcm_dmix.c1116 if ((dmix->shmid >= 0) && (snd_pcm_direct_shm_discard(dmix))) { in snd_pcm_dmix_open()
/third_party/backends/backend/
H A Dsharp.h274 int shmid; member
H A Dnec.h268 int shmid; member
H A Dnec.c1826 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 Dsharp.c2284 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 Dmod.rs736 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 Ddoio.c3867 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 Dmod.rs1651 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 Dmod.rs2823 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 Dmod.rs3956 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 Dmod.rs3915 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 Dmod.rs4089 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 Dmod.rs5151 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()

Completed in 103 milliseconds

123