Home
last modified time | relevance | path

Searched refs:prev_len (Results 1 – 12 of 12) sorted by relevance

/linux/kernel/debug/kdb/
H A Dkdb_support.c129 int prefix_len = strlen(prefix_name), prev_len = 0; in kallsyms_symbol_complete() local
138 prev_len = min_t(int, max_len-1, in kallsyms_symbol_complete()
140 memcpy(ks_namebuf_prev, ks_namebuf, prev_len); in kallsyms_symbol_complete()
141 ks_namebuf_prev[prev_len] = '\0'; in kallsyms_symbol_complete()
144 for (i = 0; i < prev_len; i++) { in kallsyms_symbol_complete()
146 prev_len = i; in kallsyms_symbol_complete()
153 if (prev_len > prefix_len) in kallsyms_symbol_complete()
154 memcpy(prefix_name, ks_namebuf_prev, prev_len+1); in kallsyms_symbol_complete()
/linux/drivers/net/wireless/marvell/libertas/
H A Dif_spi.c578 int len, prev_len; in if_spi_prog_main_firmware() local
596 prev_len = 0; in if_spi_prog_main_firmware()
622 bytes -= prev_len; in if_spi_prog_main_firmware()
623 fw += prev_len; in if_spi_prog_main_firmware()
642 prev_len = len; in if_spi_prog_main_firmware()
644 if (bytes > prev_len) { in if_spi_prog_main_firmware()
/linux/fs/btrfs/
H A Ddirect-io.c229 u64 prev_len; in btrfs_get_blocks_direct_write() local
259 prev_len = len; in btrfs_get_blocks_direct_write()
328 if (len < prev_len) in btrfs_get_blocks_direct_write()
330 prev_len - len, true); in btrfs_get_blocks_direct_write()
337 btrfs_delalloc_release_extents(BTRFS_I(inode), prev_len); in btrfs_get_blocks_direct_write()
H A Dtree-checker.c1844 u64 prev_len; in check_dev_extent_item() local
1847 prev_len = btrfs_dev_extent_length(leaf, prev_de); in check_dev_extent_item()
1848 if (unlikely(prev_key->offset + prev_len > key->offset)) { in check_dev_extent_item()
1851 prev_key->objectid, prev_len, key->offset); in check_dev_extent_item()
/linux/tools/objtool/include/objtool/
H A Dcheck.h51 u8 prev_len; member
/linux/net/sched/
H A Dsch_tbf.c211 unsigned int len = 0, prev_len = qdisc_pkt_len(skb), seg_len; in tbf_segment() local
236 qdisc_tree_reduce_backlog(sch, 1 - nb, prev_len - len); in tbf_segment()
H A Dsch_netem.c456 unsigned int prev_len = qdisc_pkt_len(skb); in netem_enqueue() local
643 qdisc_tree_reduce_backlog(sch, -(nb - 1), -(len - prev_len)); in netem_enqueue()
/linux/drivers/spi/
H A Dspi-pci1xxxx.c602 u32 prev_len; in pci1xxxx_spi_setup_next_dma_transfer() local
612 prev_len = p->tx_sgl_len; in pci1xxxx_spi_setup_next_dma_transfer()
614 if (prev_len != p->tx_sgl_len) in pci1xxxx_spi_setup_next_dma_transfer()
/linux/drivers/misc/genwqe/
H A Dcard_utils.c417 u32 prev_len = be32_to_cpu(last_s->len); in genwqe_setup_sgl() local
423 last_s->len = cpu_to_be32(prev_len + in genwqe_setup_sgl()
/linux/drivers/crypto/ccree/
H A Dcc_buffer_mgr.c1335 u32 *prev_len = cc_next_buf_cnt(areq_ctx); in cc_unmap_hash_request() local
1356 if (*prev_len) { in cc_unmap_hash_request()
1366 *prev_len = 0; in cc_unmap_hash_request()
/linux/tools/objtool/
H A Dcheck.c88 if (insn->prev_len) in prev_insn_same_sec()
89 return find_insn(file, insn->sec, insn->offset - insn->prev_len); in prev_insn_same_sec()
429 u8 prev_len = 0; in decode_instructions() local
472 insn->prev_len = prev_len; in decode_instructions()
480 prev_len = insn->len; in decode_instructions()
/linux/fs/ext4/
H A Dextents.c3500 unsigned int prev_len; in ext4_ext_convert_to_initialized() local
3504 prev_len = ext4_ext_get_actual_len(abut_ex); in ext4_ext_convert_to_initialized()
3518 ((prev_lblk + prev_len) == ee_block) && /*C2*/ in ext4_ext_convert_to_initialized()
3519 ((prev_pblk + prev_len) == ee_pblk) && /*C3*/ in ext4_ext_convert_to_initialized()
3520 (prev_len < (EXT_INIT_MAX_LEN - map_len))) { /*C4*/ in ext4_ext_convert_to_initialized()
3535 abut_ex->ee_len = cpu_to_le16(prev_len + map_len); in ext4_ext_convert_to_initialized()