/linux/ipc/ |
A D | shm.c | 133 shm_unlock(shp); in do_shm_rmid() 235 kfree(shp); in shm_rcu_free() 286 if (IS_ERR(shp)) in __shm_open() 298 shm_unlock(shp); in __shm_open() 329 shm_rmid(shp); in shm_destroy() 330 shm_unlock(shp); in shm_destroy() 446 ns = shp->ns; in exit_shm() 711 shp = kmalloc(sizeof(*shp), GFP_KERNEL_ACCOUNT); in newseg() 722 kfree(shp); in newseg() 759 shp->shm_atim = shp->shm_dtim = 0; in newseg() [all …]
|
/linux/net/bridge/netfilter/ |
A D | ebt_arpreply.c | 27 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/include/linux/ |
A D | security.h | 450 int security_shm_alloc(struct kern_ipc_perm *shp); 451 void security_shm_free(struct kern_ipc_perm *shp); 452 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg); 453 int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd); 454 int security_shm_shmat(struct kern_ipc_perm *shp, char __user *shmaddr, int shmflg); 1246 static inline int security_shm_alloc(struct kern_ipc_perm *shp) in security_shm_alloc() argument 1251 static inline void security_shm_free(struct kern_ipc_perm *shp) in security_shm_free() argument 1254 static inline int security_shm_associate(struct kern_ipc_perm *shp, in security_shm_associate() argument 1260 static inline int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in security_shm_shmctl() argument 1265 static inline int security_shm_shmat(struct kern_ipc_perm *shp, in security_shm_shmat() argument
|
/linux/security/ |
A D | security.c | 1967 int security_shm_alloc(struct kern_ipc_perm *shp) in security_shm_alloc() argument 1969 int rc = lsm_ipc_alloc(shp); in security_shm_alloc() 1973 rc = call_int_hook(shm_alloc_security, 0, shp); in security_shm_alloc() 1975 security_shm_free(shp); in security_shm_alloc() 1979 void security_shm_free(struct kern_ipc_perm *shp) in security_shm_free() argument 1981 call_void_hook(shm_free_security, shp); in security_shm_free() 1982 kfree(shp->security); in security_shm_free() 1983 shp->security = NULL; in security_shm_free() 1988 return call_int_hook(shm_associate, 0, shp, shmflg); in security_shm_associate() 1993 return call_int_hook(shm_shmctl, 0, shp, cmd); in security_shm_shmctl() [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
A D | phy_cmn.c | 362 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 …]
|
A D | phy_hal.h | 171 struct shared_phy *wlc_phy_shared_attach(struct shared_phy_params *shp);
|
/linux/drivers/atm/ |
A D | eni.c | 1959 int error,rate,rsv,shp; in eni_change_qos() local 1965 rsv = shp = 0; in eni_change_qos() 1968 if ((flgs & ATM_MF_DEC_SHP) && rate && rate < tx->shaping) shp = 1; in eni_change_qos() 1969 if ((flgs & ATM_MF_INC_SHP) && (!rate || rate > tx->shaping)) shp = 1; in eni_change_qos() 1970 if (!rsv && !shp) return 0; in eni_change_qos() 1971 error = reserve_or_set_tx(vcc,&qos->txtp,rsv,shp); in eni_change_qos() 1973 if (shp && !(flgs & ATM_MF_IMMED)) return 0; in eni_change_qos()
|
/linux/tools/perf/util/ |
A D | symbol.h | 40 GElf_Shdr *shp, const char *name, size_t *idx);
|
A D | symbol-elf.c | 211 GElf_Shdr *shp, const char *name, size_t *idx) in elf_section_by_name() argument 223 gelf_getshdr(sec, shp); in elf_section_by_name() 224 str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name); in elf_section_by_name()
|
/linux/security/selinux/ |
A D | hooks.c | 6187 static int selinux_shm_alloc_security(struct kern_ipc_perm *shp) in selinux_shm_alloc_security() argument 6194 isec = selinux_ipc(shp); in selinux_shm_alloc_security() 6198 ad.u.ipc_id = shp->key; in selinux_shm_alloc_security() 6206 static int selinux_shm_associate(struct kern_ipc_perm *shp, int shmflg) in selinux_shm_associate() argument 6212 isec = selinux_ipc(shp); in selinux_shm_associate() 6215 ad.u.ipc_id = shp->key; in selinux_shm_associate() 6223 static int selinux_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in selinux_shm_shmctl() argument 6254 err = ipc_has_perm(shp, perms); in selinux_shm_shmctl() 6258 static int selinux_shm_shmat(struct kern_ipc_perm *shp, in selinux_shm_shmat() argument 6268 return ipc_has_perm(shp, perms); in selinux_shm_shmat()
|
/linux/drivers/staging/unisys/visorhba/ |
A D | visorhba_main.c | 409 static const char *visorhba_get_info(struct Scsi_Host *shp) in visorhba_get_info() argument
|
/linux/Documentation/scsi/ |
A D | scsi_mid_low_api.rst | 606 * @shp: pointer to scsi host instance to unregister. 619 void scsi_unregister(struct Scsi_Host * shp) 803 * @shp: host to supply information about 827 const char * info(struct Scsi_Host * shp)
|
/linux/drivers/scsi/ |
A D | scsi_debug.c | 5773 static const char *scsi_debug_info(struct Scsi_Host *shp) in scsi_debug_info() argument
|