| /linux-6.15/ipc/ |
| H A D | sem.c | 329 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() 1186 sem_rmid(ns, sma); in freeary() 1357 if (IS_ERR(sma)) { in semctl_setval() 1417 if (IS_ERR(sma)) { in semctl_main() [all …]
|
| /linux-6.15/drivers/ptp/ |
| H A D | ptp_ocp.c | 3011 struct ptp_ocp_sma_connector *sma = &bp->sma[sma_nr - 1]; in ptp_ocp_sma_show() local 3062 struct ptp_ocp_sma_connector *sma = &bp->sma[sma_nr - 1]; in ptp_ocp_sma_store_val() local 3064 if (sma->fixed_dir && (mode != sma->mode || val & SMA_DISABLE)) in ptp_ocp_sma_store_val() 3080 sma->mode = mode; in ptp_ocp_sma_store_val() 3086 if (sma->disabled) in ptp_ocp_sma_store_val() 3100 struct ptp_ocp_sma_connector *sma = &bp->sma[sma_nr - 1]; in ptp_ocp_sma_store() local 3104 mode = sma->mode; in ptp_ocp_sma_store() 4655 int sma_nr = (sma - bp->sma); in ptp_ocp_dpll_direction_set() 4673 int sma_nr = (sma - bp->sma); in ptp_ocp_dpll_frequency_set() 4695 int sma_nr = (sma - bp->sma); in ptp_ocp_dpll_frequency_get() [all …]
|
| /linux-6.15/drivers/net/wireless/realtek/rtw89/ |
| H A D | cam.c | 816 const u8 *sma = scan_mac_addr ? scan_mac_addr : rtwvif_link->mac_addr; in rtw89_cam_fill_addr_cam_info() local 838 sma_hash = rtw89_cam_addr_hash(sma_start, sma); in rtw89_cam_fill_addr_cam_info() 857 FWCMD_SET_ADDR_SMA0(cmd, sma[0]); in rtw89_cam_fill_addr_cam_info() 858 FWCMD_SET_ADDR_SMA1(cmd, sma[1]); in rtw89_cam_fill_addr_cam_info() 859 FWCMD_SET_ADDR_SMA2(cmd, sma[2]); in rtw89_cam_fill_addr_cam_info() 860 FWCMD_SET_ADDR_SMA3(cmd, sma[3]); in rtw89_cam_fill_addr_cam_info() 861 FWCMD_SET_ADDR_SMA4(cmd, sma[4]); in rtw89_cam_fill_addr_cam_info() 862 FWCMD_SET_ADDR_SMA5(cmd, sma[5]); in rtw89_cam_fill_addr_cam_info()
|
| /linux-6.15/include/linux/ |
| H A D | security.h | 552 int security_sem_alloc(struct kern_ipc_perm *sma); 553 void security_sem_free(struct kern_ipc_perm *sma); 554 int security_sem_associate(struct kern_ipc_perm *sma, int semflg); 555 int security_sem_semctl(struct kern_ipc_perm *sma, int cmd); 556 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, 1475 static inline int security_sem_alloc(struct kern_ipc_perm *sma) in security_sem_alloc() argument 1480 static inline void security_sem_free(struct kern_ipc_perm *sma) in security_sem_free() argument 1483 static inline int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument 1488 static inline int security_sem_semctl(struct kern_ipc_perm *sma, int cmd) in security_sem_semctl() argument 1493 static inline int security_sem_semop(struct kern_ipc_perm *sma, in security_sem_semop() argument
|
| /linux-6.15/Documentation/driver-api/ |
| H A D | dpll.rst | 532 bp->sma[i].dpll_pin = dpll_pin_get(clkid, i, THIS_MODULE, &bp->sma[i].dpll_prop); 533 if (IS_ERR(bp->sma[i].dpll_pin)) { 538 err = dpll_pin_register(bp->dpll, bp->sma[i].dpll_pin, &dpll_pins_ops, 539 &bp->sma[i]); 541 dpll_pin_put(bp->sma[i].dpll_pin); 552 dpll_pin_unregister(bp->dpll, bp->sma[i].dpll_pin, &dpll_pins_ops, &bp->sma[i]); 553 dpll_pin_put(bp->sma[i].dpll_pin);
|
| /linux-6.15/security/ |
| H A D | security.c | 3994 int security_sem_alloc(struct kern_ipc_perm *sma) in security_sem_alloc() argument 3996 int rc = lsm_ipc_alloc(sma); in security_sem_alloc() 4000 rc = call_int_hook(sem_alloc_security, sma); in security_sem_alloc() 4002 security_sem_free(sma); in security_sem_alloc() 4012 void security_sem_free(struct kern_ipc_perm *sma) in security_sem_free() argument 4014 call_void_hook(sem_free_security, sma); in security_sem_free() 4015 kfree(sma->security); in security_sem_free() 4016 sma->security = NULL; in security_sem_free() 4032 return call_int_hook(sem_associate, sma, semflg); in security_sem_associate() 4047 return call_int_hook(sem_semctl, sma, cmd); in security_sem_semctl() [all …]
|
| /linux-6.15/drivers/net/ethernet/synopsys/ |
| H A D | dwc-xlgmac-common.c | 377 hw_feat->sma = XLGMAC_GET_REG_BITS(mac_hfr0, in xlgmac_get_all_hw_features() 525 pdata->hw_feat.sma ? "YES" : "NO"); in xlgmac_print_all_hw_features()
|
| H A D | dwc-xlgmac.h | 502 unsigned int sma; /* SMA(MDIO) Interface */ member
|
| /linux-6.15/security/selinux/ |
| H A D | hooks.c | 6303 static int selinux_sem_alloc_security(struct kern_ipc_perm *sma) in selinux_sem_alloc_security() argument 6309 isec = selinux_ipc(sma); in selinux_sem_alloc_security() 6313 ad.u.ipc_id = sma->key; in selinux_sem_alloc_security() 6319 static int selinux_sem_associate(struct kern_ipc_perm *sma, int semflg) in selinux_sem_associate() argument 6325 isec = selinux_ipc(sma); in selinux_sem_associate() 6328 ad.u.ipc_id = sma->key; in selinux_sem_associate() 6335 static int selinux_sem_semctl(struct kern_ipc_perm *sma, int cmd) in selinux_sem_semctl() argument 6374 err = ipc_has_perm(sma, perms); in selinux_sem_semctl() 6378 static int selinux_sem_semop(struct kern_ipc_perm *sma, in selinux_sem_semop() argument 6388 return ipc_has_perm(sma, perms); in selinux_sem_semop()
|
| /linux-6.15/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe.h | 1002 unsigned int sma; /* SMA(MDIO) Interface */ member
|
| H A D | xgbe-drv.c | 760 hw_feat->sma = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, SMASEL); in xgbe_get_all_hw_features() 853 hw_feat->sma ? "yes" : "no"); in xgbe_get_all_hw_features()
|
| /linux-6.15/drivers/infiniband/hw/hfi1/ |
| H A D | mad.c | 909 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()
|
| H A D | hfi.h | 709 u8 sma; member
|
| H A D | chip.c | 7161 if (was_up && ppd->local_link_down_reason.sma == 0 && in handle_link_down() 7162 ppd->neigh_link_down_reason.sma == 0) { in handle_link_down() 7163 ppd->local_link_down_reason.sma = in handle_link_down() 7165 ppd->neigh_link_down_reason.sma = in handle_link_down()
|
| /linux-6.15/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | t4fw_api.h | 205 __u8 sma[6]; member 237 __u8 sma[6]; member
|
| /linux-6.15/ |
| H A D | MAINTAINERS | 12546 F: sound/soc/codecs/sma*
|