| /linux/ipc/ |
| H A 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/drivers/ptp/ |
| H A D | ptp_ocp.c | 383 struct ptp_ocp_sma_connector sma[OCP_SMA_NUM]; member 2459 if (bp->sma[sma_nr - 1].fixed_fcn) in ptp_ocp_sma_fb_get() 2462 if (bp->sma[sma_nr - 1].mode == SMA_MODE_IN) in ptp_ocp_sma_fb_get() 2539 bp->sma[i].default_fcn = i & 1; in ptp_ocp_sma_fb_init() 2540 bp->sma[i].dpll_prop = prop; in ptp_ocp_sma_fb_init() 2541 bp->sma[i].dpll_prop.board_label = in ptp_ocp_sma_fb_init() 2544 bp->sma[0].mode = SMA_MODE_IN; in ptp_ocp_sma_fb_init() 2545 bp->sma[1].mode = SMA_MODE_IN; in ptp_ocp_sma_fb_init() 2546 bp->sma[2].mode = SMA_MODE_OUT; in ptp_ocp_sma_fb_init() 2547 bp->sma[3].mode = SMA_MODE_OUT; in ptp_ocp_sma_fb_init() [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_dpll.c | 376 struct ice_dpll_pin *sma = pin_priv; in ice_dpll_sw_pin_frequency_set() local 379 if (!sma->active) { in ice_dpll_sw_pin_frequency_set() 383 if (sma->direction == DPLL_PIN_DIRECTION_INPUT) in ice_dpll_sw_pin_frequency_set() 384 ret = ice_dpll_input_frequency_set(NULL, sma->input, dpll, in ice_dpll_sw_pin_frequency_set() 388 ret = ice_dpll_output_frequency_set(NULL, sma->output, dpll, in ice_dpll_sw_pin_frequency_set() 416 struct ice_dpll_pin *sma = pin_priv; in ice_dpll_sw_pin_frequency_get() local 419 if (!sma->active) { in ice_dpll_sw_pin_frequency_get() 423 if (sma->direction == DPLL_PIN_DIRECTION_INPUT) { in ice_dpll_sw_pin_frequency_get() 424 ret = ice_dpll_input_frequency_get(NULL, sma->input, dpll, in ice_dpll_sw_pin_frequency_get() 428 ret = ice_dpll_output_frequency_get(NULL, sma->output, dpll, in ice_dpll_sw_pin_frequency_get() [all …]
|
| H A D | ice_dpll.h | 122 struct ice_dpll_pin sma[ICE_DPLL_PIN_SW_NUM]; member
|
| /linux/security/ |
| H A D | security.c | 3516 int security_sem_alloc(struct kern_ipc_perm *sma) in security_sem_alloc() argument 3518 int rc = lsm_ipc_alloc(sma); in security_sem_alloc() 3522 rc = call_int_hook(sem_alloc_security, sma); in security_sem_alloc() 3524 security_sem_free(sma); in security_sem_alloc() 3534 void security_sem_free(struct kern_ipc_perm *sma) in security_sem_free() argument 3536 call_void_hook(sem_free_security, sma); in security_sem_free() 3537 kfree(sma->security); in security_sem_free() 3538 sma->security = NULL; in security_sem_free() 3552 int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument 3554 return call_int_hook(sem_associate, sma, semflg); in security_sem_associate() [all …]
|
| /linux/include/linux/ |
| H A D | security.h | 553 int security_sem_alloc(struct kern_ipc_perm *sma); 554 void security_sem_free(struct kern_ipc_perm *sma); 555 int security_sem_associate(struct kern_ipc_perm *sma, int semflg); 556 int security_sem_semctl(struct kern_ipc_perm *sma, int cmd); 557 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, 1488 static inline int security_sem_alloc(struct kern_ipc_perm *sma) in security_sem_alloc() argument 1493 static inline void security_sem_free(struct kern_ipc_perm *sma) in security_sem_free() argument 1496 static inline int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument 1501 static inline int security_sem_semctl(struct kern_ipc_perm *sma, int cmd) in security_sem_semctl() argument 1506 static inline int security_sem_semop(struct kern_ipc_perm *sma, in security_sem_semop() argument
|
| /linux/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/security/selinux/ |
| H A D | hooks.c | 6431 static int selinux_sem_alloc_security(struct kern_ipc_perm *sma) in selinux_sem_alloc_security() argument 6437 isec = selinux_ipc(sma); in selinux_sem_alloc_security() 6441 ad.u.ipc_id = sma->key; in selinux_sem_alloc_security() 6447 static int selinux_sem_associate(struct kern_ipc_perm *sma, int semflg) in selinux_sem_associate() argument 6453 isec = selinux_ipc(sma); in selinux_sem_associate() 6456 ad.u.ipc_id = sma->key; in selinux_sem_associate() 6463 static int selinux_sem_semctl(struct kern_ipc_perm *sma, int cmd) in selinux_sem_semctl() argument 6502 err = ipc_has_perm(sma, perms); in selinux_sem_semctl() 6506 static int selinux_sem_semop(struct kern_ipc_perm *sma, in selinux_sem_semop() argument 6516 return ipc_has_perm(sma, perms); in selinux_sem_semop()
|
| /linux/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 | 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/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-drv.c | 684 hw_feat->sma = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, SMASEL); in xgbe_get_all_hw_features() 792 hw_feat->sma ? "yes" : "no"); in xgbe_get_all_hw_features()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | t4fw_api.h | 205 __u8 sma[6]; member 237 __u8 sma[6]; member
|
| /linux/ |
| H A D | MAINTAINERS | 13330 F: sound/soc/codecs/sma*
|