Home
last modified time | relevance | path

Searched full:app (Results 1 – 25 of 991) sorted by relevance

12345678910>>...40

/openbmc/bmcweb/redfish-core/src/
H A Dredfish.cpp9 #include "app.hpp"
58 RedfishService::RedfishService(App& app) in RedfishService() argument
60 requestRoutesMetadata(app); in RedfishService()
61 requestRoutesOdata(app); in RedfishService()
63 requestAccountServiceRoutes(app); in RedfishService()
66 requestRoutesAggregationService(app); in RedfishService()
67 requestRoutesAggregationSourceCollection(app); in RedfishService()
68 requestRoutesAggregationSource(app); in RedfishService()
70 requestRoutesRoles(app); in RedfishService()
71 requestRoutesRoleCollection(app); in RedfishService()
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_app.h49 * @init: perform basic app checks and init
50 * @clean: clean app state
55 * @vnic_free: free up app's vNIC state
59 * @repr_preclean: representor about to unregistered, executed before app
79 * @sriov_enable: app-specific sriov initialisation
80 * @sriov_disable: app-specific sriov clean-up
90 int (*init)(struct nfp_app *app);
91 void (*clean)(struct nfp_app *app);
93 const char *(*extra_cap)(struct nfp_app *app, struct nfp_net *nn);
95 int (*ndo_init)(struct nfp_app *app, struct net_device *netdev);
[all …]
H A Dnfp_app.c43 return nn->app; in nfp_app_from_netdev()
49 return repr->app; in nfp_app_from_netdev()
57 const char *nfp_app_mip_name(struct nfp_app *app) in nfp_app_mip_name() argument
59 if (!app || !app->pf->mip) in nfp_app_mip_name()
61 return nfp_mip_name(app->pf->mip); in nfp_app_mip_name()
66 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_ndo_init() local
68 if (!app || !app->type->ndo_init) in nfp_app_ndo_init()
70 return app->type->ndo_init(app, netdev); in nfp_app_ndo_init()
75 struct nfp_app *app = nfp_app_from_netdev(netdev); in nfp_app_ndo_uninit() local
77 if (app && app->type->ndo_uninit) in nfp_app_ndo_uninit()
[all …]
H A Dnfp_net_sriov.c18 nfp_net_sriov_check(struct nfp_app *app, int vf, u16 cap, const char *msg, bool warn) in nfp_net_sriov_check() argument
22 if (!app || !app->pf->vfcfg_tbl2) in nfp_net_sriov_check()
25 cap_vf = readw(app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_CAP); in nfp_net_sriov_check()
28 nfp_warn(app->pf->cpp, "ndo_set_vf_%s not supported\n", msg); in nfp_net_sriov_check()
32 if (vf < 0 || vf >= app->pf->num_vfs) { in nfp_net_sriov_check()
34 nfp_warn(app->pf->cpp, "invalid VF id %d\n", vf); in nfp_net_sriov_check()
42 nfp_net_sriov_update(struct nfp_app *app, int vf, u16 update, const char *msg) in nfp_net_sriov_update() argument
48 writeb(vf, app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_VF_NUM); in nfp_net_sriov_update()
49 writew(update, app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_UPD); in nfp_net_sriov_update()
51 nn = list_first_entry(&app->pf->vnics, struct nfp_net, vnic_list); in nfp_net_sriov_update()
[all …]
H A Dccm.c10 #define ccm_warn(app, msg...) nn_dp_warn(&(app)->ctrl->dp, msg) argument
30 ccm_warn(ccm->app, "all FW request contexts busy!\n"); in nfp_ccm_alloc_tag()
65 nfp_ccm_reply(struct nfp_ccm *ccm, struct nfp_app *app, u16 tag) in nfp_ccm_reply() argument
69 nfp_ctrl_lock(app->ctrl); in nfp_ccm_reply()
71 nfp_ctrl_unlock(app->ctrl); in nfp_ccm_reply()
77 nfp_ccm_reply_drop_tag(struct nfp_ccm *ccm, struct nfp_app *app, u16 tag) in nfp_ccm_reply_drop_tag() argument
81 nfp_ctrl_lock(app->ctrl); in nfp_ccm_reply_drop_tag()
85 nfp_ctrl_unlock(app->ctrl); in nfp_ccm_reply_drop_tag()
91 nfp_ccm_wait_reply(struct nfp_ccm *ccm, struct nfp_app *app, in nfp_ccm_wait_reply() argument
99 skb = nfp_ccm_reply(ccm, app, tag); in nfp_ccm_wait_reply()
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dmain.c28 static const char *nfp_flower_extra_cap(struct nfp_app *app, struct nfp_net *nn) in nfp_flower_extra_cap() argument
33 static enum devlink_eswitch_mode eswitch_mode_get(struct nfp_app *app) in eswitch_mode_get() argument
57 nfp_flower_get_internal_port_id(struct nfp_app *app, struct net_device *netdev) in nfp_flower_get_internal_port_id() argument
59 struct nfp_flower_priv *priv = app->priv; in nfp_flower_get_internal_port_id()
76 u32 nfp_flower_get_port_id_from_netdev(struct nfp_app *app, in nfp_flower_get_port_id_from_netdev() argument
79 struct nfp_flower_priv *priv = app->priv; in nfp_flower_get_port_id_from_netdev()
85 } else if (nfp_flower_internal_port_can_offload(app, netdev)) { in nfp_flower_get_port_id_from_netdev()
86 ext_port = nfp_flower_get_internal_port_id(app, netdev); in nfp_flower_get_port_id_from_netdev()
93 gid = nfp_flower_lag_get_output_id(app, netdev); in nfp_flower_get_port_id_from_netdev()
104 nfp_flower_get_netdev_from_internal_port_id(struct nfp_app *app, int port_id) in nfp_flower_get_netdev_from_internal_port_id() argument
[all …]
H A Dcmsg.c22 nfp_flower_cmsg_alloc(struct nfp_app *app, unsigned int size, in nfp_flower_cmsg_alloc() argument
30 skb = nfp_app_ctrl_msg_alloc(app, size, flag); in nfp_flower_cmsg_alloc()
44 nfp_flower_cmsg_mac_repr_start(struct nfp_app *app, unsigned int num_ports) in nfp_flower_cmsg_mac_repr_start() argument
49 skb = nfp_flower_cmsg_alloc(app, struct_size(msg, ports, num_ports), in nfp_flower_cmsg_mac_repr_start()
81 skb = nfp_flower_cmsg_alloc(repr->app, sizeof(*msg), in nfp_flower_cmsg_portmod()
96 nfp_ctrl_tx(repr->app->ctrl, skb); in nfp_flower_cmsg_portmod()
106 skb = nfp_flower_cmsg_alloc(repr->app, sizeof(*msg), in nfp_flower_cmsg_portreify()
117 nfp_ctrl_tx(repr->app->ctrl, skb); in nfp_flower_cmsg_portreify()
123 nfp_flower_process_mtu_ack(struct nfp_app *app, struct sk_buff *skb) in nfp_flower_process_mtu_ack() argument
125 struct nfp_flower_priv *app_priv = app->priv; in nfp_flower_process_mtu_ack()
[all …]
H A Dtunnel_conf.c167 * @app: Back pointer to app
172 struct nfp_app *app; member
208 void nfp_tunnel_keep_alive(struct nfp_app *app, struct sk_buff *skb) in nfp_tunnel_keep_alive() argument
220 nfp_flower_cmsg_warn(app, "Tunnel keep-alive request exceeds max routes.\n"); in nfp_tunnel_keep_alive()
226 nfp_flower_cmsg_warn(app, "Corruption in tunnel keep-alive message.\n"); in nfp_tunnel_keep_alive()
234 netdev = nfp_app_dev_get(app, port, NULL); in nfp_tunnel_keep_alive()
249 void nfp_tunnel_keep_alive_v6(struct nfp_app *app, struct sk_buff *skb) in nfp_tunnel_keep_alive_v6() argument
262 nfp_flower_cmsg_warn(app, "IPv6 tunnel keep-alive request exceeds max routes.\n"); in nfp_tunnel_keep_alive_v6()
268 nfp_flower_cmsg_warn(app, "Corruption in tunnel keep-alive message.\n"); in nfp_tunnel_keep_alive_v6()
276 netdev = nfp_app_dev_get(app, port, NULL); in nfp_tunnel_keep_alive_v6()
[all …]
H A Dmain.h221 * struct nfp_fl_lag - Flower APP priv data for link aggregation
246 * struct nfp_fl_internal_ports - Flower APP priv data for additional ports
256 * struct nfp_flower_priv - Flower APP per-vNIC priv data
257 * @app: Back pointer to app
303 struct nfp_app *app; member
347 * struct nfp_fl_qos - Flower APP priv data for quality of service
361 * struct nfp_flower_repr_priv - Flower APP per-repr priv data
517 nfp_flower_internal_port_can_offload(struct nfp_app *app, in nfp_flower_internal_port_can_offload() argument
520 struct nfp_flower_priv *app_priv = app->priv; in nfp_flower_internal_port_can_offload()
546 int nfp_flower_metadata_init(struct nfp_app *app, u64 host_ctx_count,
[all …]
/openbmc/webui-vue/src/
H A Dmain.js3 import App from './App.vue';
55 const app = createApp({ constant
58 render: (h) => h(App),
60 app.use(i18n);
62 app.use(router);
63 app.use(store);
66 app.use(BootstrapVue);
67 app.use(AlertPlugin);
68 app.use(BadgePlugin);
69 app.use(ButtonPlugin);
[all …]
/openbmc/linux/net/802/
H A Dmrp.c236 static struct mrp_attr *mrp_attr_lookup(const struct mrp_applicant *app, in mrp_attr_lookup() argument
239 struct rb_node *parent = app->mad.rb_node; in mrp_attr_lookup()
256 static struct mrp_attr *mrp_attr_create(struct mrp_applicant *app, in mrp_attr_create() argument
259 struct rb_node *parent = NULL, **p = &app->mad.rb_node; in mrp_attr_create()
285 rb_insert_color(&attr->node, &app->mad); in mrp_attr_create()
289 static void mrp_attr_destroy(struct mrp_applicant *app, struct mrp_attr *attr) in mrp_attr_destroy() argument
291 rb_erase(&attr->node, &app->mad); in mrp_attr_destroy()
295 static void mrp_attr_destroy_all(struct mrp_applicant *app) in mrp_attr_destroy_all() argument
300 for (node = rb_first(&app->mad); in mrp_attr_destroy_all()
304 mrp_attr_destroy(app, attr); in mrp_attr_destroy_all()
[all …]
H A Dgarp.c147 static struct garp_attr *garp_attr_lookup(const struct garp_applicant *app, in garp_attr_lookup() argument
150 struct rb_node *parent = app->gid.rb_node; in garp_attr_lookup()
167 static struct garp_attr *garp_attr_create(struct garp_applicant *app, in garp_attr_create() argument
170 struct rb_node *parent = NULL, **p = &app->gid.rb_node; in garp_attr_create()
196 rb_insert_color(&attr->node, &app->gid); in garp_attr_create()
200 static void garp_attr_destroy(struct garp_applicant *app, struct garp_attr *attr) in garp_attr_destroy() argument
202 rb_erase(&attr->node, &app->gid); in garp_attr_destroy()
206 static void garp_attr_destroy_all(struct garp_applicant *app) in garp_attr_destroy_all() argument
211 for (node = rb_first(&app->gid); in garp_attr_destroy_all()
215 garp_attr_destroy(app, attr); in garp_attr_destroy_all()
[all …]
/openbmc/linux/net/netfilter/ipvs/
H A Dip_vs_app.c45 static inline int ip_vs_app_get(struct ip_vs_app *app) in ip_vs_app_get() argument
47 return try_module_get(app->module); in ip_vs_app_get()
51 static inline void ip_vs_app_put(struct ip_vs_app *app) in ip_vs_app_put() argument
53 module_put(app->module); in ip_vs_app_put()
70 * Allocate/initialize app incarnation and register it in proto apps.
73 ip_vs_app_inc_new(struct netns_ipvs *ipvs, struct ip_vs_app *app, __u16 proto, in ip_vs_app_inc_new() argument
86 inc = kmemdup(app, sizeof(*inc), GFP_KERNEL); in ip_vs_app_inc_new()
91 inc->app = app; in ip_vs_app_inc_new()
95 if (app->timeouts) { in ip_vs_app_inc_new()
97 ip_vs_create_timeout_table(app->timeouts, in ip_vs_app_inc_new()
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.c30 nfp_abm_setup_tc(struct nfp_app *app, struct net_device *netdev, in nfp_abm_setup_tc() argument
57 nfp_abm_repr_get(struct nfp_app *app, u32 port_id, bool *redir_egress) in nfp_abm_repr_get() argument
66 reprs = rcu_dereference(app->reprs[rtype]); in nfp_abm_repr_get()
77 nfp_abm_spawn_repr(struct nfp_app *app, struct nfp_abm_link *alink, in nfp_abm_spawn_repr() argument
96 netdev = nfp_repr_alloc_mqs(app, txqs, 1); in nfp_abm_spawn_repr()
102 port = nfp_port_alloc(app, ptype, netdev); in nfp_abm_spawn_repr()
110 err = nfp_port_init_phy_port(app->pf, app, port, alink->id); in nfp_abm_spawn_repr()
115 port->pf_split = app->pf->max_data_vnics > 1; in nfp_abm_spawn_repr()
123 err = nfp_repr_init(app, netdev, nfp_abm_portid(rtype, alink->id), in nfp_abm_spawn_repr()
128 reprs = nfp_reprs_get_locked(app, rtype); in nfp_abm_spawn_repr()
[all …]
/openbmc/pldm/pldmtool/
H A Dpldmtool.cpp34 explicit RawOp(const char* type, const char* name, CLI::App* app) : in RawOp() argument
35 CommandInterface(type, name, app) in RawOp()
37 app->add_option("-d,--data", rawData, "raw data") in RawOp()
56 void registerCommand(CLI::App& app) in registerCommand() argument
59 app.add_subcommand("raw", "send a raw request and print response"); in registerCommand()
68 CLI::App app{"PLDM requester tool for OpenBMC"}; in main() local
69 app.require_subcommand(1)->ignore_case(); in main()
71 pldmtool::raw::registerCommand(app); in main()
72 pldmtool::base::registerCommand(app); in main()
73 pldmtool::bios::registerCommand(app); in main()
[all …]
/openbmc/bmcweb/redfish-core/lib/
H A Dredfish_sessions.hpp7 #include "app.hpp"
61 crow::App& app, const crow::Request& req, in handleSessionHead() argument
65 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSessionHead()
75 crow::App& app, const crow::Request& req, in handleSessionGet() argument
79 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSessionGet()
101 crow::App& app, const crow::Request& req, in handleSessionDelete() argument
105 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSessionDelete()
162 crow::App& app, const crow::Request& req, in handleSessionCollectionHead() argument
165 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleSessionCollectionHead()
175 crow::App& app, const crow::Request& req, in handleSessionCollectionGet() argument
[all …]
H A Daggregation_service.hpp5 #include "app.hpp"
30 App& app, const crow::Request& req, in handleAggregationServiceHead() argument
33 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleAggregationServiceHead()
43 App& app, const crow::Request& req, in handleAggregationServiceGet() argument
46 if (!redfish::setUpRedfishRoute(app, req, asyncResp)) in handleAggregationServiceGet()
64 inline void requestRoutesAggregationService(App& app) in requestRoutesAggregationService() argument
66 BMCWEB_ROUTE(app, "/redfish/v1/AggregationService/") in requestRoutesAggregationService()
69 std::bind_front(handleAggregationServiceHead, std::ref(app))); in requestRoutesAggregationService()
70 BMCWEB_ROUTE(app, "/redfish/v1/AggregationService/") in requestRoutesAggregationService()
73 std::bind_front(handleAggregationServiceGet, std::ref(app))); in requestRoutesAggregationService()
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_dcb.c115 /* DSCP mapping is global for all ports, so set and delete app entries are
119 struct dcb_app *app, in lan966x_dcb_ieee_dscp_setdel() argument
132 err = setdel(port->dev, app); in lan966x_dcb_ieee_dscp_setdel()
141 const struct dcb_app *app) in lan966x_dcb_app_validate() argument
145 switch (app->selector) { in lan966x_dcb_app_validate()
148 if (app->protocol) in lan966x_dcb_app_validate()
150 else if (app->priority >= NUM_PRIO_QUEUES) in lan966x_dcb_app_validate()
155 if (app->protocol >= LAN966X_PORT_QOS_DSCP_COUNT) in lan966x_dcb_app_validate()
157 else if (app->priority >= NUM_PRIO_QUEUES) in lan966x_dcb_app_validate()
162 if (app->protocol >= LAN966X_PORT_QOS_PCP_DEI_COUNT) in lan966x_dcb_app_validate()
[all …]
/openbmc/bmcweb/test/http/
H A Dcrow_getroutes_test.cpp3 #include "app.hpp"
25 App app; in TEST() local
26 app.validate(); in TEST()
28 EXPECT_THAT(app.getRoutes(), IsEmpty()); in TEST()
34 App app; in TEST() local
36 BMCWEB_ROUTE(app, "/") in TEST()
42 // EXPECT_THAT(app.getRoutes(), in TEST()
49 App app; in TEST() local
50 BMCWEB_ROUTE(app, "/") in TEST()
52 BMCWEB_ROUTE(app, "/foo") in TEST()
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_dcb.c42 /* Validate app entry.
47 const struct dcb_app *app) in sparx5_dcb_app_validate() argument
51 switch (app->selector) { in sparx5_dcb_app_validate()
54 if (app->protocol != 0) in sparx5_dcb_app_validate()
56 else if (app->priority >= SPX5_PRIOS) in sparx5_dcb_app_validate()
61 if (app->protocol >= SPARX5_PORT_QOS_DSCP_COUNT) in sparx5_dcb_app_validate()
63 else if (app->priority >= SPX5_PRIOS) in sparx5_dcb_app_validate()
68 if (app->protocol >= SPARX5_PORT_QOS_PCP_DEI_COUNT) in sparx5_dcb_app_validate()
70 else if (app->priority >= SPX5_PRIOS) in sparx5_dcb_app_validate()
79 netdev_err(dev, "Invalid entry: %d:%d\n", app->protocol, in sparx5_dcb_app_validate()
[all …]
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/ipmi/phosphor-ipmi-host/
H A Dgbs-ipmid-whitelist.conf21 0x06:0x01 //<App>:<Get Device ID>
22 0x06:0x02 //<App>:<Cold Reset>
23 0x06:0x03 //<App>:<Warm Reset>
24 0x06:0x04 //<App>:<Get Self Test Results>
25 0x06:0x06 //<App>:<Set ACPI Power State>
26 0x06:0x07 //<App>:<Get ACPI Power State>
27 0x06:0x08 //<App>:<Get Device GUID>
28 0x06:0x22 //<App>:<Reset Watchdog Timer>
29 0x06:0x24 //<App>:<Set Watchdog Timer>
30 0x06:0x25 //<App>:<Get Watchdog Timer>
[all …]
/openbmc/openbmc/meta-security/recipes-security/redhat-security/files/
H A Drpm-chksec.sh139 APP=""
144 APP="daemon"
149 if [ x"$APP" = "x" ] ; then
150 # See if this is a library or a setuid app
152 APP="library"
154 APP="setuid"
156 APP="setgid"
158 APP="setcap"
164 APP="network-ip"
166 APP="network-local"
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.c27 struct nfp_app_bpf *bpf = nn->app->priv; in nfp_net_ebpf_capable()
38 nfp_bpf_xdp_offload(struct nfp_app *app, struct nfp_net *nn, in nfp_bpf_xdp_offload() argument
57 static const char *nfp_bpf_extra_cap(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_extra_cap() argument
63 nfp_bpf_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, unsigned int id) in nfp_bpf_vnic_alloc() argument
65 struct nfp_pf *pf = app->pf; in nfp_bpf_vnic_alloc()
84 err = nfp_app_nic_vnic_alloc(app, nn, id); in nfp_bpf_vnic_alloc()
97 static void nfp_bpf_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_vnic_free() argument
165 static int nfp_bpf_setup_tc(struct nfp_app *app, struct net_device *netdev, in nfp_bpf_setup_tc() argument
182 nfp_bpf_check_mtu(struct nfp_app *app, struct net_device *netdev, int new_mtu) in nfp_bpf_check_mtu() argument
210 struct nfp_cpp *cpp = bpf->app->pf->cpp; in nfp_bpf_parse_cap_adjust_head()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb_nl.c11 struct i40e_dcb_app_priority_table *app);
187 * i40e_dcbnl_ieee_setapp - set local IEEE App configuration
189 * @app: structure to hold the Application information
191 * Sets local IEEE App configuration
194 struct dcb_app *app) in i40e_dcbnl_ieee_setapp() argument
209 ret = dcb_ieee_setapp(netdev, app); in i40e_dcbnl_ieee_setapp()
213 new_app.selector = app->selector; in i40e_dcbnl_ieee_setapp()
214 new_app.protocolid = app->protocol; in i40e_dcbnl_ieee_setapp()
215 new_app.priority = app->priority; in i40e_dcbnl_ieee_setapp()
222 /* Add the app */ in i40e_dcbnl_ieee_setapp()
[all …]
/openbmc/phosphor-host-ipmid/
H A Dhost-ipmid-whitelist.conf14 0x06:0x01 //<App>:<Get Device ID>
15 0x06:0x04 //<App>:<Get Self Test Results>
16 0x06:0x06 //<App>:<Set ACPI Power State>
17 0x06:0x07 //<App>:<Get ACPI Power State>
18 0x06:0x08 //<App>:<Get Device GUID>
19 0x06:0x22 //<App>:<Reset Watchdog Timer>
20 0x06:0x24 //<App>:<Set Watchdog Timer>
21 0x06:0x25 //<App>:<Get Watchdog Timer>
22 0x06:0x2E //<App>:<Set BMC Global Enables>
23 0x06:0x2F //<App>:<Get BMC Global Enables>
[all …]

12345678910>>...40