| /linux/ipc/ |
| H A D | shm.c | 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); 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 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/security/ |
| H A D | security.c | 3425 * @shp: sysv ipc permission structure 3427 * Allocate and attach a security structure to the @shp security field. The 3432 int security_shm_alloc(struct kern_ipc_perm *shp) in security_shm_alloc() argument 3434 int rc = lsm_ipc_alloc(shp); in security_shm_alloc() 3438 rc = call_int_hook(shm_alloc_security, shp); in security_shm_alloc() 3440 security_shm_free(shp); in security_shm_alloc() 3446 * @shp: sysv ipc permission structure 3450 void security_shm_free(struct kern_ipc_perm *shp) in security_shm_free() argument 3452 call_void_hook(shm_free_security, shp); in security_shm_free() 3453 kfree(shp in security_shm_free() 3469 security_shm_associate(struct kern_ipc_perm * shp,int shmflg) security_shm_associate() argument 3484 security_shm_shmctl(struct kern_ipc_perm * shp,int cmd) security_shm_shmctl() argument 3501 security_shm_shmat(struct kern_ipc_perm * shp,char __user * shmaddr,int shmflg) security_shm_shmat() argument [all...] |
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phy_cmn.c | 332 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 D | phy_hal.h | 166 struct shared_phy *wlc_phy_shared_attach(struct shared_phy_params *shp);
|
| /linux/drivers/atm/ |
| H A D | eni.c | 1960 int error,rate,rsv,shp; in eni_change_qos() local 1966 rsv = shp = 0; in eni_change_qos() 1969 if ((flgs & ATM_MF_DEC_SHP) && rate && rate < tx->shaping) shp = 1; in eni_change_qos() 1970 if ((flgs & ATM_MF_INC_SHP) && (!rate || rate > tx->shaping)) shp = 1; in eni_change_qos() 1971 if (!rsv && !shp) return 0; in eni_change_qos() 1972 error = reserve_or_set_tx(vcc,&qos->txtp,rsv,shp); in eni_change_qos() 1974 if (shp && !(flgs & ATM_MF_IMMED)) return 0; in eni_change_qos()
|
| /linux/tools/perf/util/ |
| H A D | symbol.h | 41 GElf_Shdr *shp, const char *name, size_t *idx);
|
| H A D | symbol-elf.c | 187 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 D | scsi_mid_low_api.rst | 722 * @shp: 指向目标主机的struct Scsi_Host实例 744 const char * info(struct Scsi_Host * shp)
|
| /linux/security/selinux/ |
| H A D | hooks.c | 6358 static int selinux_shm_alloc_security(struct kern_ipc_perm *shp) in selinux_shm_alloc_security() argument 6364 isec = selinux_ipc(shp); in selinux_shm_alloc_security() 6368 ad.u.ipc_id = shp->key; in selinux_shm_alloc_security() 6374 static int selinux_shm_associate(struct kern_ipc_perm *shp, int shmflg) in selinux_shm_associate() argument 6380 isec = selinux_ipc(shp); in selinux_shm_associate() 6383 ad.u.ipc_id = shp->key; in selinux_shm_associate() 6390 static int selinux_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in selinux_shm_shmctl() argument 6419 return ipc_has_perm(shp, perms); in selinux_shm_shmctl() 6422 static int selinux_shm_shmat(struct kern_ipc_perm *shp, in selinux_shm_shmat() argument 6432 return ipc_has_perm(shp, perms); in selinux_shm_shmat()
|
| /linux/drivers/scsi/ |
| H A D | scsi_debug.c | 7500 static const char *scsi_debug_info(struct Scsi_Host *shp) in scsi_debug_info() argument
|