/openbmc/linux/tools/testing/selftests/resctrl/ |
H A D | resctrl_tests.c | 217 char *token; in main() local 221 token = strtok(optarg, ","); in main() 227 while (token) { in main() 228 if (!strncmp(token, MBM_STR, sizeof(MBM_STR))) { in main() 231 } else if (!strncmp(token, MBA_STR, sizeof(MBA_STR))) { in main() 234 } else if (!strncmp(token, CMT_STR, sizeof(CMT_STR))) { in main() 237 } else if (!strncmp(token, CAT_STR, sizeof(CAT_STR))) { in main() 245 token = strtok(NULL, ","); in main()
|
/openbmc/openbmc/meta-yadro/recipes-phosphor/ipmi/phosphor-ipmi-host/ |
H A D | 0003-Fix-version-parsing-update-AUX-revision-info.patch | 58 + char const token[]) 141 - std::string token; 195 - token = s.substr(location + 1); 199 - if (!token.empty()) 222 - token = token.substr(location + 1); 242 - location = token.find_first_of(".-"); 243 - if (!token.empty()) 258 - token = token.substr(location + 1); 276 - token = token.substr(location + 1); 288 - token = token.substr(location + 1); [all …]
|
/openbmc/linux/drivers/xen/xenbus/ |
H A D | xenbus_xs.c | 664 iov[1].iov_base = (void *)token; in xs_watch() 665 iov[1].iov_len = strlen(token) + 1; in xs_watch() 677 iov[1].iov_base = (char *)token; in xs_unwatch() 711 event->path, event->token))) { in xs_watch_msg() 767 char token[sizeof(watch) * 2 + 1]; in register_xenbus_watch() local 777 BUG_ON(find_watch(token)); in register_xenbus_watch() 798 char token[sizeof(watch) * 2 + 1]; in unregister_xenbus_watch() local 806 BUG_ON(!find_watch(token)); in unregister_xenbus_watch() 850 char token[sizeof(watch) * 2 + 1]; in xs_resume() local 861 xs_watch(watch->node, token); in xs_resume() [all …]
|
H A D | xenbus_dev_frontend.c | 230 char *token; member 236 kfree(watch->token); in free_watch_adapter() 241 const char *token) in alloc_watch_adapter() argument 253 watch->token = kstrdup(token, GFP_KERNEL); in alloc_watch_adapter() 254 if (watch->token == NULL) in alloc_watch_adapter() 268 const char *token) in watch_fired() argument 499 char *path, *token; in xenbus_write_watch() local 504 if (token == NULL) { in xenbus_write_watch() 508 token++; in xenbus_write_watch() 509 if (memchr(token, 0, u->u.msg.len - (token - path)) == NULL) { in xenbus_write_watch() [all …]
|
/openbmc/linux/net/sunrpc/auth_gss/ |
H A D | gss_krb5_seal.c | 75 setup_token_v2(struct krb5_ctx *ctx, struct xdr_netobj *token) in setup_token_v2() argument 89 krb5_hdr = (u16 *)token->data; in setup_token_v2() 100 token->len = GSS_KRB5_TOK_HDR_LEN + ctx->gk5e->cksumlength; in setup_token_v2() 106 struct xdr_netobj *token) in gss_krb5_get_mic_v2() argument 119 krb5_hdr = setup_token_v2(ctx, token); in gss_krb5_get_mic_v2()
|
/openbmc/linux/security/apparmor/ |
H A D | task.c | 105 ctx->token = stack; in aa_set_current_onexec() 120 int aa_set_current_hat(struct aa_label *label, u64 token) in aa_set_current_hat() argument 133 ctx->token = token; in aa_set_current_hat() 134 } else if (ctx->token == token) { in aa_set_current_hat() 160 int aa_restore_previous_label(u64 token) in aa_restore_previous_label() argument 165 if (ctx->token != token) in aa_restore_previous_label()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | dcr-mmio.h | 14 void __iomem *token; member 21 return host.token != NULL; in dcr_map_ok_mmio() 31 return in_be32(host.token + ((host.base + dcr_n) * host.stride)); in dcr_read_mmio() 38 out_be32(host.token + ((host.base + dcr_n) * host.stride), value); in dcr_write_mmio()
|
H A D | simple_spinlock.h | 51 unsigned long tmp, token; in __arch_spin_trylock() local 54 token = LOCK_TOKEN; in __arch_spin_trylock() 64 : "r" (token), "r" (&lock->slock), [eh] "n" (eh) in __arch_spin_trylock() 185 long tmp, token; in __arch_write_trylock() local 188 token = WRLOCK_TOKEN; in __arch_write_trylock() 197 : "r" (token), "r" (&rw->lock), [eh] "n" (eh) in __arch_write_trylock()
|
H A D | opal.h | 52 int64_t opal_tpo_write(uint64_t token, uint32_t year_mon_day, 158 int64_t opal_check_token(uint64_t token); 218 uint64_t size, uint64_t token); 220 uint64_t size, uint64_t token); 222 uint64_t token); 287 int opal_get_powercap(u32 handle, int token, u32 *pcap); 288 int opal_set_powercap(u32 handle, int token, u32 pcap); 289 int opal_get_power_shift_ratio(u32 handle, int token, u32 *psr); 290 int opal_set_power_shift_ratio(u32 handle, int token, u32 psr); 291 int opal_sensor_group_clear(u32 group_hndl, int token); [all …]
|
/openbmc/qemu/qobject/ |
H A D | json-streamer.c | 24 JSONToken *token; in json_message_free_tokens() local 26 while ((token = g_queue_pop_head(&parser->tokens))) { in json_message_free_tokens() 27 g_free(token); in json_message_free_tokens() 37 JSONToken *token; in json_message_process_token() local 82 token = json_token(type, x, y, input); in json_message_process_token() 85 g_queue_push_tail(&parser->tokens, token); in json_message_process_token()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_rtas.c | 133 u64 token; member 160 static int rtas_token_define(struct kvm *kvm, char *name, u64 token) in rtas_token_define() argument 170 if (d->token == token) in rtas_token_define() 191 d->token = token; in rtas_token_define() 208 if (args.token) in kvm_vm_ioctl_rtas_define_token() 209 rc = rtas_token_define(kvm, args.name, args.token); in kvm_vm_ioctl_rtas_define_token() 262 if (d->token == be32_to_cpu(args.token)) { in kvmppc_rtas_hcall()
|
/openbmc/linux/net/mptcp/ |
H A D | pm_userspace.c | 180 struct nlattr *token = info->attrs[MPTCP_PM_ATTR_TOKEN]; in mptcp_nl_cmd_announce() local 187 if (!addr || !token) { in mptcp_nl_cmd_announce() 192 token_val = nla_get_u32(token); in mptcp_nl_cmd_announce() 277 struct nlattr *token = info->attrs[MPTCP_PM_ATTR_TOKEN]; in mptcp_nl_cmd_remove() local 287 if (!id || !token) { in mptcp_nl_cmd_remove() 293 token_val = nla_get_u32(token); in mptcp_nl_cmd_remove() 355 if (!laddr || !raddr || !token) { in mptcp_nl_cmd_sf_create() 360 token_val = nla_get_u32(token); in mptcp_nl_cmd_sf_create() 478 if (!laddr || !raddr || !token) { in mptcp_nl_cmd_sf_destroy() 483 token_val = nla_get_u32(token); in mptcp_nl_cmd_sf_destroy() [all …]
|
H A D | syncookies.c | 24 u32 token; member 62 entry->token = subflow_req->token; in mptcp_join_store_state() 111 msk = mptcp_token_get_sock(net, e->token); in mptcp_token_join_cookie_init_state() 121 subflow_req->token = e->token; in mptcp_token_join_cookie_init_state()
|
/openbmc/qemu/hw/i386/kvm/ |
H A D | trace-events | 17 xenstore_watch(const char *path, const char *token) "path %s token %s" 18 xenstore_unwatch(const char *path, const char *token) "path %s token %s" 20 xenstore_watch_event(const char *path, const char *token) "path %s token %s"
|
/openbmc/linux/include/linux/ |
H A D | pm_opp.h | 173 void dev_pm_opp_clear_config(int token); 533 static inline void dev_pm_opp_put_regulators(int token) in dev_pm_opp_put_regulators() argument 535 dev_pm_opp_clear_config(token); in dev_pm_opp_put_regulators() 563 dev_pm_opp_clear_config(token); in dev_pm_opp_put_supported_hw() 589 static inline void dev_pm_opp_put_clkname(int token) in dev_pm_opp_put_clkname() argument 591 dev_pm_opp_clear_config(token); in dev_pm_opp_put_clkname() 617 dev_pm_opp_clear_config(token); in dev_pm_opp_put_config_regulators() 633 static inline void dev_pm_opp_detach_genpd(int token) in dev_pm_opp_detach_genpd() argument 635 dev_pm_opp_clear_config(token); in dev_pm_opp_detach_genpd() 660 static inline void dev_pm_opp_put_prop_name(int token) in dev_pm_opp_put_prop_name() argument [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/rabbitmq-c/files/ |
H A D | CVE-2023-35789.patch | 55 + char token[MAXAUTHTOKENLEN]; 64 + if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || 65 + strncmp(token, USERNAMEPREFIX, strlen(USERNAMEPREFIX))) { 68 + strncpy(amqp_username, &token[strlen(USERNAMEPREFIX)], MAXAUTHTOKENLEN); 69 + /* Missing newline means token was cut off */ 77 + if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL || 78 + strncmp(token, PASSWORDPREFIX, strlen(PASSWORDPREFIX))) { 81 + strncpy(amqp_password, &token[strlen(PASSWORDPREFIX)], MAXAUTHTOKENLEN); 82 + /* Missing newline means token was cut off */
|
/openbmc/bmcweb/src/ |
H A D | ossl_random.cpp | 54 std::string token; in getRandomIdOfLength() local 55 token.resize(length, '0'); in getRandomIdOfLength() 60 for (char& tokenChar : token) in getRandomIdOfLength() 68 return token; in getRandomIdOfLength()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_nffw.h | 75 u8 action, u8 token, u64 off, void *buf, size_t len); 79 u8 action, u8 token, u64 off, u32 *value); 83 u8 action, u8 token, u64 off, u64 *value); 87 u8 action, u8 token, u64 off, void *buf, size_t len); 91 u8 action, u8 token, u64 off, u32 value); 95 u8 action, u8 token, u64 off, u64 value);
|
H A D | nfp_rtsym.c | 227 u8 action, u8 token, u64 off, u32 *cpp_id, u64 *addr) in nfp_rtsym_to_dest() argument 243 *cpp_id = NFP_CPP_ISLAND_ID(NFP_CPP_TARGET_MU, action, token, in nfp_rtsym_to_dest() 250 *cpp_id = NFP_CPP_ISLAND_ID(sym->target, action, token, in nfp_rtsym_to_dest() 258 u8 action, u8 token, u64 off, void *buf, size_t len) in __nfp_rtsym_read() argument 281 err = nfp_rtsym_to_dest(cpp, sym, action, token, off, &cpp_id, &addr); in __nfp_rtsym_read() 295 u8 action, u8 token, u64 off, u32 *value) in __nfp_rtsym_readl() argument 307 err = nfp_rtsym_to_dest(cpp, sym, action, token, off, &cpp_id, &addr); in __nfp_rtsym_readl() 321 u8 action, u8 token, u64 off, u64 *value) in __nfp_rtsym_readq() argument 352 u8 action, u8 token, u64 off, void *buf, size_t len) in __nfp_rtsym_write() argument 380 u8 action, u8 token, u64 off, u32 value) in __nfp_rtsym_writel() argument [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | inetpeer.c | 272 unsigned long now, token; in inet_peer_xrlim_allow() local 278 token = peer->rate_tokens; in inet_peer_xrlim_allow() 280 token += now - peer->rate_last; in inet_peer_xrlim_allow() 282 if (token > XRLIM_BURST_FACTOR * timeout) in inet_peer_xrlim_allow() 283 token = XRLIM_BURST_FACTOR * timeout; in inet_peer_xrlim_allow() 284 if (token >= timeout) { in inet_peer_xrlim_allow() 285 token -= timeout; in inet_peer_xrlim_allow() 288 peer->rate_tokens = token; in inet_peer_xrlim_allow()
|
/openbmc/webui-vue/src/store/modules/Authentication/ |
H A D | AuthenticanStore.js | 29 token: (state) => state.xsrfCookie, 32 authSuccess(state, { session, token }) { 43 api.set_auth_token(token); 44 state.xAuthToken = token; 74 token: response.headers['x-auth-token'], property in AnonymousClassdd0a6d100501
|
/openbmc/linux/fs/orangefs/ |
H A D | dir.c | 16 __u64 token; member 76 op->upcall.req.readdir.token = od->token; in do_readdir() 127 od->token = resp->token; in do_readdir() 297 od->token = ORANGEFS_ITERATE_START; in orangefs_dir_llseek() 343 while (od->token != ORANGEFS_ITERATE_END && in orangefs_dir_iterate() 349 if (od->token == ORANGEFS_ITERATE_END && ctx->pos > od->end) in orangefs_dir_iterate() 360 if (od->token != ORANGEFS_ITERATE_END) { in orangefs_dir_iterate() 378 od->token = ORANGEFS_ITERATE_START; in orangefs_dir_open()
|
/openbmc/linux/scripts/ |
H A D | asn1_compiler.c | 300 struct token { struct 319 const struct token *token = _key; in directive_compare() local 325 clen = (dlen < token->size) ? dlen : token->size; in directive_compare() 348 struct token *tokens; in tokenise() 683 struct token *name; 684 struct token *type; 706 struct token *name; 707 struct token *def; 732 const struct token *token = _key; in type_finder() local 740 token->size); in type_finder() [all …]
|
/openbmc/linux/drivers/leds/ |
H A D | leds-powernv.c | 79 int rc, token; in powernv_led_set() local 93 token = opal_async_get_token_interruptible(); in powernv_led_set() 94 if (token < 0) { in powernv_led_set() 95 if (token != -ERESTARTSYS) in powernv_led_set() 98 return token; in powernv_led_set() 101 rc = opal_leds_set_ind(token, powernv_led->loc_code, in powernv_led_set() 109 rc = opal_async_wait_response(token, &msg); in powernv_led_set() 123 opal_async_release_token(token); in powernv_led_set()
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-uhci.c | 88 uint32_t token; member 99 uint32_t token; member 114 if ((td->token & (0xf << 15)) == 0) { in uhci_queue_token() 116 return td->token & 0x7ff00; in uhci_queue_token() 119 return td->token & 0x7ffff; in uhci_queue_token() 131 queue->token = uhci_queue_token(td); in uhci_queue_new() 158 uint32_t token = uhci_queue_token(td); in uhci_queue_find() local 162 if (queue->token == token) { in uhci_queue_find() 630 le32_to_cpus(&td->token); in uhci_read_td() 683 pid = td->token & 0xff; in uhci_complete_td() [all …]
|