/Linux-v5.4/ipc/ |
D | shm.c | 88 #define shm_unlock(shp) \ argument 89 ipc_unlock(&(shp)->shm_perm) 94 static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp); 115 struct shmid_kernel *shp; in do_shm_rmid() local 117 shp = container_of(ipcp, struct shmid_kernel, shm_perm); in do_shm_rmid() 119 if (shp->shm_nattch) { in do_shm_rmid() 120 shp->shm_perm.mode |= SHM_DEST; in do_shm_rmid() 122 ipc_set_key_private(&shm_ids(ns), &shp->shm_perm); in do_shm_rmid() 123 shm_unlock(shp); in do_shm_rmid() 125 shm_destroy(ns, shp); in do_shm_rmid() [all …]
|
/Linux-v5.4/net/bridge/netfilter/ |
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-v5.4/include/linux/ |
D | security.h | 420 int security_shm_alloc(struct kern_ipc_perm *shp); 421 void security_shm_free(struct kern_ipc_perm *shp); 422 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg); 423 int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd); 424 int security_shm_shmat(struct kern_ipc_perm *shp, char __user *shmaddr, int shmflg); 1161 static inline int security_shm_alloc(struct kern_ipc_perm *shp) in security_shm_alloc() argument 1166 static inline void security_shm_free(struct kern_ipc_perm *shp) in security_shm_free() argument 1169 static inline int security_shm_associate(struct kern_ipc_perm *shp, in security_shm_associate() argument 1175 static inline int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in security_shm_shmctl() argument 1180 static inline int security_shm_shmat(struct kern_ipc_perm *shp, in security_shm_shmat() argument
|
/Linux-v5.4/security/ |
D | security.c | 1801 int security_shm_alloc(struct kern_ipc_perm *shp) in security_shm_alloc() argument 1803 int rc = lsm_ipc_alloc(shp); in security_shm_alloc() 1807 rc = call_int_hook(shm_alloc_security, 0, shp); in security_shm_alloc() 1809 security_shm_free(shp); in security_shm_alloc() 1813 void security_shm_free(struct kern_ipc_perm *shp) in security_shm_free() argument 1815 call_void_hook(shm_free_security, shp); in security_shm_free() 1816 kfree(shp->security); in security_shm_free() 1817 shp->security = NULL; in security_shm_free() 1820 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg) in security_shm_associate() argument 1822 return call_int_hook(shm_associate, 0, shp, shmflg); in security_shm_associate() [all …]
|
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_cmn.c | 354 struct shared_phy *wlc_phy_shared_attach(struct shared_phy_params *shp) in wlc_phy_shared_attach() argument 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() [all …]
|
D | phy_hal.h | 171 struct shared_phy *wlc_phy_shared_attach(struct shared_phy_params *shp);
|
/Linux-v5.4/drivers/scsi/ |
D | gdth.c | 3266 static const char *gdth_info(struct Scsi_Host *shp) in gdth_info() argument 3268 gdth_ha_str *ha = shost_priv(shp); in gdth_info() 4092 struct Scsi_Host *shp; in gdth_pci_probe_one() local 4100 shp = scsi_host_alloc(&gdth_template, sizeof(gdth_ha_str)); in gdth_pci_probe_one() 4101 if (!shp) in gdth_pci_probe_one() 4103 ha = shost_priv(shp); in gdth_pci_probe_one() 4122 shp->unchecked_isa_dma = 0; in gdth_pci_probe_one() 4123 shp->irq = ha->irq; in gdth_pci_probe_one() 4124 shp->dma_channel = 0xff; in gdth_pci_probe_one() 4127 ha->shost = shp; in gdth_pci_probe_one() [all …]
|
D | scsi_debug.c | 4534 static const char *scsi_debug_info(struct Scsi_Host *shp) in scsi_debug_info() argument
|
/Linux-v5.4/drivers/atm/ |
D | eni.c | 1963 int error,rate,rsv,shp; in eni_change_qos() local 1969 rsv = shp = 0; in eni_change_qos() 1972 if ((flgs & ATM_MF_DEC_SHP) && rate && rate < tx->shaping) shp = 1; in eni_change_qos() 1973 if ((flgs & ATM_MF_INC_SHP) && (!rate || rate > tx->shaping)) shp = 1; in eni_change_qos() 1974 if (!rsv && !shp) return 0; in eni_change_qos() 1975 error = reserve_or_set_tx(vcc,&qos->txtp,rsv,shp); in eni_change_qos() 1977 if (shp && !(flgs & ATM_MF_IMMED)) return 0; in eni_change_qos()
|
/Linux-v5.4/tools/perf/util/ |
D | symbol.h | 38 GElf_Shdr *shp, const char *name, size_t *idx);
|
D | symbol-elf.c | 208 GElf_Shdr *shp, const char *name, size_t *idx) in elf_section_by_name() argument 220 gelf_getshdr(sec, shp); in elf_section_by_name() 221 str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name); in elf_section_by_name()
|
/Linux-v5.4/security/selinux/ |
D | hooks.c | 6056 static int selinux_shm_alloc_security(struct kern_ipc_perm *shp) in selinux_shm_alloc_security() argument 6063 isec = selinux_ipc(shp); in selinux_shm_alloc_security() 6067 ad.u.ipc_id = shp->key; in selinux_shm_alloc_security() 6075 static int selinux_shm_associate(struct kern_ipc_perm *shp, int shmflg) in selinux_shm_associate() argument 6081 isec = selinux_ipc(shp); in selinux_shm_associate() 6084 ad.u.ipc_id = shp->key; in selinux_shm_associate() 6092 static int selinux_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in selinux_shm_shmctl() argument 6123 err = ipc_has_perm(shp, perms); in selinux_shm_shmctl() 6127 static int selinux_shm_shmat(struct kern_ipc_perm *shp, in selinux_shm_shmat() argument 6137 return ipc_has_perm(shp, perms); in selinux_shm_shmat()
|
/Linux-v5.4/drivers/staging/unisys/visorhba/ |
D | visorhba_main.c | 463 static const char *visorhba_get_info(struct Scsi_Host *shp) in visorhba_get_info() argument
|
/Linux-v5.4/Documentation/scsi/ |
D | scsi_mid_low_api.txt | 624 * @shp: pointer to scsi host instance to unregister. 637 void scsi_unregister(struct Scsi_Host * shp) 818 * @shp: host to supply information about 842 const char * info(struct Scsi_Host * shp)
|