/Linux-v4.19/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-v4.19/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() 56 *diptr, shp, info->mac, shp); in ebt_arpreply_tg()
|
/Linux-v4.19/drivers/scsi/ |
D | gdth.c | 3874 static const char *gdth_info(struct Scsi_Host *shp) in gdth_info() argument 3876 gdth_ha_str *ha = shost_priv(shp); in gdth_info() 4690 struct Scsi_Host *shp; in gdth_isa_probe_one() local 4698 shp = scsi_host_alloc(&gdth_template, sizeof(gdth_ha_str)); in gdth_isa_probe_one() 4699 if (!shp) in gdth_isa_probe_one() 4701 ha = shost_priv(shp); in gdth_isa_probe_one() 4725 shp->unchecked_isa_dma = 1; in gdth_isa_probe_one() 4726 shp->irq = ha->irq; in gdth_isa_probe_one() 4727 shp->dma_channel = ha->drq; in gdth_isa_probe_one() 4730 ha->shost = shp; in gdth_isa_probe_one() [all …]
|
D | scsi_debug.c | 4621 static const char *scsi_debug_info(struct Scsi_Host *shp) in scsi_debug_info() argument
|
/Linux-v4.19/include/linux/ |
D | security.h | 381 int security_shm_alloc(struct kern_ipc_perm *shp); 382 void security_shm_free(struct kern_ipc_perm *shp); 383 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg); 384 int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd); 385 int security_shm_shmat(struct kern_ipc_perm *shp, char __user *shmaddr, int shmflg); 1092 static inline int security_shm_alloc(struct kern_ipc_perm *shp) in security_shm_alloc() argument 1097 static inline void security_shm_free(struct kern_ipc_perm *shp) in security_shm_free() argument 1100 static inline int security_shm_associate(struct kern_ipc_perm *shp, in security_shm_associate() argument 1106 static inline int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in security_shm_shmctl() argument 1111 static inline int security_shm_shmat(struct kern_ipc_perm *shp, in security_shm_shmat() argument
|
D | lsm_hooks.h | 1631 int (*shm_alloc_security)(struct kern_ipc_perm *shp); 1632 void (*shm_free_security)(struct kern_ipc_perm *shp); 1633 int (*shm_associate)(struct kern_ipc_perm *shp, int shmflg); 1634 int (*shm_shmctl)(struct kern_ipc_perm *shp, int cmd); 1635 int (*shm_shmat)(struct kern_ipc_perm *shp, char __user *shmaddr,
|
/Linux-v4.19/security/ |
D | security.c | 1232 int security_shm_alloc(struct kern_ipc_perm *shp) in security_shm_alloc() argument 1234 return call_int_hook(shm_alloc_security, 0, shp); in security_shm_alloc() 1237 void security_shm_free(struct kern_ipc_perm *shp) in security_shm_free() argument 1239 call_void_hook(shm_free_security, shp); in security_shm_free() 1242 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg) in security_shm_associate() argument 1244 return call_int_hook(shm_associate, 0, shp, shmflg); in security_shm_associate() 1247 int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in security_shm_shmctl() argument 1249 return call_int_hook(shm_shmctl, 0, shp, cmd); in security_shm_shmctl() 1252 int security_shm_shmat(struct kern_ipc_perm *shp, char __user *shmaddr, int shmflg) in security_shm_shmat() argument 1254 return call_int_hook(shm_shmat, 0, shp, shmaddr, shmflg); in security_shm_shmat()
|
/Linux-v4.19/drivers/net/wireless/broadcom/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-v4.19/drivers/atm/ |
D | eni.c | 1961 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-v4.19/security/selinux/ |
D | hooks.c | 6143 static int selinux_shm_alloc_security(struct kern_ipc_perm *shp) in selinux_shm_alloc_security() argument 6150 rc = ipc_alloc_security(shp, SECCLASS_SHM); in selinux_shm_alloc_security() 6154 isec = shp->security; in selinux_shm_alloc_security() 6157 ad.u.ipc_id = shp->key; in selinux_shm_alloc_security() 6163 ipc_free_security(shp); in selinux_shm_alloc_security() 6169 static void selinux_shm_free_security(struct kern_ipc_perm *shp) in selinux_shm_free_security() argument 6171 ipc_free_security(shp); in selinux_shm_free_security() 6174 static int selinux_shm_associate(struct kern_ipc_perm *shp, int shmflg) in selinux_shm_associate() argument 6180 isec = shp->security; in selinux_shm_associate() 6183 ad.u.ipc_id = shp->key; in selinux_shm_associate() [all …]
|
/Linux-v4.19/tools/perf/util/ |
D | symbol.h | 39 GElf_Shdr *shp, const char *name, size_t *idx);
|
D | symbol-elf.c | 172 GElf_Shdr *shp, const char *name, size_t *idx) in elf_section_by_name() argument 184 gelf_getshdr(sec, shp); in elf_section_by_name() 185 str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name); in elf_section_by_name()
|
/Linux-v4.19/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-v4.19/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)
|