Home
last modified time | relevance | path

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

/linux/ipc/
H A Dshm.c99 #define shm_unlock(shp) \ argument
100 ipc_unlock(&(shp)->shm_perm)
105 static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp);
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->shm_perm.mode |= SHM_DEST; in do_shm_rmid()
134 ipc_set_key_private(&shm_ids(ns), &shp->shm_perm); in do_shm_rmid()
135 shm_unlock(shp); in do_shm_rmid()
[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.c3535 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()
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->security); in security_shm_free()
3557 shp->security = NULL; in security_shm_free()
3572 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg) in security_shm_associate() argument
3574 return call_int_hook(shm_associate, shp, shmflg); in security_shm_associate()
[all …]
/linux/tools/perf/util/
H A Dsymbol.h43 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.c6466 static int selinux_shm_alloc_security(struct kern_ipc_perm *shp) in selinux_shm_alloc_security() argument
6472 isec = selinux_ipc(shp); in selinux_shm_alloc_security()
6476 ad.u.ipc_id = shp->key; in selinux_shm_alloc_security()
6482 static int selinux_shm_associate(struct kern_ipc_perm *shp, int shmflg) in selinux_shm_associate() argument
6488 isec = selinux_ipc(shp); in selinux_shm_associate()
6491 ad.u.ipc_id = shp->key; in selinux_shm_associate()
6498 static int selinux_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in selinux_shm_shmctl() argument
6527 return ipc_has_perm(shp, perms); in selinux_shm_shmctl()
6530 static int selinux_shm_shmat(struct kern_ipc_perm *shp, in selinux_shm_shmat() argument
6540 return ipc_has_perm(shp, perms); in selinux_shm_shmat()
/linux/drivers/scsi/
H A Dscsi_debug.c7500 static const char *scsi_debug_info(struct Scsi_Host *shp) in scsi_debug_info() argument