Home
last modified time | relevance | path

Searched refs:state_str (Results 1 – 9 of 9) sorted by relevance

/linux/security/selinux/
H A Dima.c72 char *state_str = NULL; in selinux_ima_measure_state_locked() local
79 state_str = selinux_ima_collect_state(); in selinux_ima_measure_state_locked()
80 if (!state_str) { in selinux_ima_measure_state_locked()
86 state_str, strlen(state_str), false, in selinux_ima_measure_state_locked()
89 kfree(state_str); in selinux_ima_measure_state_locked()
/linux/samples/bpf/
H A Dcpustat_user.c42 char state_str[sizeof("cstate-9")]; in cpu_stat_print() local
53 sprintf(state_str, "cstate-%d", i); in cpu_stat_print()
54 printf("%-11s ", state_str); in cpu_stat_print()
58 sprintf(state_str, "pstate-%d", i); in cpu_stat_print()
59 printf("%-11s ", state_str); in cpu_stat_print()
/linux/drivers/xen/xen-pciback/
H A Dxenbus.c370 char state_str[64]; in xen_pcibk_reconfigure() local
391 len = snprintf(state_str, sizeof(state_str), "state-%d", i); in xen_pcibk_reconfigure()
392 if (unlikely(len >= (sizeof(state_str) - 1))) { in xen_pcibk_reconfigure()
399 substate = xenbus_read_unsigned(pdev->xdev->nodename, state_str, in xen_pcibk_reconfigure()
447 state_str, "%d", in xen_pcibk_reconfigure()
569 char state_str[64]; in xen_pcibk_setup_backend() local
621 l = snprintf(state_str, sizeof(state_str), "state-%d", i); in xen_pcibk_setup_backend()
622 if (unlikely(l >= (sizeof(state_str) - 1))) { in xen_pcibk_setup_backend()
629 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, state_str, in xen_pcibk_setup_backend()
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_debugfs.c20 static const char * const state_str[] = { in mtk_foe_entry_state_str() local
27 if (state >= ARRAY_SIZE(state_str) || !state_str[state]) in mtk_foe_entry_state_str()
30 return state_str[state]; in mtk_foe_entry_state_str()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_debugfs.c14 static const char * const state_str[] = { "off", "on" }; variable
2576 state_str[loopback_en]); in hclge_dbg_dump_loopback()
2589 state_str[loopback_en]); in hclge_dbg_dump_loopback()
2594 state_str[loopback_en]); in hclge_dbg_dump_loopback()
2599 state_str[loopback_en]); in hclge_dbg_dump_loopback()
2604 state_str[loopback_en]); in hclge_dbg_dump_loopback()
2897 state_str[ingress]); in hclge_dbg_dump_vlan_filter_config()
2899 state_str[egress]); in hclge_dbg_dump_vlan_filter_config()
2918 result[j++] = state_str[ingress]; in hclge_dbg_dump_vlan_filter_config()
2919 result[j++] = state_str[egress]; in hclge_dbg_dump_vlan_filter_config()
[all …]
/linux/drivers/infiniband/hw/mlx4/
H A Dmcg.c996 char state_str[40]; in sysfs_show_group() local
1003 scnprintf(state_str, sizeof(state_str), "%s", in sysfs_show_group()
1006 scnprintf(state_str, sizeof(state_str), "%s(TID=0x%llx)", in sysfs_show_group()
1026 state_str); in sysfs_show_group()
/linux/drivers/atm/
H A Dsolos-pci.c341 char *str, *state_str, *snr, *attn; in process_status() local
382 state_str = next_string(skb); in process_status()
383 if (!state_str) in process_status()
387 if (strcmp(state_str, "Showtime")) { in process_status()
389 dev_info(&card->dev->dev, "Port %d: %s\n", port, state_str); in process_status()
401 port, state_str, rate_down/1000, rate_up/1000, in process_status()
/linux/drivers/scsi/csiostor/
H A Dcsio_hw.c922 char state_str[16]; in csio_do_hello() local
925 memset(state_str, 0, sizeof(state_str)); in csio_do_hello()
1030 strcpy(state_str, "Initializing"); in csio_do_hello()
1033 strcpy(state_str, "Initialized"); in csio_do_hello()
1036 strcpy(state_str, "Error"); in csio_do_hello()
1039 strcpy(state_str, "Unknown"); in csio_do_hello()
1045 hw->pfn, state_str); in csio_do_hello()
1049 hw->pfn, mpfn, state_str); in csio_do_hello()
/linux/drivers/scsi/aacraid/
H A Dsrc.c1096 char *state_str[7] = { in aac_src_soft_reset() local
1165 state_str[state], rc); in aac_src_soft_reset()