Home
last modified time | relevance | path

Searched refs:llen (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/tools/testing/selftests/nolibc/
Dnolibc-test.c111 static int pad_spc(int llen, int cnt, const char *fmt, ...) in pad_spc() argument
117 for (len = 0; len < cnt - llen; len++) in pad_spc()
133 do { if (!cond) pad_spc(llen, 40, "[SKIPPED]\n"); else ret += expect_zr(expr, llen); } while (0)
135 static int expect_zr(int expr, int llen) in expect_zr() argument
139 llen += printf(" = %d ", expr); in expect_zr()
140 pad_spc(llen, 40, ret ? "[FAIL]\n" : " [OK]\n"); in expect_zr()
146 do { if (!cond) pad_spc(llen, 40, "[SKIPPED]\n"); else ret += expect_nz(expr, llen; } while (0)
148 static int expect_nz(int expr, int llen) in expect_nz() argument
152 llen += printf(" = %d ", expr); in expect_nz()
153 pad_spc(llen, 40, ret ? "[FAIL]\n" : " [OK]\n"); in expect_nz()
[all …]
/linux-6.1.9/drivers/usb/misc/
Disight_firmware.c38 int llen, len, req, ret = 0; in isight_firmware_load() local
77 llen = min(len, 50); in isight_firmware_load()
78 len -= llen; in isight_firmware_load()
79 if (ptr+llen > firmware->data+firmware->size) { in isight_firmware_load()
85 memcpy(buf, ptr, llen); in isight_firmware_load()
87 ptr += llen; in isight_firmware_load()
91 buf, llen, 300) != llen) { in isight_firmware_load()
/linux-6.1.9/fs/isofs/
Djoliet.c27 int llen; in uni16_to_x8() local
28 llen = nls->uni2char(be16_to_cpu(ch), op, NLS_MAX_CHARSET_SIZE); in uni16_to_x8()
29 if (llen > 0) in uni16_to_x8()
30 op += llen; in uni16_to_x8()
/linux-6.1.9/include/trace/events/
Derofs.h151 __field( u64, llen )
159 __entry->llen = map->m_llen;
165 __entry->la, __entry->llen,
195 __field( u64, llen )
207 __entry->llen = map->m_llen;
217 __entry->la, __entry->pa, __entry->llen, __entry->plen,
/linux-6.1.9/include/linux/dsa/
Docelot.h191 u64 llen, wlen; in ocelot_xfh_get_len() local
193 packing(extraction, &llen, 84, 79, OCELOT_TAG_LEN, UNPACK, 0); in ocelot_xfh_get_len()
196 *len = 60 * wlen + llen - 80; in ocelot_xfh_get_len()
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/dss/
Dvenc.c84 u32 llen; member
127 .llen = 0x35F, /* 863 */
172 .llen = 0x359,
273 venc_write_reg(VENC_LLEN, config->llen); in venc_write_config()
/linux-6.1.9/tools/testing/selftests/net/mptcp/
Dmptcp_sockopt.c384 socklen_t olen, rlen, llen; in do_getsockopt_subflow_addrs() local
412 llen = sizeof(local); in do_getsockopt_subflow_addrs()
413 ret = getsockname(fd, (struct sockaddr *)&local, &llen); in do_getsockopt_subflow_addrs()
422 assert(rlen == llen); in do_getsockopt_subflow_addrs()
/linux-6.1.9/arch/powerpc/kernel/
Drtas-proc.c403 int llen, offs; in ppc_rtas_sensors_show() local
406 loc = of_get_property(rtas_node, rstr, &llen); in ppc_rtas_sensors_show()
418 if (offs >= llen) in ppc_rtas_sensors_show()
/linux-6.1.9/drivers/gpu/drm/omapdrm/dss/
Dvenc.c83 u32 llen; member
126 .llen = 0x35F, /* 863 */
171 .llen = 0x359,
284 venc_write_reg(venc, VENC_LLEN, config->llen); in venc_write_config()
/linux-6.1.9/fs/jfs/
Djfs_xtree.h91 extern int xtLookup(struct inode *ip, s64 lstart, s64 llen,
Djfs_xtree.c123 s64 llen, int *pflag, s64 * paddr, s32 * plen, int no_check) in xtLookup() argument
138 *plen = llen; in xtLookup()
172 *plen = min(next - lstart, llen); in xtLookup()
189 *plen = min(xend - lstart, llen); in xtLookup()
/linux-6.1.9/lib/zstd/compress/
Dzstd_opt.c1199 U32 const llen = opt[storePos].litlen; in ZSTD_compressBlock_opt_generic() local
1202 U32 const advance = llen + mlen; in ZSTD_compressBlock_opt_generic()
1204 anchor - istart, (unsigned)llen, (unsigned)mlen); in ZSTD_compressBlock_opt_generic()
1208 … ip = anchor + llen; /* last "sequence" is a bunch of literals => don't progress anchor */ in ZSTD_compressBlock_opt_generic()
1212 assert(anchor + llen <= iend); in ZSTD_compressBlock_opt_generic()
1213 ZSTD_updateStats(optStatePtr, llen, anchor, offCode, mlen); in ZSTD_compressBlock_opt_generic()
1214 ZSTD_storeSeq(seqStore, llen, anchor, iend, offCode, mlen-MINMATCH); in ZSTD_compressBlock_opt_generic()
/linux-6.1.9/tools/lib/traceevent/plugins/
Dplugin_kvm.c303 int llen; in kvm_emulate_insn_handler() local
322 insn = tep_get_field_raw(s, event, "insn", record, &llen, 1); in kvm_emulate_insn_handler()
/linux-6.1.9/fs/f2fs/
Dextent_cache.c668 pgoff_t fofs, block_t blkaddr, unsigned int llen, in f2fs_update_extent_tree_range_compressed() argument
679 trace_f2fs_update_extent_tree_range(inode, fofs, blkaddr, llen, c_len); in f2fs_update_extent_tree_range_compressed()
696 set_extent_info(&ei, fofs, blkaddr, llen); in f2fs_update_extent_tree_range_compressed()
Df2fs.h4239 pgoff_t fofs, block_t blkaddr, unsigned int llen,
4322 pgoff_t fofs, block_t blkaddr, unsigned int llen, in f2fs_update_extent_tree_range_compressed() argument
/linux-6.1.9/tools/perf/util/
Dsort.c3509 static void add_key(struct strbuf *sb, const char *str, int *llen) in add_key() argument
3511 if (*llen >= 75) { in add_key()
3513 *llen = INDENT; in add_key()
3516 *llen += strlen(str) + 1; in add_key()
3520 int *llen) in add_sort_string() argument
3525 add_key(sb, s[i].name, llen); in add_sort_string()
3529 int *llen) in add_hpp_sort_string() argument
3534 add_key(sb, s[i].name, llen); in add_hpp_sort_string()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_debugfs.c1454 u16 llen, rlen; in i40e_dbg_command_write() local
1465 &llen, &rlen, NULL); in i40e_dbg_command_write()
1481 u16 llen, rlen; in i40e_dbg_command_write() local
1493 &llen, &rlen, NULL); in i40e_dbg_command_write()
/linux-6.1.9/fs/ocfs2/
Dfile.c1928 s64 llen; in __ocfs2_change_file_space() local
1975 llen = sr->l_len > 0 ? sr->l_len - 1 : sr->l_len; in __ocfs2_change_file_space()
1979 || (sr->l_start + llen) < 0 in __ocfs2_change_file_space()
1980 || (sr->l_start + llen) > max_off) { in __ocfs2_change_file_space()