Searched refs:token (Results 76 - 100 of 519) sorted by relevance

1234567891011>>

/linux-master/security/apparmor/include/
H A Dtask.h23 * @token: magic value the task must know for returning to @previous_profile
29 u64 token; member in struct:aa_task_ctx
34 int aa_set_current_hat(struct aa_label *label, u64 token);
77 ctx->token = 0;
/linux-master/drivers/usb/host/
H A Dehci-q.c38 size_t len, int token, int maxpacket)
71 qtd->hw_token = cpu_to_hc32(ehci, (count << 16) | token);
157 struct urb *urb, u32 token)
172 usb_pipeendpoint(urb->pipe), token);
192 u32 token
198 if (likely(QTD_PID(token) != PID_CODE_SETUP))
199 urb->actual_length += length - QTD_LENGTH (token);
206 if (unlikely (IS_SHORT_READ (token)))
210 if (token & QTD_STS_HALT) {
211 if (token
37 qtd_fill(struct ehci_hcd *ehci, struct ehci_qtd *qtd, dma_addr_t buf, size_t len, int token, int maxpacket) argument
156 ehci_clear_tt_buffer(struct ehci_hcd *ehci, struct ehci_qh *qh, struct urb *urb, u32 token) argument
326 u32 token = 0; local
586 u32 token; local
1061 __hc32 token; local
1181 u32 token; local
[all...]
H A Duhci-hcd.h227 #define td_token(uhci, td) hc32_to_cpu((uhci), (td)->token)
238 #define uhci_expected_length(token) ((((token) >> TD_TOKEN_EXPLEN_SHIFT) + \
240 #define uhci_toggle(token) (((token) >> TD_TOKEN_TOGGLE_SHIFT) & 1)
241 #define uhci_endpoint(token) (((token) >> 15) & 0xf)
242 #define uhci_devaddr(token) (((token) >> TD_TOKEN_DEVADDR_SHIFT) & 0x7f)
243 #define uhci_devep(token) (((toke
262 __hc32 token; member in struct:uhci_td
[all...]
/linux-master/drivers/net/ethernet/ti/
H A Ddavinci_cpdma.h64 typedef void (*cpdma_handler_fn)(void *token, int len, int status);
80 int cpdma_chan_submit_mapped(struct cpdma_chan *chan, void *token,
82 int cpdma_chan_submit(struct cpdma_chan *chan, void *token, void *data,
84 int cpdma_chan_idle_submit_mapped(struct cpdma_chan *chan, void *token,
86 int cpdma_chan_idle_submit(struct cpdma_chan *chan, void *token, void *data,
/linux-master/drivers/usb/chipidea/
H A Dtrace.h50 __field(u32, token)
60 __entry->token = le32_to_cpu(td->ptr->token);
67 (int)((__entry->token & TD_TOTAL_BYTES) >> __ffs(TD_TOTAL_BYTES)),
68 __entry->token & TD_STATUS
/linux-master/tools/testing/selftests/resctrl/
H A Dresctrl_tests.c176 char *token; local
196 token = strtok(optarg, ",");
204 while (token) {
208 if (!strcasecmp(token, resctrl_tests[i]->name) ||
210 !strcasecmp(token, resctrl_tests[i]->group))) {
219 printf("invalid test: %s\n", token);
223 token = strtok(NULL, ",");
H A Dmbm_test.c69 char *token = strtok(temp, ":\t"); local
72 while (token) {
73 token_array[i++] = token;
74 token = strtok(NULL, ":\t");
H A Dmba_test.c120 char *token = strtok(temp, ":\t"); local
123 while (token) {
124 token_array[fields++] = token;
125 token = strtok(NULL, ":\t");
/linux-master/arch/powerpc/kvm/
H A Dbook3s_rtas.c133 u64 token; member in struct:rtas_token_definition
156 /* It's not an error to undefine an undefined token */
160 static int rtas_token_define(struct kvm *kvm, char *name, u64 token) argument
170 if (d->token == token)
191 d->token = token;
208 if (args.token)
209 rc = rtas_token_define(kvm, args.name, args.token);
262 if (d->token
[all...]
/linux-master/arch/powerpc/sysdev/
H A Ddcr.c182 dcr_host_mmio_t ret = { .token = NULL, .stride = 0, .base = dcr_n };
194 ret.token = ioremap(addr, dcr_c * ret.stride);
195 if (ret.token == NULL)
198 ret.token, ret.token - dcr_n * ret.stride);
199 ret.token -= dcr_n * ret.stride;
208 if (h.token == NULL)
210 h.token += host.base * h.stride;
211 iounmap(h.token);
212 h.token
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dpapr-sysparm.c74 * @param: PAPR system parameter token as described in
98 const s32 token = rtas_function_token(RTAS_FN_IBM_GET_SYSTEM_PARAMETER); local
108 if (token == RTAS_UNKNOWN_SERVICE)
119 fwrc = rtas_call(token, 3, 1, NULL, param.token,
154 const s32 token = rtas_function_token(RTAS_FN_IBM_SET_SYSTEM_PARAMETER); local
164 if (token == RTAS_UNKNOWN_SERVICE)
175 fwrc = rtas_call(token, 2, 1, NULL, param.token,
266 if (get_user(param.token,
[all...]
/linux-master/drivers/nvme/host/
H A Dfabrics.c690 int token, ret = 0; local
723 token = match_token(p, opt_tokens, args);
724 opts->mask |= token;
725 switch (token) {
773 if (match_int(args, &token)) {
777 if (token < NVMF_MIN_QUEUE_SIZE ||
778 token > NVMF_MAX_QUEUE_SIZE) {
779 pr_err("Invalid queue_size %d\n", token);
783 opts->queue_size = token;
786 if (match_int(args, &token)) {
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nffw.h75 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);
/linux-master/drivers/soc/qcom/
H A Dpmic_pdcharger_ulog.c84 char *token, *buf = resp_msg->buf; local
95 token = strsep((char **)&buf, "\n");
96 if (token && strlen(token))
97 trace_pmic_pdcharger_ulog_msg(token);
98 } while (token);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_helpers.h21 struct nstoken *token = open_netns(NETNS); \
22 if (ASSERT_OK_PTR(token, "setns")) { \
24 close_netns(token); \
H A Duser_ringbuf.c378 __u64 *token; local
388 token = user_ring_buffer__reserve(ringbuf, sizeof(*token));
389 if (!token)
392 user_ring_buffer__discard(ringbuf, token);
405 * reserve another token.
407 token = user_ring_buffer__reserve(ringbuf, sizeof(*token));
409 if (!ASSERT_OK_PTR(token, "new_token"))
412 user_ring_buffer__discard(ringbuf, token);
610 __u64 *token; local
[all...]
/linux-master/scripts/
H A Dcheck-sysctl-docs73 token = trimpunct($i)
74 if (length(token) > 0 && token != "and") {
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Doclass.h25 u64 token; member in struct:nvkm_oclass
/linux-master/include/linux/
H A Dparser.h15 int token; member in struct:match_token
/linux-master/drivers/bus/fsl-mc/
H A Dfsl-mc-private.h63 u16 *token);
67 u16 token);
71 u16 token);
265 u16 *token);
269 u16 token);
306 u16 token,
312 u16 token,
318 u16 token,
324 u16 token,
330 u16 token,
[all...]
/linux-master/security/apparmor/
H A Dtask.c104 ctx->token = stack;
110 * @token: token value that must be specified to change from the hat
113 * validate the token to match.
117 int aa_set_current_hat(struct aa_label *label, u64 token) argument
130 ctx->token = token;
131 } else if (ctx->token == token) {
134 /* previous_profile && ctx->token !
157 aa_restore_previous_label(u64 token) argument
[all...]
/linux-master/drivers/xen/xenbus/
H A Dxenbus_xs.c658 static int xs_watch(const char *path, const char *token) argument
664 iov[1].iov_base = (void *)token;
665 iov[1].iov_len = strlen(token) + 1;
671 static int xs_unwatch(const char *path, const char *token) argument
677 iov[1].iov_base = (char *)token;
678 iov[1].iov_len = strlen(token) + 1;
684 static struct xenbus_watch *find_watch(const char *token) argument
688 cmp = (void *)simple_strtoul(token, NULL, 16);
704 event->token = (const char *)strchr(event->body, '\0') + 1;
707 event->handle = find_watch(event->token);
767 char token[sizeof(watch) * 2 + 1]; local
798 char token[sizeof(watch) * 2 + 1]; local
850 char token[sizeof(watch) * 2 + 1]; local
[all...]
/linux-master/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_gram.y119 %token T_REGISTER
121 %token <value> T_CONST
123 %token T_EXPORT
125 %token T_DOWNLOAD
127 %token T_SCB
129 %token T_SRAM
131 %token T_ALIAS
133 %token T_SIZE
135 %token T_EXPR_LSHIFT
137 %token T_EXPR_RSHIF
[all...]
H A Daicasm_macro_gram.y75 %token <str> T_ARG
77 %token <sym> T_SYMBOL
/linux-master/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A Devent_fifo_private.h51 const hrt_data token)
55 ia_css_device_store_uint32(event_sink_addr[ID], token);

Completed in 333 milliseconds

1234567891011>>