Home
last modified time | relevance | path

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

/linux-6.15/ipc/
H A Dshm.c134 shm_unlock(shp); in do_shm_rmid()
236 kfree(shp); in shm_rcu_free()
285 if (IS_ERR(shp)) in __shm_open()
297 shm_unlock(shp); in __shm_open()
336 shm_rmid(shp); in shm_destroy()
337 shm_unlock(shp); in shm_destroy()
463 ns = shp->ns; in exit_shm()
719 shp = kmalloc(sizeof(*shp), GFP_KERNEL_ACCOUNT); in newseg()
730 kfree(shp); in newseg()
767 shp->shm_atim = shp->shm_dtim = 0; in newseg()
[all …]
/linux-6.15/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-6.15/include/linux/
H A Dsecurity.h547 int security_shm_alloc(struct kern_ipc_perm *shp);
548 void security_shm_free(struct kern_ipc_perm *shp);
549 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg);
550 int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd);
551 int security_shm_shmat(struct kern_ipc_perm *shp, char __user *shmaddr, int shmflg);
1450 static inline int security_shm_alloc(struct kern_ipc_perm *shp) in security_shm_alloc() argument
1455 static inline void security_shm_free(struct kern_ipc_perm *shp) in security_shm_free() argument
1458 static inline int security_shm_associate(struct kern_ipc_perm *shp, in security_shm_associate() argument
1464 static inline int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in security_shm_shmctl() argument
1469 static inline int security_shm_shmat(struct kern_ipc_perm *shp, in security_shm_shmat() argument
/linux-6.15/security/
H A Dsecurity.c3910 int security_shm_alloc(struct kern_ipc_perm *shp) in security_shm_alloc() argument
3912 int rc = lsm_ipc_alloc(shp); in security_shm_alloc()
3916 rc = call_int_hook(shm_alloc_security, shp); in security_shm_alloc()
3918 security_shm_free(shp); in security_shm_alloc()
3928 void security_shm_free(struct kern_ipc_perm *shp) in security_shm_free() argument
3930 call_void_hook(shm_free_security, shp); in security_shm_free()
3931 kfree(shp->security); in security_shm_free()
3932 shp->security = NULL; in security_shm_free()
3949 return call_int_hook(shm_associate, shp, shmflg); in security_shm_associate()
3964 return call_int_hook(shm_shmctl, shp, cmd); in security_shm_shmctl()
[all …]
/linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_cmn.c362 sh->physhim = shp->physhim; in wlc_phy_shared_attach()
363 sh->unit = shp->unit; in wlc_phy_shared_attach()
364 sh->corerev = shp->corerev; in wlc_phy_shared_attach()
366 sh->vid = shp->vid; in wlc_phy_shared_attach()
367 sh->did = shp->did; in wlc_phy_shared_attach()
368 sh->chip = shp->chip; in wlc_phy_shared_attach()
369 sh->chiprev = shp->chiprev; in wlc_phy_shared_attach()
370 sh->chippkg = shp->chippkg; in wlc_phy_shared_attach()
371 sh->sromrev = shp->sromrev; in wlc_phy_shared_attach()
372 sh->boardtype = shp->boardtype; in wlc_phy_shared_attach()
[all …]
H A Dphy_hal.h166 struct shared_phy *wlc_phy_shared_attach(struct shared_phy_params *shp);
/linux-6.15/drivers/atm/
H A Deni.c1961 int error,rate,rsv,shp; in eni_change_qos() local
1967 rsv = shp = 0; in eni_change_qos()
1970 if ((flgs & ATM_MF_DEC_SHP) && rate && rate < tx->shaping) shp = 1; in eni_change_qos()
1971 if ((flgs & ATM_MF_INC_SHP) && (!rate || rate > tx->shaping)) shp = 1; in eni_change_qos()
1972 if (!rsv && !shp) return 0; in eni_change_qos()
1973 error = reserve_or_set_tx(vcc,&qos->txtp,rsv,shp); in eni_change_qos()
1975 if (shp && !(flgs & ATM_MF_IMMED)) return 0; in eni_change_qos()
/linux-6.15/tools/perf/util/
H A Dsymbol.h41 GElf_Shdr *shp, const char *name, size_t *idx);
H A Dsymbol-elf.c202 GElf_Shdr *shp, const char *name, size_t *idx) in elf_section_by_name() argument
214 gelf_getshdr(sec, shp); in elf_section_by_name()
215 str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name); in elf_section_by_name()
/linux-6.15/security/selinux/
H A Dhooks.c6225 static int selinux_shm_alloc_security(struct kern_ipc_perm *shp) in selinux_shm_alloc_security() argument
6231 isec = selinux_ipc(shp); in selinux_shm_alloc_security()
6235 ad.u.ipc_id = shp->key; in selinux_shm_alloc_security()
6241 static int selinux_shm_associate(struct kern_ipc_perm *shp, int shmflg) in selinux_shm_associate() argument
6247 isec = selinux_ipc(shp); in selinux_shm_associate()
6250 ad.u.ipc_id = shp->key; in selinux_shm_associate()
6257 static int selinux_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in selinux_shm_shmctl() argument
6286 return ipc_has_perm(shp, perms); in selinux_shm_shmctl()
6289 static int selinux_shm_shmat(struct kern_ipc_perm *shp, in selinux_shm_shmat() argument
6299 return ipc_has_perm(shp, perms); in selinux_shm_shmat()
/linux-6.15/Documentation/scsi/
H A Dscsi_mid_low_api.rst754 * @shp: host to supply information about
774 const char * info(struct Scsi_Host * shp)
/linux-6.15/drivers/scsi/
H A Dscsi_debug.c7400 static const char *scsi_debug_info(struct Scsi_Host *shp) in scsi_debug_info() argument