Home
last modified time | relevance | path

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

/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.c3615 * @shp: sysv ipc permission structure
3617 * Allocate and attach a security structure to the @shp security field. The
3622 int security_shm_alloc(struct kern_ipc_perm *shp) in security_sem_alloc()
3624 int rc = lsm_ipc_alloc(shp); in security_sem_alloc()
3628 rc = call_int_hook(shm_alloc_security, shp); in security_sem_alloc()
3630 security_shm_free(shp);
3636 * @shp: sysv ipc permission structure in security_sem_free()
3640 void security_shm_free(struct kern_ipc_perm *shp) in security_sem_free()
3642 call_void_hook(shm_free_security, shp);
3643 kfree(shp
3534 security_shm_alloc(struct kern_ipc_perm * shp) security_shm_alloc() argument
3552 security_shm_free(struct kern_ipc_perm * shp) security_shm_free() argument
3571 security_shm_associate(struct kern_ipc_perm * shp,int shmflg) security_shm_associate() argument
3586 security_shm_shmctl(struct kern_ipc_perm * shp,int cmd) security_shm_shmctl() argument
3603 security_shm_shmat(struct kern_ipc_perm * shp,char __user * shmaddr,int shmflg) security_shm_shmat() argument
[all...]
/linux/include/linux/
H A Dsecurity.h564 int security_shm_alloc(struct kern_ipc_perm *shp);
565 void security_shm_free(struct kern_ipc_perm *shp);
566 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg);
567 int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd);
568 int security_shm_shmat(struct kern_ipc_perm *shp, char __user *shmaddr, int shmflg);
1517 static inline int security_shm_alloc(struct kern_ipc_perm *shp) in security_sem_free()
1522 static inline void security_shm_free(struct kern_ipc_perm *shp) in security_sem_associate()
1525 static inline int security_shm_associate(struct kern_ipc_perm *shp, in security_sem_semctl()
1531 static inline int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in security_sem_semop()
1536 static inline int security_shm_shmat(struct kern_ipc_perm *shp,
1487 security_shm_alloc(struct kern_ipc_perm * shp) security_shm_alloc() argument
1492 security_shm_free(struct kern_ipc_perm * shp) security_shm_free() argument
1495 security_shm_associate(struct kern_ipc_perm * shp,int shmflg) security_shm_associate() argument
1501 security_shm_shmctl(struct kern_ipc_perm * shp,int cmd) security_shm_shmctl() argument
1506 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.h70 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.c6626 static int selinux_shm_alloc_security(struct kern_ipc_perm *shp) in selinux_shm_alloc_security()
6632 isec = selinux_ipc(shp); in selinux_shm_associate()
6636 ad.u.ipc_id = shp->key; in selinux_shm_associate()
6642 static int selinux_shm_associate(struct kern_ipc_perm *shp, int shmflg) in selinux_shm_associate()
6648 isec = selinux_ipc(shp); in selinux_shm_shmctl()
6651 ad.u.ipc_id = shp->key; in selinux_shm_shmctl()
6657 /* Note, at this point, shp is locked down */ in selinux_shm_shmctl()
6658 static int selinux_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in selinux_shm_shmctl()
6687 return ipc_has_perm(shp, perms); in selinux_shm_shmat()
6690 static int selinux_shm_shmat(struct kern_ipc_perm *shp, in selinux_shm_shmat()
6615 selinux_shm_alloc_security(struct kern_ipc_perm * shp) selinux_shm_alloc_security() argument
6631 selinux_shm_associate(struct kern_ipc_perm * shp,int shmflg) selinux_shm_associate() argument
6647 selinux_shm_shmctl(struct kern_ipc_perm * shp,int cmd) selinux_shm_shmctl() argument
6679 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.c7818 static const char *scsi_debug_info(struct Scsi_Host *shp) in num_tgts_store()
7450 scsi_debug_info(struct Scsi_Host * shp) scsi_debug_info() argument