Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 25 of 3270) sorted by relevance

12345678910>>...131

/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tl/
H A Dmali_kbase_tracepoints.c724 size_t pos = 0; in __kbase_tlstream_tl_new_ctx() local
728 pos = kbasep_serialize_bytes(buffer, pos, &msg_id, sizeof(msg_id)); in __kbase_tlstream_tl_new_ctx()
729 pos = kbasep_serialize_timestamp(buffer, pos); in __kbase_tlstream_tl_new_ctx()
730 pos = kbasep_serialize_bytes(buffer, in __kbase_tlstream_tl_new_ctx()
731 pos, &ctx, sizeof(ctx)); in __kbase_tlstream_tl_new_ctx()
732 pos = kbasep_serialize_bytes(buffer, in __kbase_tlstream_tl_new_ctx()
733 pos, &ctx_nr, sizeof(ctx_nr)); in __kbase_tlstream_tl_new_ctx()
734 pos = kbasep_serialize_bytes(buffer, in __kbase_tlstream_tl_new_ctx()
735 pos, &tgid, sizeof(tgid)); in __kbase_tlstream_tl_new_ctx()
755 size_t pos = 0; in __kbase_tlstream_tl_new_gpu() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/dvm/
H A Ddebugfs.c66 int pos = 0; in iwl_dbgfs_sram_read() local
95 pos += scnprintf(buf + pos, bufsz - pos, "sram_len: 0x%x\n", in iwl_dbgfs_sram_read()
97 pos += scnprintf(buf + pos, bufsz - pos, "sram_offset: 0x%x\n", in iwl_dbgfs_sram_read()
110 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read()
114 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read()
117 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read()
130 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in iwl_dbgfs_sram_read()
132 pos += scnprintf(buf + pos, bufsz - pos, " "); in iwl_dbgfs_sram_read()
134 pos += scnprintf(buf + pos, bufsz - pos, " "); in iwl_dbgfs_sram_read()
138 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in iwl_dbgfs_sram_read()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlegacy/
H A D4965-debug.c45 int pos = 0; in il4965_ucode_rx_stats_read() local
89 pos += il4965_stats_flag(il, buf, bufsz); in il4965_ucode_rx_stats_read()
90 pos += in il4965_ucode_rx_stats_read()
91 scnprintf(buf + pos, bufsz - pos, fmt_header, in il4965_ucode_rx_stats_read()
93 pos += in il4965_ucode_rx_stats_read()
94 scnprintf(buf + pos, bufsz - pos, fmt_table, "ina_cnt:", in il4965_ucode_rx_stats_read()
97 pos += in il4965_ucode_rx_stats_read()
98 scnprintf(buf + pos, bufsz - pos, fmt_table, "fina_cnt:", in il4965_ucode_rx_stats_read()
101 pos += in il4965_ucode_rx_stats_read()
102 scnprintf(buf + pos, bufsz - pos, fmt_table, "plcp_err:", in il4965_ucode_rx_stats_read()
[all …]
H A Ddebug.c206 int pos = 0; in il_dbgfs_tx_stats_read() local
215 pos += scnprintf(buf + pos, bufsz - pos, "Management:\n"); in il_dbgfs_tx_stats_read()
217 pos += in il_dbgfs_tx_stats_read()
218 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n", in il_dbgfs_tx_stats_read()
221 pos += scnprintf(buf + pos, bufsz - pos, "Control\n"); in il_dbgfs_tx_stats_read()
223 pos += in il_dbgfs_tx_stats_read()
224 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n", in il_dbgfs_tx_stats_read()
227 pos += scnprintf(buf + pos, bufsz - pos, "Data:\n"); in il_dbgfs_tx_stats_read()
228 pos += in il_dbgfs_tx_stats_read()
229 scnprintf(buf + pos, bufsz - pos, "\tcnt: %u\n", in il_dbgfs_tx_stats_read()
[all …]
H A D3945-debug.c38 int pos = 0; in il3945_ucode_rx_stats_read() local
76 pos += il3945_stats_flag(il, buf, bufsz); in il3945_ucode_rx_stats_read()
77 pos += in il3945_ucode_rx_stats_read()
78 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
82 pos += in il3945_ucode_rx_stats_read()
83 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
87 pos += in il3945_ucode_rx_stats_read()
88 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
92 pos += in il3945_ucode_rx_stats_read()
93 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_tlstream.c609 size_t pos, in kbasep_tlstream_write_bytes() argument
616 memcpy(&buffer[pos], bytes, len); in kbasep_tlstream_write_bytes()
618 return pos + len; in kbasep_tlstream_write_bytes()
632 size_t pos, in kbasep_tlstream_write_string() argument
646 &buffer[pos + sizeof(string_len)], in kbasep_tlstream_write_string()
655 memcpy(&buffer[pos], &string_len, sizeof(string_len)); in kbasep_tlstream_write_string()
657 return pos + sizeof(string_len) + string_len; in kbasep_tlstream_write_string()
667 static size_t kbasep_tlstream_write_timestamp(void *buffer, size_t pos) in kbasep_tlstream_write_timestamp() argument
672 buffer, pos, in kbasep_tlstream_write_timestamp()
1289 size_t pos = 0; in kbasep_tlstream_timeline_header() local
[all …]
/OK3568_Linux_fs/u-boot/include/linux/
H A Dlist.h356 #define list_for_each(pos, head) \ argument
357 for (pos = (head)->next; prefetch(pos->next), pos != (head); \
358 pos = pos->next)
370 #define __list_for_each(pos, head) \ argument
371 for (pos = (head)->next; pos != (head); pos = pos->next)
378 #define list_for_each_prev(pos, head) \ argument
379 for (pos = (head)->prev; prefetch(pos->prev), pos != (head); \
380 pos = pos->prev)
388 #define list_for_each_safe(pos, n, head) \ argument
389 for (pos = (head)->next, n = pos->next; pos != (head); \
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/common/
H A Dlist.h369 #define list_for_each(pos, head) \ argument
370 for (pos = (head)->next; pos != (head); \
371 pos = pos->next)
383 #define __list_for_each(pos, head) \ argument
384 for (pos = (head)->next; pos != (head); pos = pos->next)
391 #define list_for_each_prev(pos, head) \ argument
392 for (pos = (head)->prev; pos != (head); \
393 pos = pos->prev)
401 #define list_for_each_safe(pos, n, head) \ argument
402 for (pos = (head)->next, n = pos->next; pos != (head); \
[all …]
/OK3568_Linux_fs/kernel/tools/include/linux/
H A Dlist.h392 #define list_next_entry(pos, member) \ argument
393 list_entry((pos)->member.next, typeof(*(pos)), member)
400 #define list_prev_entry(pos, member) \ argument
401 list_entry((pos)->member.prev, typeof(*(pos)), member)
408 #define list_for_each(pos, head) \ argument
409 for (pos = (head)->next; pos != (head); pos = pos->next)
416 #define list_for_each_prev(pos, head) \ argument
417 for (pos = (head)->prev; pos != (head); pos = pos->prev)
425 #define list_for_each_safe(pos, n, head) \ argument
426 for (pos = (head)->next, n = pos->next; pos != (head); \
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dlist.h189 struct list_head *pos = entry2->prev; in list_swap() local
193 if (pos == entry1) in list_swap()
194 pos = entry2; in list_swap()
195 list_add(entry1, pos); in list_swap()
554 #define list_next_entry(pos, member) \ argument
555 list_entry((pos)->member.next, typeof(*(pos)), member)
562 #define list_prev_entry(pos, member) \ argument
563 list_entry((pos)->member.prev, typeof(*(pos)), member)
570 #define list_for_each(pos, head) \ argument
571 for (pos = (head)->next; pos != (head); pos = pos->next)
[all …]
H A Drculist.h390 #define list_for_each_entry_rcu(pos, head, member, cond...) \ argument
392 pos = list_entry_rcu((head)->next, typeof(*pos), member); \
393 &pos->member != (head); \
394 pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
409 #define list_for_each_entry_srcu(pos, head, member, cond) \ argument
411 pos = list_entry_rcu((head)->next, typeof(*pos), member); \
412 &pos->member != (head); \
413 pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
444 #define list_for_each_entry_lockless(pos, head, member) \ argument
445 for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \
[all …]
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/
H A Dlist.h422 #define list_for_each(pos, head) \ argument
423 for (pos = (head)->next; pos != (head); pos = pos->next)
433 #define __list_for_each(pos, head) \ argument
434 for (pos = (head)->next; pos != (head); pos = pos->next)
441 #define list_for_each_prev(pos, head) \ argument
442 for (pos = (head)->prev; pos != (head); pos = pos->prev)
450 #define list_for_each_safe(pos, n, head) \ argument
451 for (pos = (head)->next, n = pos->next; pos != (head); \
452 pos = n, n = pos->next)
460 #define list_for_each_prev_safe(pos, n, head) \ argument
[all …]
/OK3568_Linux_fs/external/security/librkcrypto/include/
H A Drk_list.h463 #define list_next_entry(pos, member) \ argument
464 list_entry((pos)->member.next, typeof(*(pos)), member)
471 #define list_prev_entry(pos, member) \ argument
472 list_entry((pos)->member.prev, typeof(*(pos)), member)
479 #define list_for_each(pos, head) \ argument
480 for (pos = (head)->next; pos != (head); pos = pos->next)
487 #define list_for_each_prev(pos, head) \ argument
488 for (pos = (head)->prev; pos != (head); pos = pos->prev)
496 #define list_for_each_safe(pos, n, head) \ argument
497 for (pos = (head)->next, n = pos->next; pos != (head); \
[all …]
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dbpf-prologue.c29 struct bpf_insn *pos; member
33 pos_get_cnt(struct bpf_insn_pos *pos) in pos_get_cnt() argument
35 return pos->pos - pos->begin; in pos_get_cnt()
39 append_insn(struct bpf_insn new_insn, struct bpf_insn_pos *pos) in append_insn() argument
41 if (!pos->pos) in append_insn()
44 if (pos->pos + 1 >= pos->end) { in append_insn()
46 pos->pos = NULL; in append_insn()
50 *(pos->pos)++ = new_insn; in append_insn()
55 check_pos(struct bpf_insn_pos *pos) in check_pos() argument
57 if (!pos->pos || pos->pos >= pos->end) in check_pos()
[all …]
/OK3568_Linux_fs/u-boot/fs/yaffs2/
H A Dyaffs_nameval.c35 int pos = 0; in nval_find() local
39 while (size > 0 && (size < xb_size) && (pos + size < xb_size)) { in nval_find()
40 if (!yaffs_strncmp((YCHAR *) (xb + pos + sizeof(int)), in nval_find()
44 return pos; in nval_find()
46 pos += size; in nval_find()
47 if (pos < xb_size - sizeof(int)) in nval_find()
48 memcpy(&size, xb + pos, sizeof(int)); in nval_find()
59 int pos = 0; in nval_used() local
62 memcpy(&size, xb + pos, sizeof(int)); in nval_used()
63 while (size > 0 && (size < xb_size) && (pos + size < xb_size)) { in nval_used()
[all …]
/OK3568_Linux_fs/kernel/net/ieee802154/
H A Dheader_ops.c18 int pos = 0; in ieee802154_hdr_push_addr() local
24 memcpy(buf + pos, &addr->pan_id, 2); in ieee802154_hdr_push_addr()
25 pos += 2; in ieee802154_hdr_push_addr()
30 memcpy(buf + pos, &addr->short_addr, 2); in ieee802154_hdr_push_addr()
31 pos += 2; in ieee802154_hdr_push_addr()
35 memcpy(buf + pos, &addr->extended_addr, IEEE802154_ADDR_LEN); in ieee802154_hdr_push_addr()
36 pos += IEEE802154_ADDR_LEN; in ieee802154_hdr_push_addr()
43 return pos; in ieee802154_hdr_push_addr()
49 int pos = 5; in ieee802154_hdr_push_sechdr() local
56 return pos; in ieee802154_hdr_push_sechdr()
[all …]
/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/share/
H A Dutf16char.cpp33 size_t pos = 0; in utf16_strtok() local
34 while ((char16)' ' == utf16_str[pos] || (char16)'\n' == utf16_str[pos] in utf16_strtok()
35 || (char16)'\t' == utf16_str[pos]) in utf16_strtok()
36 pos++; in utf16_strtok()
38 utf16_str += pos; in utf16_strtok()
39 pos = 0; in utf16_strtok()
41 while ((char16)'\0' != utf16_str[pos] && (char16)' ' != utf16_str[pos] in utf16_strtok()
42 && (char16)'\n' != utf16_str[pos] in utf16_strtok()
43 && (char16)'\t' != utf16_str[pos]) { in utf16_strtok()
44 pos++; in utf16_strtok()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/include/nvif/
H A Dlist.h314 #define list_for_each_entry(pos, head, member) \ argument
315 for (pos = __container_of((head)->next, pos, member); \
316 &pos->member != (head); \
317 pos = __container_of(pos->member.next, pos, member))
326 #define list_for_each_entry_safe(pos, tmp, head, member) \ argument
327 for (pos = __container_of((head)->next, pos, member), \
328 tmp = __container_of(pos->member.next, pos, member); \
329 &pos->member != (head); \
330 pos = tmp, tmp = __container_of(pos->member.next, tmp, member))
333 #define list_for_each_entry_reverse(pos, head, member) \ argument
[all …]
/OK3568_Linux_fs/kernel/scripts/dtc/
H A Dsrcpos.c232 void srcpos_update(struct srcpos *pos, const char *text, int len) in srcpos_update() argument
236 pos->file = current_srcfile; in srcpos_update()
238 pos->first_line = current_srcfile->lineno; in srcpos_update()
239 pos->first_column = current_srcfile->colno; in srcpos_update()
249 pos->last_line = current_srcfile->lineno; in srcpos_update()
250 pos->last_column = current_srcfile->colno; in srcpos_update()
254 srcpos_copy(struct srcpos *pos) in srcpos_copy() argument
259 if (!pos) in srcpos_copy()
263 assert(pos->next == NULL); in srcpos_copy()
264 memcpy(pos_new, pos, sizeof(struct srcpos)); in srcpos_copy()
[all …]
/OK3568_Linux_fs/u-boot/tools/
H A Datmelimage.c58 size_t pos; in atmel_find_pmecc_parameter_in_token() local
63 for (pos = 0; pos < ARRAY_SIZE(configs); pos++) { in atmel_find_pmecc_parameter_in_token()
64 if (strncmp(token, configs[pos], strlen(configs[pos])) == 0) { in atmel_find_pmecc_parameter_in_token()
70 debug("\t%s parameter: '%s'\n", configs[pos], param); in atmel_find_pmecc_parameter_in_token()
72 switch (pos) { in atmel_find_pmecc_parameter_in_token()
119 size_t pos; in atmel_verify_header() local
123 for (pos = 0; pos < ARRAY_SIZE(nand_pmecc_header); pos++) in atmel_verify_header()
124 if (ints[pos] >> 28 != 0xC) in atmel_verify_header()
127 if (pos == ARRAY_SIZE(nand_pmecc_header)) { in atmel_verify_header()
133 for (pos = 0; pos < 7; pos++) { in atmel_verify_header()
[all …]
/OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/include/
H A Dutil_double_list.h116 #define LIST_FOR_EACH_ENTRY(pos, head, member) \ argument
117 for (pos = container_of((head)->next, pos, member); \
118 &pos->member != (head); \
119 pos = container_of(pos->member.next, pos, member))
121 #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member) \ argument
122 for (pos = container_of((head)->next, pos, member), \
123 storage = container_of(pos->member.next, pos, member); \
124 &pos->member != (head); \
125 pos = storage, storage = container_of(storage->member.next, storage, member))
127 #define LIST_FOR_EACH_ENTRY_SAFE_REV(pos, storage, head, member) \ argument
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/crypto/
H A Dccmp.c22 u8 *pos; in ccmp_aad_nonce() local
49 pos = aad + 2; in ccmp_aad_nonce()
50 os_memcpy(pos, hdr->addr1, 3 * ETH_ALEN); in ccmp_aad_nonce()
51 pos += 3 * ETH_ALEN; in ccmp_aad_nonce()
54 WPA_PUT_LE16(pos, seq); in ccmp_aad_nonce()
55 pos += 2; in ccmp_aad_nonce()
57 os_memcpy(pos, (u8 *)hdr + 24, addr4 * ETH_ALEN + qos * 2); in ccmp_aad_nonce()
58 pos += addr4 * ETH_ALEN; in ccmp_aad_nonce()
60 pos[0] &= ~0x70; in ccmp_aad_nonce()
63 pos[0] &= ~0x80; in ccmp_aad_nonce()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/crypto/
H A Dccmp.c22 u8 *pos; in ccmp_aad_nonce() local
49 pos = aad + 2; in ccmp_aad_nonce()
50 os_memcpy(pos, hdr->addr1, 3 * ETH_ALEN); in ccmp_aad_nonce()
51 pos += 3 * ETH_ALEN; in ccmp_aad_nonce()
54 WPA_PUT_LE16(pos, seq); in ccmp_aad_nonce()
55 pos += 2; in ccmp_aad_nonce()
57 os_memcpy(pos, (u8 *)hdr + 24, addr4 * ETH_ALEN + qos * 2); in ccmp_aad_nonce()
58 pos += addr4 * ETH_ALEN; in ccmp_aad_nonce()
60 pos[0] &= ~0x70; in ccmp_aad_nonce()
63 pos[0] &= ~0x80; in ccmp_aad_nonce()
[all …]
/OK3568_Linux_fs/kernel/security/tomoyo/
H A Drealpath.c97 char *pos = ERR_PTR(-ENOMEM); in tomoyo_get_absolute_path() local
101 pos = d_absolute_path(path, buffer, buflen - 1); in tomoyo_get_absolute_path()
102 if (!IS_ERR(pos) && *pos == '/' && pos[1]) { in tomoyo_get_absolute_path()
111 return pos; in tomoyo_get_absolute_path()
128 char *pos = ERR_PTR(-ENOMEM); in tomoyo_get_dentry_path() local
131 pos = dentry_path_raw(dentry, buffer, buflen - 1); in tomoyo_get_dentry_path()
132 if (!IS_ERR(pos) && *pos == '/' && pos[1]) { in tomoyo_get_dentry_path()
141 return pos; in tomoyo_get_dentry_path()
157 char *pos = tomoyo_get_dentry_path(dentry, buffer, buflen); in tomoyo_get_local_path() local
159 if (IS_ERR(pos)) in tomoyo_get_local_path()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ebc-dev/bufmanage/
H A Dbuf_list.c63 int *buf_list_get(buf_list_t *li, int pos) in buf_list_get() argument
65 if ((IS_NULL(li)) || (IS_NULL(li->array_elements)) || (pos < 0) || (pos >= li->nb_elt)) in buf_list_get()
69 return li->array_elements[pos]; in buf_list_get()
72 int buf_list_remove(buf_list_t *li, int pos) in buf_list_remove() argument
76 if ((IS_NULL(li)) || (IS_NULL(li->array_elements)) || (pos < 0) || (pos >= li->nb_elt)) in buf_list_remove()
81 i = pos; in buf_list_remove()
91 int buf_list_add(buf_list_t *li, int *el, int pos) in buf_list_add() argument
98 if ((pos < 0) || (pos >= li->nb_elt)) { in buf_list_add()
100 pos = li->nb_elt; in buf_list_add()
103 while (i >= pos) { in buf_list_add()
[all …]

12345678910>>...131