Home
last modified time | relevance | path

Searched refs:shp (Results 1 – 10 of 10) sorted by relevance

/linux/ipc/
H A Dshm.c69 * task_lock(shp->shm_creator)
99 #define shm_unlock(shp) \ argument
100 ipc_unlock(&(shp)->shm_perm)
105 static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp);
121 * Called with shm_ids.rwsem (writer) and the shp structure locked.
126 struct shmid_kernel *shp; in do_shm_rmid() local
128 shp = container_of(ipcp, struct shmid_kernel, shm_perm); in do_shm_rmid()
129 WARN_ON(ns != shp->ns); in do_shm_rmid()
131 if (shp->shm_nattch) { in do_shm_rmid()
132 shp in do_shm_rmid()
235 struct shmid_kernel *shp = container_of(ptr, struct shmid_kernel, shm_rcu_free() local
245 shm_clist_rm(struct shmid_kernel * shp) shm_clist_rm() argument
283 struct shmid_kernel *shp; __shm_open() local
331 shm_destroy(struct ipc_namespace * ns,struct shmid_kernel * shp) shm_destroy() argument
358 shm_may_destroy(struct shmid_kernel * shp) shm_may_destroy() argument
373 struct shmid_kernel *shp; __shm_close() local
415 struct shmid_kernel *shp = container_of(ipcp, struct shmid_kernel, shm_perm); shm_try_destroy_orphaned() local
448 struct shmid_kernel *shp; exit_shm() local
708 struct shmid_kernel *shp; newseg() local
819 struct shmid_kernel *shp; shm_more_checks() local
934 shm_add_rss_swap(struct shmid_kernel * shp,unsigned long * rss_add,unsigned long * swp_add) shm_add_rss_swap() argument
975 struct shmid_kernel *shp; shm_get_stat() local
997 struct shmid_kernel *shp; shmctl_down() local
1085 struct shmid_kernel *shp; shmctl_stat() local
1168 struct shmid_kernel *shp; shmctl_do_lock() local
1522 struct shmid_kernel *shp; do_shmat() local
1845 struct shmid_kernel *shp; sysvipc_shm_proc_show() local
[all...]
/linux/net/bridge/netfilter/
H A Debt_arpreply.c27 const unsigned char *shp; in ebt_arpreply_tg() local
40 shp = skb_header_pointer(skb, sizeof(_ah), ETH_ALEN, &_sha); in ebt_arpreply_tg()
41 if (shp == NULL) in ebt_arpreply_tg()
57 *diptr, shp, info->mac, shp); in ebt_arpreply_tg()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_cmn.c332 struct shared_phy *wlc_phy_shared_attach(struct shared_phy_params *shp) in wlc_phy_shared_attach() argument
340 sh->physhim = shp->physhim; in wlc_phy_shared_attach()
341 sh->unit = shp->unit; in wlc_phy_shared_attach()
342 sh->corerev = shp->corerev; in wlc_phy_shared_attach()
344 sh->vid = shp->vid; in wlc_phy_shared_attach()
345 sh->did = shp->did; in wlc_phy_shared_attach()
346 sh->chip = shp->chip; in wlc_phy_shared_attach()
347 sh->chiprev = shp->chiprev; in wlc_phy_shared_attach()
348 sh->chippkg = shp->chippkg; in wlc_phy_shared_attach()
349 sh->sromrev = shp->sromrev; in wlc_phy_shared_attach()
[all …]
H A Dphy_hal.h166 struct shared_phy *wlc_phy_shared_attach(struct shared_phy_params *shp);
/linux/security/
H A Dsecurity.c3528 * @shp: sysv ipc permission structure
3530 * Allocate and attach a security structure to the @shp security field. The
3535 int security_shm_alloc(struct kern_ipc_perm *shp) in security_shm_alloc() argument
3537 int rc = lsm_ipc_alloc(shp); in security_shm_alloc()
3541 rc = call_int_hook(shm_alloc_security, shp); in security_shm_alloc()
3543 security_shm_free(shp); in security_shm_alloc()
3549 * @shp: sysv ipc permission structure
3553 void security_shm_free(struct kern_ipc_perm *shp) in security_shm_free() argument
3555 call_void_hook(shm_free_security, shp); in security_shm_free()
3556 kfree(shp in security_shm_free()
3572 security_shm_associate(struct kern_ipc_perm * shp,int shmflg) security_shm_associate() argument
3587 security_shm_shmctl(struct kern_ipc_perm * shp,int cmd) security_shm_shmctl() argument
3604 security_shm_shmat(struct kern_ipc_perm * shp,char __user * shmaddr,int shmflg) security_shm_shmat() argument
[all...]
/linux/tools/perf/util/
H A Dsymbol.h60 GElf_Shdr *shp, const char *name, size_t *idx);
H A Dsymbol-elf.c187 GElf_Shdr *shp, const char *name, size_t *idx) in elf_section_by_name() argument
199 gelf_getshdr(sec, shp); in elf_section_by_name()
200 str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name); in elf_section_by_name()
/linux/Documentation/translations/zh_CN/scsi/
H A Dscsi_mid_low_api.rst722 * @shp: 指向目标主机的struct Scsi_Host实例
744 const char * info(struct Scsi_Host * shp)
/linux/security/selinux/
H A Dhooks.c6462 static int selinux_shm_alloc_security(struct kern_ipc_perm *shp) in selinux_msg_queue_msgrcv()
6468 isec = selinux_ipc(shp); in selinux_shm_alloc_security()
6472 ad.u.ipc_id = shp->key; in selinux_shm_alloc_security()
6478 static int selinux_shm_associate(struct kern_ipc_perm *shp, int shmflg) in selinux_shm_alloc_security()
6484 isec = selinux_ipc(shp); in selinux_shm_associate()
6487 ad.u.ipc_id = shp->key; in selinux_shm_associate()
6493 /* Note, at this point, shp is locked down */ in selinux_shm_associate()
6494 static int selinux_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in selinux_shm_associate()
6523 return ipc_has_perm(shp, perms); in selinux_shm_shmctl()
6526 static int selinux_shm_shmat(struct kern_ipc_perm *shp, in selinux_shm_shmctl()
6466 selinux_shm_alloc_security(struct kern_ipc_perm * shp) selinux_shm_alloc_security() argument
6482 selinux_shm_associate(struct kern_ipc_perm * shp,int shmflg) selinux_shm_associate() argument
6498 selinux_shm_shmctl(struct kern_ipc_perm * shp,int cmd) selinux_shm_shmctl() argument
6530 selinux_shm_shmat(struct kern_ipc_perm * shp,char __user * shmaddr,int shmflg) selinux_shm_shmat() argument
[all...]
/linux/drivers/scsi/
H A Dscsi_debug.c7492 static const char *scsi_debug_info(struct Scsi_Host *shp)
7500 scsi_debug_info(struct Scsi_Host * shp) scsi_debug_info() argument