/linux-4.1.27/ipc/ |
D | shm.c | 64 #define shm_unlock(shp) \ argument 65 ipc_unlock(&(shp)->shm_perm) 70 static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp); 91 struct shmid_kernel *shp; in do_shm_rmid() local 92 shp = container_of(ipcp, struct shmid_kernel, shm_perm); in do_shm_rmid() 94 if (shp->shm_nattch) { in do_shm_rmid() 95 shp->shm_perm.mode |= SHM_DEST; in do_shm_rmid() 97 shp->shm_perm.key = IPC_PRIVATE; in do_shm_rmid() 98 shm_unlock(shp); in do_shm_rmid() 100 shm_destroy(ns, shp); in do_shm_rmid() [all …]
|
/linux-4.1.27/net/bridge/netfilter/ |
D | ebt_arpreply.c | 26 const unsigned char *shp; in ebt_arpreply_tg() local 39 shp = skb_header_pointer(skb, sizeof(_ah), ETH_ALEN, &_sha); in ebt_arpreply_tg() 40 if (shp == NULL) in ebt_arpreply_tg() 55 *diptr, shp, info->mac, shp); in ebt_arpreply_tg()
|
/linux-4.1.27/drivers/scsi/ |
D | gdth.c | 3876 static const char *gdth_info(struct Scsi_Host *shp) in gdth_info() argument 3878 gdth_ha_str *ha = shost_priv(shp); in gdth_info() 4692 struct Scsi_Host *shp; in gdth_isa_probe_one() local 4700 shp = scsi_host_alloc(&gdth_template, sizeof(gdth_ha_str)); in gdth_isa_probe_one() 4701 if (!shp) in gdth_isa_probe_one() 4703 ha = shost_priv(shp); in gdth_isa_probe_one() 4727 shp->unchecked_isa_dma = 1; in gdth_isa_probe_one() 4728 shp->irq = ha->irq; in gdth_isa_probe_one() 4729 shp->dma_channel = ha->drq; in gdth_isa_probe_one() 4732 ha->shost = shp; in gdth_isa_probe_one() [all …]
|
D | scsi_debug.c | 4160 static const char * scsi_debug_info(struct Scsi_Host * shp) in scsi_debug_info() argument
|
/linux-4.1.27/include/linux/ |
D | security.h | 1646 int (*shm_alloc_security) (struct shmid_kernel *shp); 1647 void (*shm_free_security) (struct shmid_kernel *shp); 1648 int (*shm_associate) (struct shmid_kernel *shp, int shmflg); 1649 int (*shm_shmctl) (struct shmid_kernel *shp, int cmd); 1650 int (*shm_shmat) (struct shmid_kernel *shp, 1918 int security_shm_alloc(struct shmid_kernel *shp); 1919 void security_shm_free(struct shmid_kernel *shp); 1920 int security_shm_associate(struct shmid_kernel *shp, int shmflg); 1921 int security_shm_shmctl(struct shmid_kernel *shp, int cmd); 1922 int security_shm_shmat(struct shmid_kernel *shp, char __user *shmaddr, int shmflg); [all …]
|
/linux-4.1.27/security/ |
D | security.c | 1039 int security_shm_alloc(struct shmid_kernel *shp) in security_shm_alloc() argument 1041 return security_ops->shm_alloc_security(shp); in security_shm_alloc() 1044 void security_shm_free(struct shmid_kernel *shp) in security_shm_free() argument 1046 security_ops->shm_free_security(shp); in security_shm_free() 1049 int security_shm_associate(struct shmid_kernel *shp, int shmflg) in security_shm_associate() argument 1051 return security_ops->shm_associate(shp, shmflg); in security_shm_associate() 1054 int security_shm_shmctl(struct shmid_kernel *shp, int cmd) in security_shm_shmctl() argument 1056 return security_ops->shm_shmctl(shp, cmd); in security_shm_shmctl() 1059 int security_shm_shmat(struct shmid_kernel *shp, char __user *shmaddr, int shmflg) in security_shm_shmat() argument 1061 return security_ops->shm_shmat(shp, shmaddr, shmflg); in security_shm_shmat()
|
D | capability.c | 548 static int cap_shm_alloc_security(struct shmid_kernel *shp) in cap_shm_alloc_security() argument 553 static void cap_shm_free_security(struct shmid_kernel *shp) in cap_shm_free_security() argument 557 static int cap_shm_associate(struct shmid_kernel *shp, int shmflg) in cap_shm_associate() argument 562 static int cap_shm_shmctl(struct shmid_kernel *shp, int cmd) in cap_shm_shmctl() argument 567 static int cap_shm_shmat(struct shmid_kernel *shp, char __user *shmaddr, in cap_shm_shmat() argument
|
/linux-4.1.27/security/smack/ |
D | smack_lsm.c | 2620 static struct smack_known *smack_of_shm(struct shmid_kernel *shp) in smack_of_shm() argument 2622 return (struct smack_known *)shp->shm_perm.security; in smack_of_shm() 2631 static int smack_shm_alloc_security(struct shmid_kernel *shp) in smack_shm_alloc_security() argument 2633 struct kern_ipc_perm *isp = &shp->shm_perm; in smack_shm_alloc_security() 2646 static void smack_shm_free_security(struct shmid_kernel *shp) in smack_shm_free_security() argument 2648 struct kern_ipc_perm *isp = &shp->shm_perm; in smack_shm_free_security() 2660 static int smk_curacc_shm(struct shmid_kernel *shp, int access) in smk_curacc_shm() argument 2662 struct smack_known *ssp = smack_of_shm(shp); in smk_curacc_shm() 2668 ad.a.u.ipc_id = shp->shm_perm.id; in smk_curacc_shm() 2682 static int smack_shm_associate(struct shmid_kernel *shp, int shmflg) in smack_shm_associate() argument [all …]
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_cmn.c | 365 struct shared_phy *wlc_phy_shared_attach(struct shared_phy_params *shp) in wlc_phy_shared_attach() argument 373 sh->physhim = shp->physhim; in wlc_phy_shared_attach() 374 sh->unit = shp->unit; in wlc_phy_shared_attach() 375 sh->corerev = shp->corerev; in wlc_phy_shared_attach() 377 sh->vid = shp->vid; in wlc_phy_shared_attach() 378 sh->did = shp->did; in wlc_phy_shared_attach() 379 sh->chip = shp->chip; in wlc_phy_shared_attach() 380 sh->chiprev = shp->chiprev; in wlc_phy_shared_attach() 381 sh->chippkg = shp->chippkg; in wlc_phy_shared_attach() 382 sh->sromrev = shp->sromrev; in wlc_phy_shared_attach() [all …]
|
D | phy_hal.h | 182 struct shared_phy *wlc_phy_shared_attach(struct shared_phy_params *shp);
|
/linux-4.1.27/security/selinux/ |
D | hooks.c | 5326 static int selinux_shm_alloc_security(struct shmid_kernel *shp) in selinux_shm_alloc_security() argument 5333 rc = ipc_alloc_security(current, &shp->shm_perm, SECCLASS_SHM); in selinux_shm_alloc_security() 5337 isec = shp->shm_perm.security; in selinux_shm_alloc_security() 5340 ad.u.ipc_id = shp->shm_perm.key; in selinux_shm_alloc_security() 5345 ipc_free_security(&shp->shm_perm); in selinux_shm_alloc_security() 5351 static void selinux_shm_free_security(struct shmid_kernel *shp) in selinux_shm_free_security() argument 5353 ipc_free_security(&shp->shm_perm); in selinux_shm_free_security() 5356 static int selinux_shm_associate(struct shmid_kernel *shp, int shmflg) in selinux_shm_associate() argument 5362 isec = shp->shm_perm.security; in selinux_shm_associate() 5365 ad.u.ipc_id = shp->shm_perm.key; in selinux_shm_associate() [all …]
|
/linux-4.1.27/drivers/atm/ |
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-4.1.27/tools/perf/util/ |
D | symbol.h | 38 GElf_Shdr *shp, const char *name, size_t *idx);
|
D | symbol-elf.c | 173 GElf_Shdr *shp, const char *name, size_t *idx) in elf_section_by_name() argument 185 gelf_getshdr(sec, shp); in elf_section_by_name() 186 str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name); in elf_section_by_name()
|
/linux-4.1.27/Documentation/scsi/ |
D | scsi_mid_low_api.txt | 699 * @shp: pointer to scsi host instance to unregister. 712 void scsi_unregister(struct Scsi_Host * shp) 917 * @shp: host to supply information about 941 const char * info(struct Scsi_Host * shp) 1078 * @shp: host to be released. 1088 * scsi_unregister(shp) prior to returning. 1094 int release(struct Scsi_Host * shp)
|
/linux-4.1.27/drivers/staging/unisys/virthba/ |
D | virthba.c | 82 static const char *virthba_get_info(struct Scsi_Host *shp); 788 virthba_get_info(struct Scsi_Host *shp) in virthba_get_info() argument
|