/linux-6.6.21/ipc/ |
D | sem.c | 283 static void unmerge_queues(struct sem_array *sma) in unmerge_queues() argument 288 if (sma->complex_count) in unmerge_queues() 295 list_for_each_entry_safe(q, tq, &sma->pending_alter, list) { in unmerge_queues() 297 curr = &sma->sems[q->sops[0].sem_num]; in unmerge_queues() 301 INIT_LIST_HEAD(&sma->pending_alter); in unmerge_queues() 313 static void merge_queues(struct sem_array *sma) in merge_queues() argument 316 for (i = 0; i < sma->sem_nsems; i++) { in merge_queues() 317 struct sem *sem = &sma->sems[i]; in merge_queues() 319 list_splice_init(&sem->pending_alter, &sma->pending_alter); in merge_queues() 326 struct sem_array *sma = container_of(p, struct sem_array, sem_perm); in sem_rcu_free() local [all …]
|
/linux-6.6.21/drivers/ptp/ |
D | ptp_ocp.c | 353 struct ptp_ocp_sma_connector sma[4]; member 2225 if (bp->sma[sma_nr - 1].fixed_fcn) in ptp_ocp_sma_fb_get() 2228 if (bp->sma[sma_nr - 1].mode == SMA_MODE_IN) in ptp_ocp_sma_fb_get() 2296 bp->sma[0].mode = SMA_MODE_IN; in ptp_ocp_sma_fb_init() 2297 bp->sma[1].mode = SMA_MODE_IN; in ptp_ocp_sma_fb_init() 2298 bp->sma[2].mode = SMA_MODE_OUT; in ptp_ocp_sma_fb_init() 2299 bp->sma[3].mode = SMA_MODE_OUT; in ptp_ocp_sma_fb_init() 2301 bp->sma[i].default_fcn = i & 1; in ptp_ocp_sma_fb_init() 2306 bp->sma[i].fixed_fcn = true; in ptp_ocp_sma_fb_init() 2307 bp->sma[i].fixed_dir = true; in ptp_ocp_sma_fb_init() [all …]
|
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/ |
D | cam.c | 659 const u8 *sma = scan_mac_addr ? scan_mac_addr : rtwvif->mac_addr; in rtw89_cam_fill_addr_cam_info() local 672 sma_hash = rtw89_cam_addr_hash(sma_start, sma); in rtw89_cam_fill_addr_cam_info() 691 FWCMD_SET_ADDR_SMA0(cmd, sma[0]); in rtw89_cam_fill_addr_cam_info() 692 FWCMD_SET_ADDR_SMA1(cmd, sma[1]); in rtw89_cam_fill_addr_cam_info() 693 FWCMD_SET_ADDR_SMA2(cmd, sma[2]); in rtw89_cam_fill_addr_cam_info() 694 FWCMD_SET_ADDR_SMA3(cmd, sma[3]); in rtw89_cam_fill_addr_cam_info() 695 FWCMD_SET_ADDR_SMA4(cmd, sma[4]); in rtw89_cam_fill_addr_cam_info() 696 FWCMD_SET_ADDR_SMA5(cmd, sma[5]); in rtw89_cam_fill_addr_cam_info()
|
/linux-6.6.21/include/linux/ |
D | security.h | 468 int security_sem_alloc(struct kern_ipc_perm *sma); 469 void security_sem_free(struct kern_ipc_perm *sma); 470 int security_sem_associate(struct kern_ipc_perm *sma, int semflg); 471 int security_sem_semctl(struct kern_ipc_perm *sma, int cmd); 472 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, 1320 static inline int security_sem_alloc(struct kern_ipc_perm *sma) in security_sem_alloc() argument 1325 static inline void security_sem_free(struct kern_ipc_perm *sma) in security_sem_free() argument 1328 static inline int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument 1333 static inline int security_sem_semctl(struct kern_ipc_perm *sma, int cmd) in security_sem_semctl() argument 1338 static inline int security_sem_semop(struct kern_ipc_perm *sma, in security_sem_semop() argument
|
/linux-6.6.21/security/ |
D | security.c | 3732 int security_sem_alloc(struct kern_ipc_perm *sma) in security_sem_alloc() argument 3734 int rc = lsm_ipc_alloc(sma); in security_sem_alloc() 3738 rc = call_int_hook(sem_alloc_security, 0, sma); in security_sem_alloc() 3740 security_sem_free(sma); in security_sem_alloc() 3750 void security_sem_free(struct kern_ipc_perm *sma) in security_sem_free() argument 3752 call_void_hook(sem_free_security, sma); in security_sem_free() 3753 kfree(sma->security); in security_sem_free() 3754 sma->security = NULL; in security_sem_free() 3768 int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument 3770 return call_int_hook(sem_associate, 0, sma, semflg); in security_sem_associate() [all …]
|
/linux-6.6.21/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-common.c | 379 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()
|
D | dwc-xlgmac.h | 502 unsigned int sma; /* SMA(MDIO) Interface */ member
|
/linux-6.6.21/security/selinux/ |
D | hooks.c | 6199 static int selinux_sem_alloc_security(struct kern_ipc_perm *sma) in selinux_sem_alloc_security() argument 6205 isec = selinux_ipc(sma); in selinux_sem_alloc_security() 6209 ad.u.ipc_id = sma->key; in selinux_sem_alloc_security() 6215 static int selinux_sem_associate(struct kern_ipc_perm *sma, int semflg) in selinux_sem_associate() argument 6221 isec = selinux_ipc(sma); in selinux_sem_associate() 6224 ad.u.ipc_id = sma->key; in selinux_sem_associate() 6231 static int selinux_sem_semctl(struct kern_ipc_perm *sma, int cmd) in selinux_sem_semctl() argument 6270 err = ipc_has_perm(sma, perms); in selinux_sem_semctl() 6274 static int selinux_sem_semop(struct kern_ipc_perm *sma, in selinux_sem_semop() argument 6284 return ipc_has_perm(sma, perms); in selinux_sem_semop()
|
/linux-6.6.21/drivers/net/ethernet/amd/xgbe/ |
D | xgbe.h | 998 unsigned int sma; /* SMA(MDIO) Interface */ member
|
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.6.21/drivers/infiniband/hw/hfi1/ |
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()
|
D | hfi.h | 709 u8 sma; member
|
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.6.21/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4fw_api.h | 205 __u8 sma[6]; member 237 __u8 sma[6]; member
|
/linux-6.6.21/ |
D | MAINTAINERS | 11063 F: sound/soc/codecs/sma*
|