Home
last modified time | relevance | path

Searched refs:sma (Results 1 – 15 of 15) sorted by relevance

/linux/ipc/
A Dsem.c329 kvfree(sma); in sem_rcu_free()
514 if (nsems > (INT_MAX - sizeof(*sma)) / sizeof(sma->sems[0])) in sem_alloc()
517 sma = kvzalloc(struct_size(sma, sems, nsems), GFP_KERNEL_ACCOUNT); in sem_alloc()
518 if (unlikely(!sma)) in sem_alloc()
521 return sma; in sem_alloc()
546 if (!sma) in newary()
555 kvfree(sma); in newary()
1187 sem_rmid(ns, sma); in freeary()
1358 if (IS_ERR(sma)) { in semctl_setval()
1418 if (IS_ERR(sma)) { in semctl_main()
[all …]
/linux/drivers/ptp/
A Dptp_ocp.c213 struct gpio_reg __iomem *sma; member
387 OCP_MEM_RESOURCE(sma),
1614 if (sma->mode == SMA_MODE_IN) in ptp_ocp_sma_show()
1670 gpio = ioread32(&bp->sma->gpio2); in ptp_ocp_sma_store_output()
1675 iowrite32(gpio, &bp->sma->gpio2); in ptp_ocp_sma_store_output()
1690 gpio = ioread32(&bp->sma->gpio1); in ptp_ocp_sma_store_inputs()
1695 iowrite32(gpio, &bp->sma->gpio1); in ptp_ocp_sma_store_inputs()
1707 mode = sma->mode; in ptp_ocp_sma_store()
1712 if (mode != sma->mode && sma->fixed_mode) in ptp_ocp_sma_store()
1715 if (mode != sma->mode) { in ptp_ocp_sma_store()
[all …]
/linux/include/linux/
A Dsecurity.h455 int security_sem_alloc(struct kern_ipc_perm *sma);
456 void security_sem_free(struct kern_ipc_perm *sma);
457 int security_sem_associate(struct kern_ipc_perm *sma, int semflg);
458 int security_sem_semctl(struct kern_ipc_perm *sma, int cmd);
459 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops,
1271 static inline int security_sem_alloc(struct kern_ipc_perm *sma) in security_sem_alloc() argument
1276 static inline void security_sem_free(struct kern_ipc_perm *sma) in security_sem_free() argument
1279 static inline int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument
1284 static inline int security_sem_semctl(struct kern_ipc_perm *sma, int cmd) in security_sem_semctl() argument
1289 static inline int security_sem_semop(struct kern_ipc_perm *sma, in security_sem_semop() argument
/linux/security/
A Dsecurity.c2001 int security_sem_alloc(struct kern_ipc_perm *sma) in security_sem_alloc() argument
2003 int rc = lsm_ipc_alloc(sma); in security_sem_alloc()
2007 rc = call_int_hook(sem_alloc_security, 0, sma); in security_sem_alloc()
2009 security_sem_free(sma); in security_sem_alloc()
2013 void security_sem_free(struct kern_ipc_perm *sma) in security_sem_free() argument
2015 call_void_hook(sem_free_security, sma); in security_sem_free()
2016 kfree(sma->security); in security_sem_free()
2017 sma->security = NULL; in security_sem_free()
2022 return call_int_hook(sem_associate, 0, sma, semflg); in security_sem_associate()
2025 int security_sem_semctl(struct kern_ipc_perm *sma, int cmd) in security_sem_semctl() argument
[all …]
/linux/drivers/net/ethernet/synopsys/
A Ddwc-xlgmac-common.c379 hw_feat->sma = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features()
527 pdata->hw_feat.sma ? "YES" : "NO"); in xlgmac_print_all_hw_features()
A Ddwc-xlgmac.h501 unsigned int sma; /* SMA(MDIO) Interface */ member
/linux/security/selinux/
A Dhooks.c6272 static int selinux_sem_alloc_security(struct kern_ipc_perm *sma) in selinux_sem_alloc_security() argument
6279 isec = selinux_ipc(sma); in selinux_sem_alloc_security()
6283 ad.u.ipc_id = sma->key; in selinux_sem_alloc_security()
6291 static int selinux_sem_associate(struct kern_ipc_perm *sma, int semflg) in selinux_sem_associate() argument
6297 isec = selinux_ipc(sma); in selinux_sem_associate()
6300 ad.u.ipc_id = sma->key; in selinux_sem_associate()
6308 static int selinux_sem_semctl(struct kern_ipc_perm *sma, int cmd) in selinux_sem_semctl() argument
6348 err = ipc_has_perm(sma, perms); in selinux_sem_semctl()
6352 static int selinux_sem_semop(struct kern_ipc_perm *sma, in selinux_sem_semop() argument
6362 return ipc_has_perm(sma, perms); in selinux_sem_semop()
/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe.h965 unsigned int sma; /* SMA(MDIO) Interface */ member
A Dxgbe-drv.c744 hw_feat->sma = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, SMASEL); in xgbe_get_all_hw_features()
837 hw_feat->sma ? "yes" : "no"); in xgbe_get_all_hw_features()
/linux/drivers/net/wireless/realtek/rtw89/
A Dcam.c486 ether_addr_copy(addr_cam->sma, rtwvif->mac_addr); in rtw89_cam_init_addr_cam()
A Dcore.h1869 u8 sma[ETH_ALEN]; member
/linux/drivers/infiniband/hw/hfi1/
A Dmad.c909 pi->link_down_reason = ppd->local_link_down_reason.sma; in __subn_get_opa_portinfo()
910 pi->neigh_link_down_reason = ppd->neigh_link_down_reason.sma; in __subn_get_opa_portinfo()
1430 ppd->local_link_down_reason.sma = 0; in __subn_set_opa_portinfo()
1435 ppd->neigh_link_down_reason.sma = 0; in __subn_set_opa_portinfo()
A Dhfi.h709 u8 sma; member
A Dchip.c7159 if (was_up && ppd->local_link_down_reason.sma == 0 && in handle_link_down()
7160 ppd->neigh_link_down_reason.sma == 0) { in handle_link_down()
7161 ppd->local_link_down_reason.sma = in handle_link_down()
7163 ppd->neigh_link_down_reason.sma = in handle_link_down()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dt4fw_api.h205 __u8 sma[6]; member
237 __u8 sma[6]; member

Completed in 145 milliseconds