Home
last modified time | relevance | path

Searched refs:token (Results 1 – 25 of 129) sorted by relevance

123456

/linux-4.19.296/fs/btrfs/
Dstruct-funcs.c41 struct btrfs_map_token *token) \
53 if (token && token->kaddr && token->offset <= offset && \
54 token->eb == eb && \
55 (token->offset + PAGE_SIZE >= offset + size)) { \
56 kaddr = token->kaddr; \
57 p = kaddr + part_offset - token->offset; \
71 if (token) { \
72 token->kaddr = kaddr; \
73 token->offset = map_start; \
74 token->eb = eb; \
[all …]
/linux-4.19.296/virt/lib/
Dirqbypass.c92 if (!producer->token) in irq_bypass_register_producer()
103 if (tmp->token == producer->token) { in irq_bypass_register_producer()
111 if (consumer->token == producer->token) { in irq_bypass_register_producer()
142 if (!producer->token) in irq_bypass_unregister_producer()
153 if (tmp->token != producer->token) in irq_bypass_unregister_producer()
157 if (consumer->token == producer->token) { in irq_bypass_unregister_producer()
186 if (!consumer->token || in irq_bypass_register_consumer()
198 if (tmp->token == consumer->token || tmp == consumer) { in irq_bypass_register_consumer()
206 if (producer->token == consumer->token) { in irq_bypass_register_consumer()
237 if (!consumer->token) in irq_bypass_unregister_consumer()
[all …]
/linux-4.19.296/drivers/bus/fsl-mc/
Ddpcon.c32 u16 *token) in dpcon_open() argument
51 *token = mc_cmd_hdr_read_token(&cmd); in dpcon_open()
70 u16 token) in dpcon_close() argument
77 token); in dpcon_close()
94 u16 token) in dpcon_enable() argument
101 token); in dpcon_enable()
118 u16 token) in dpcon_disable() argument
125 token); in dpcon_disable()
142 u16 token) in dpcon_reset() argument
148 cmd_flags, token); in dpcon_reset()
[all …]
Ddpbp.c32 u16 *token) in dpbp_open() argument
50 *token = mc_cmd_hdr_read_token(&cmd); in dpbp_open()
69 u16 token) in dpbp_close() argument
75 token); in dpbp_close()
92 u16 token) in dpbp_enable() argument
98 token); in dpbp_enable()
115 u16 token) in dpbp_disable() argument
121 cmd_flags, token); in dpbp_disable()
138 u16 token) in dpbp_reset() argument
144 cmd_flags, token); in dpbp_reset()
[all …]
Ddprc.c25 u16 *token) in dprc_open() argument
43 *token = mc_cmd_hdr_read_token(&cmd); in dprc_open()
62 u16 token) in dprc_close() argument
68 token); in dprc_close()
87 u16 token, in dprc_set_irq() argument
97 token); in dprc_set_irq()
125 u16 token, in dprc_set_irq_enable() argument
134 cmd_flags, token); in dprc_set_irq_enable()
161 u16 token, in dprc_set_irq_mask() argument
170 cmd_flags, token); in dprc_set_irq_mask()
[all …]
Ddpmcp.c31 u16 *token) in dpmcp_open() argument
49 *token = mc_cmd_hdr_read_token(&cmd); in dpmcp_open()
67 u16 token) in dpmcp_close() argument
73 cmd_flags, token); in dpmcp_close()
89 u16 token) in dpmcp_reset() argument
95 cmd_flags, token); in dpmcp_reset()
Dfsl-mc-private.h62 u16 *token);
66 u16 token);
70 u16 token);
227 u16 *token);
231 u16 token);
268 u16 token,
274 u16 token,
280 u16 token,
286 u16 token,
292 u16 token,
[all …]
/linux-4.19.296/include/linux/fsl/
Dmc.h208 __le16 token; member
243 u16 token) in mc_encode_cmd_header() argument
249 hdr->token = cpu_to_le16(token); in mc_encode_cmd_header()
262 u16 token = le16_to_cpu(hdr->token); in mc_cmd_hdr_read_token() local
264 return token; in mc_cmd_hdr_read_token()
462 u16 *token);
466 u16 token);
470 u16 token);
474 u16 token);
478 u16 token);
[all …]
/linux-4.19.296/drivers/rtc/
Drtc-opal.c130 int rc, token; in opal_get_tpo_time() local
134 token = opal_async_get_token_interruptible(); in opal_get_tpo_time()
135 if (token < 0) { in opal_get_tpo_time()
136 if (token != -ERESTARTSYS) in opal_get_tpo_time()
139 return token; in opal_get_tpo_time()
142 rc = opal_tpo_read(token, &__y_m_d, &__h_m); in opal_get_tpo_time()
148 rc = opal_async_wait_response(token, &msg); in opal_get_tpo_time()
175 opal_async_release_token(token); in opal_get_tpo_time()
185 int token, rc; in opal_set_tpo_time() local
196 token = opal_async_get_token_interruptible(); in opal_set_tpo_time()
[all …]
/linux-4.19.296/drivers/char/
Dpowernv-op-panel.c52 int rc, token; in __op_panel_update_display() local
54 token = opal_async_get_token_interruptible(); in __op_panel_update_display()
55 if (token < 0) { in __op_panel_update_display()
56 if (token != -ERESTARTSYS) in __op_panel_update_display()
58 token); in __op_panel_update_display()
59 return token; in __op_panel_update_display()
62 rc = opal_write_oppanel_async(token, oppanel_lines, num_lines); in __op_panel_update_display()
65 rc = opal_async_wait_response(token, &msg); in __op_panel_update_display()
83 opal_async_release_token(token); in __op_panel_update_display()
/linux-4.19.296/drivers/xen/xenbus/
Dxenbus_xs.c658 static int xs_watch(const char *path, const char *token) in xs_watch() argument
664 iov[1].iov_base = (void *)token; in xs_watch()
665 iov[1].iov_len = strlen(token) + 1; in xs_watch()
671 static int xs_unwatch(const char *path, const char *token) in xs_unwatch() argument
677 iov[1].iov_base = (char *)token; in xs_unwatch()
678 iov[1].iov_len = strlen(token) + 1; in xs_unwatch()
684 static struct xenbus_watch *find_watch(const char *token) in find_watch() argument
688 cmp = (void *)simple_strtoul(token, NULL, 16); in find_watch()
704 event->token = (const char *)strchr(event->body, '\0') + 1; in xs_watch_msg()
707 event->handle = find_watch(event->token); in xs_watch_msg()
[all …]
Dxenbus_dev_frontend.c230 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
279 token_caller = adap->token; in watch_fired()
499 char *path, *token; in xenbus_write_watch() local
504 token = memchr(path, 0, u->u.msg.len); in xenbus_write_watch()
505 if (token == NULL) { in xenbus_write_watch()
[all …]
Dxenbus.h48 const char *path, const char *token);
50 const char *token);
66 const char *token; member
128 const char *path, const char *token,
/linux-4.19.296/include/linux/wimax/
Ddebug.h493 char submodule[130], *params, *params_orig, *token, *colon; in d_parse_params() local
501 token = strsep(&params, " "); in d_parse_params()
502 if (token == NULL) in d_parse_params()
504 if (*token == '\0') /* eat joint spaces */ in d_parse_params()
509 colon = strchr(token, ':'); in d_parse_params()
512 tokens = sscanf(token, "%s\n%u", submodule, &level); in d_parse_params()
521 tag, token, tokens); in d_parse_params()
/linux-4.19.296/fs/orangefs/
Ddir.c16 __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()
/linux-4.19.296/drivers/i2c/busses/
Di2c-opal.c54 int token, rc; in i2c_opal_send_request() local
56 token = opal_async_get_token_interruptible(); in i2c_opal_send_request()
57 if (token < 0) { in i2c_opal_send_request()
58 if (token != -ERESTARTSYS) in i2c_opal_send_request()
61 return token; in i2c_opal_send_request()
64 rc = opal_i2c_request(token, bus_id, req); in i2c_opal_send_request()
70 rc = opal_async_wait_response(token, &msg); in i2c_opal_send_request()
81 opal_async_release_token(token); in i2c_opal_send_request()
/linux-4.19.296/fs/hfsplus/
Doptions.c76 int token; in hfsplus_parse_options_remount() local
85 token = match_token(p, tokens, args); in hfsplus_parse_options_remount()
86 switch (token) { in hfsplus_parse_options_remount()
104 int tmp, token; in hfsplus_parse_options() local
113 token = match_token(p, tokens, args); in hfsplus_parse_options()
114 switch (token) { in hfsplus_parse_options()
/linux-4.19.296/include/trace/events/
Dkvm.h318 TP_PROTO(u64 token, u64 gva),
320 TP_ARGS(token, gva),
323 __field(__u64, token)
328 __entry->token = token;
332 TP_printk("token %#llx gva %#llx", __entry->token, __entry->gva)
338 TP_PROTO(u64 token, u64 gva),
340 TP_ARGS(token, gva)
345 TP_PROTO(u64 token, u64 gva),
347 TP_ARGS(token, gva)
/linux-4.19.296/drivers/s390/scsi/
Dzfcp_aux.c90 char *token; in zfcp_init_device_setup() local
101 token = strsep(&str, ","); in zfcp_init_device_setup()
102 if (!token || strlen(token) >= ZFCP_BUS_ID_SIZE) in zfcp_init_device_setup()
104 strlcpy(busid, token, ZFCP_BUS_ID_SIZE); in zfcp_init_device_setup()
106 token = strsep(&str, ","); in zfcp_init_device_setup()
107 if (!token || kstrtoull(token, 0, (unsigned long long *) &wwpn)) in zfcp_init_device_setup()
110 token = strsep(&str, ","); in zfcp_init_device_setup()
111 if (!token || kstrtoull(token, 0, (unsigned long long *) &lun)) in zfcp_init_device_setup()
/linux-4.19.296/lib/lz4/
Dlz4_compress.c247 BYTE *token; in LZ4_compress_generic() local
304 token = op++; in LZ4_compress_generic()
316 *token = (RUN_MASK << ML_BITS); in LZ4_compress_generic()
322 *token = (BYTE)(litLength << ML_BITS); in LZ4_compress_generic()
375 *token += ML_MASK; in LZ4_compress_generic()
388 *token += (BYTE)(matchCode); in LZ4_compress_generic()
419 token = op++; in LZ4_compress_generic()
420 *token = 0; in LZ4_compress_generic()
570 BYTE *token; in LZ4_compress_destSize_generic() local
614 token = op++; in LZ4_compress_destSize_generic()
[all …]
/linux-4.19.296/drivers/misc/cxl/
Dflash.c53 static int rcall(int token, char *buf, s32 scope) in rcall() argument
60 rc = rtas_call(token, 2, 1, NULL, rtas_data_buf, scope); in rcall()
113 int token; in update_node() local
117 token = rtas_token("ibm,update-properties"); in update_node()
118 if (token == RTAS_UNKNOWN_SERVICE) in update_node()
134 rc = rcall(token, buf, scope); in update_node()
177 int token, rc, i; in update_devicetree() local
181 token = rtas_token("ibm,update-nodes"); in update_devicetree()
182 if (token == RTAS_UNKNOWN_SERVICE) in update_devicetree()
192 rc = rcall(token, buf, scope); in update_devicetree()
/linux-4.19.296/fs/ecryptfs/
Ddebug.c43 ecryptfs_to_hex(salt, auth_tok->token.password.salt, in ecryptfs_dump_auth_tok()
47 if (auth_tok->token.password.flags & in ecryptfs_dump_auth_tok()
51 memcpy(sig, auth_tok->token.password.signature, in ecryptfs_dump_auth_tok()
Dkeystore.c775 (u8 *)s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
776 s->auth_tok->token.password.session_key_encryption_key_bytes, in ecryptfs_write_tag_70_packet()
830 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
838 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_write_tag_70_packet()
1046 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_parse_tag_70_packet()
1054 s->auth_tok->token.password.session_key_encryption_key, in ecryptfs_parse_tag_70_packet()
1118 (*sig) = auth_tok->token.password.signature; in ecryptfs_get_auth_tok_sig()
1121 (*sig) = auth_tok->token.private_key.signature; in ecryptfs_get_auth_tok_sig()
1308 ecryptfs_to_hex((*new_auth_tok)->token.private_key.signature, in parse_tag_1_packet()
1477 memcpy((*new_auth_tok)->token.password.salt, in parse_tag_3_packet()
[all …]
/linux-4.19.296/include/linux/
Dirqbypass.h50 void *token; member
76 void *token; member
/linux-4.19.296/drivers/s390/cio/
Dqdio.h88 static inline int do_sqbs(u64 token, unsigned char state, int queue, in do_sqbs() argument
98 : [state] "a" ((unsigned long)state), [token] "d" (token) in do_sqbs()
106 static inline int do_eqbs(u64 token, unsigned char *state, int queue, in do_eqbs() argument
118 : [token] "d" (token) in do_eqbs()

123456