/linux-4.1.27/drivers/base/regmap/ |
D | regcache-lzo.c | 26 size_t dst_len; member 53 if (ret != LZO_E_OK || compress_size > lzo_ctx->dst_len) in regcache_lzo_compress() 55 lzo_ctx->dst_len = compress_size; in regcache_lzo_compress() 61 size_t dst_len; in regcache_lzo_decompress() local 64 dst_len = lzo_ctx->dst_len; in regcache_lzo_decompress() 66 lzo_ctx->dst, &dst_len); in regcache_lzo_decompress() 67 if (ret != LZO_E_OK || dst_len != lzo_ctx->dst_len) in regcache_lzo_decompress() 77 lzo_ctx->dst_len = lzo1x_worst_compress(PAGE_SIZE); in regcache_lzo_compress_cache_block() 78 lzo_ctx->dst = kmalloc(lzo_ctx->dst_len, GFP_KERNEL); in regcache_lzo_compress_cache_block() 80 lzo_ctx->dst_len = 0; in regcache_lzo_compress_cache_block() [all …]
|
/linux-4.1.27/lib/ |
D | decompress_unlzo.c | 120 u32 src_len, dst_len; in unlzo() local 196 dst_len = get_unaligned_be32(in_buf); in unlzo() 201 if (dst_len == 0) { in unlzo() 207 if (dst_len > LZO_BLOCK_SIZE) { in unlzo() 226 if (src_len <= 0 || src_len > dst_len) { in unlzo() 241 tmp = dst_len; in unlzo() 246 if (unlikely(dst_len == src_len)) in unlzo() 252 if (r != LZO_E_OK || dst_len != tmp) { in unlzo() 258 if (flush && flush(out_buf, dst_len) != dst_len) in unlzo() 261 out_buf += dst_len; in unlzo()
|
/linux-4.1.27/net/decnet/ |
D | dn_rules.c | 42 unsigned char dst_len; member 148 if (frh->dst_len) in dn_fib_rule_configure() 153 r->dst_len = frh->dst_len; in dn_fib_rule_configure() 154 r->dstmask = dnet_make_mask(r->dst_len); in dn_fib_rule_configure() 168 if (frh->dst_len && (r->dst_len != frh->dst_len)) in dn_fib_rule_compare() 174 if (frh->dst_len && (r->dst != nla_get_le16(tb[FRA_DST]))) in dn_fib_rule_compare() 203 frh->dst_len = r->dst_len; in dn_fib_rule_fill() 207 if ((r->dst_len && in dn_fib_rule_fill()
|
D | dn_fib.c | 551 static void fib_magic(int cmd, int type, __le16 dst, int dst_len, struct dn_ifaddr *ifa) in fib_magic() argument 598 req.rtm.rtm_dst_len = dst_len; in fib_magic()
|
D | dn_table.c | 300 u32 tb_id, u8 type, u8 scope, void *dst, int dst_len, in dn_fib_dump_info() argument 312 rtm->rtm_dst_len = dst_len; in dn_fib_dump_info()
|
/linux-4.1.27/net/ceph/ |
D | crypto.c | 164 void *dst, size_t *dst_len, in ceph_aes_encrypt() argument 182 *dst_len = src_len + zero_padding; in ceph_aes_encrypt() 187 ret = setup_sgtable(&sg_out, &prealloc_sg, dst, *dst_len); in ceph_aes_encrypt() 223 size_t *dst_len, in ceph_aes_encrypt2() argument 242 *dst_len = src1_len + src2_len + zero_padding; in ceph_aes_encrypt2() 248 ret = setup_sgtable(&sg_out, &prealloc_sg, dst, *dst_len); in ceph_aes_encrypt2() 286 void *dst, size_t *dst_len, in ceph_aes_decrypt() argument 303 sg_set_buf(&sg_out[0], dst, *dst_len); in ceph_aes_decrypt() 326 if (src_len <= *dst_len) in ceph_aes_decrypt() 329 last_byte = pad[src_len - *dst_len - 1]; in ceph_aes_decrypt() [all …]
|
D | crypto.h | 31 void *dst, size_t *dst_len, 34 void *dst, size_t *dst_len, 41 void *dst, size_t *dst_len,
|
/linux-4.1.27/net/ipv4/ |
D | fib_rules.c | 38 u8 dst_len; member 199 if (frh->dst_len) in fib4_rule_configure() 212 rule4->dst_len = frh->dst_len; in fib4_rule_configure() 213 rule4->dstmask = inet_make_mask(rule4->dst_len); in fib4_rule_configure() 252 if (frh->dst_len && (rule4->dst_len != frh->dst_len)) in fib4_rule_compare() 266 if (frh->dst_len && (rule4->dst != nla_get_in_addr(tb[FRA_DST]))) in fib4_rule_compare() 277 frh->dst_len = rule4->dst_len; in fib4_rule_fill() 281 if ((rule4->dst_len && in fib4_rule_fill()
|
D | fib_lookup.h | 33 u8 type, __be32 dst, int dst_len, u8 tos, struct fib_info *fi, 35 void rtmsg_fib(int event, __be32 key, struct fib_alias *fa, int dst_len,
|
D | fib_semantics.c | 385 int dst_len, u32 tb_id, const struct nl_info *info, in rtmsg_fib() argument 397 fa->fa_type, key, dst_len, in rtmsg_fib() 991 u32 tb_id, u8 type, __be32 dst, int dst_len, u8 tos, in fib_dump_info() argument 1003 rtm->rtm_dst_len = dst_len; in fib_dump_info()
|
D | fib_frontend.c | 760 static void fib_magic(int cmd, int type, __be32 dst, int dst_len, struct in_ifaddr *ifa) in fib_magic() argument 768 .fc_dst_len = dst_len, in fib_magic()
|
D | ipmr.c | 222 frh->dst_len = 0; in ipmr_rule_fill()
|
/linux-4.1.27/drivers/block/zram/ |
D | zcomp_lz4.c | 46 size_t *dst_len, void *private) in zcomp_lz4_compress() argument 49 return lz4_compress(src, PAGE_SIZE, dst, dst_len, private); in zcomp_lz4_compress() 55 size_t dst_len = PAGE_SIZE; in zcomp_lz4_decompress() local 57 return lz4_decompress_unknownoutputsize(src, src_len, dst, &dst_len); in zcomp_lz4_decompress()
|
D | zcomp_lzo.c | 46 size_t *dst_len, void *private) in lzo_compress() argument 48 int ret = lzo1x_1_compress(src, PAGE_SIZE, dst, dst_len, private); in lzo_compress() 55 size_t dst_len = PAGE_SIZE; in lzo_decompress() local 56 int ret = lzo1x_decompress_safe(src, src_len, dst, &dst_len); in lzo_decompress()
|
D | zcomp.h | 31 size_t *dst_len, void *private); 62 const unsigned char *src, size_t *dst_len);
|
D | zcomp.c | 305 const unsigned char *src, size_t *dst_len) in zcomp_compress() argument 307 return comp->backend->compress(src, zstrm->buffer, dst_len, in zcomp_compress()
|
/linux-4.1.27/include/net/ |
D | switchdev.h | 38 int dst_len, struct fib_info *fi, 42 int dst_len, struct fib_info *fi, 84 int netdev_switch_fib_ipv4_add(u32 dst, int dst_len, struct fib_info *fi, 86 int netdev_switch_fib_ipv4_del(u32 dst, int dst_len, struct fib_info *fi, 148 static inline int netdev_switch_fib_ipv4_add(u32 dst, int dst_len, in netdev_switch_fib_ipv4_add() argument 156 static inline int netdev_switch_fib_ipv4_del(u32 dst, int dst_len, in netdev_switch_fib_ipv4_del() argument
|
D | ip6_fib.h | 293 const struct in6_addr *daddr, int dst_len,
|
/linux-4.1.27/include/linux/ |
D | lzo.h | 24 unsigned char *dst, size_t *dst_len, void *wrkmem); 28 unsigned char *dst, size_t *dst_len);
|
D | lz4.h | 40 unsigned char *dst, size_t *dst_len, void *wrkmem); 57 unsigned char *dst, size_t *dst_len, void *wrkmem);
|
/linux-4.1.27/net/ipv6/ |
D | fib6_rules.c | 204 if (frh->dst_len) in fib6_rule_configure() 208 rule6->dst.plen = frh->dst_len; in fib6_rule_configure() 224 if (frh->dst_len && (rule6->dst.plen != frh->dst_len)) in fib6_rule_compare() 234 if (frh->dst_len && in fib6_rule_compare() 246 frh->dst_len = rule6->dst.plen; in fib6_rule_fill()
|
D | ip6_fib.c | 1179 const struct in6_addr *daddr, int dst_len, in fib6_locate() argument 1184 fn = fib6_locate_1(root, daddr, dst_len, in fib6_locate()
|
D | ip6mr.c | 206 frh->dst_len = 0; in ip6mr_rule_fill()
|
/linux-4.1.27/net/switchdev/ |
D | switchdev.c | 313 int netdev_switch_fib_ipv4_add(u32 dst, int dst_len, struct fib_info *fi, in netdev_switch_fib_ipv4_add() argument 338 err = ops->swdev_fib_ipv4_add(dev, htonl(dst), dst_len, in netdev_switch_fib_ipv4_add() 361 int netdev_switch_fib_ipv4_del(u32 dst, int dst_len, struct fib_info *fi, in netdev_switch_fib_ipv4_del() argument 377 err = ops->swdev_fib_ipv4_del(dev, htonl(dst), dst_len, in netdev_switch_fib_ipv4_del()
|
/linux-4.1.27/drivers/video/fbdev/msm/ |
D | mdp.c | 282 unsigned long src_start = 0, src_len = 0, dst_start = 0, dst_len = 0; in mdp_blit() local 304 if (unlikely(get_img(&req->dst, fb, &dst_start, &dst_len, &dst_file))) { in mdp_blit() 327 dst_len); in mdp_blit() 344 dst_len); in mdp_blit()
|
D | mdp_ppp.c | 537 unsigned long dst_start, unsigned long dst_len, in valid_src_dst() argument 543 unsigned long dst_max_ok = dst_start + dst_len; in valid_src_dst() 648 struct file *dst_file, unsigned long dst_start, unsigned long dst_len) in mdp_ppp_blit() argument 696 if (!valid_src_dst(src_start, src_len, dst_start, dst_len, req, in mdp_ppp_blit()
|
D | mdp_hw.h | 30 unsigned long dst_start, unsigned long dst_len);
|
/linux-4.1.27/include/uapi/linux/ |
D | fib_rules.h | 20 __u8 dst_len; member
|
/linux-4.1.27/drivers/media/usb/msi2500/ |
D | msi2500.c | 262 unsigned int i, j, transactions, dst_len = 0; in msi2500_convert_stream() local 297 dst_len += 1008; in msi2500_convert_stream() 319 dst_len += 1008; in msi2500_convert_stream() 329 dst_len += 984; in msi2500_convert_stream() 336 dst_len += 1008; in msi2500_convert_stream() 343 dst_len += 1008; in msi2500_convert_stream() 350 dst_len += 1008; in msi2500_convert_stream() 372 return dst_len; in msi2500_convert_stream()
|
/linux-4.1.27/fs/ntfs/ |
D | runlist.h | 91 const int dst_len, const runlist_element *rl,
|
D | runlist.c | 1324 const int dst_len, const runlist_element *rl, in ntfs_mapping_pairs_build() argument 1336 BUG_ON(dst_len < 1); in ntfs_mapping_pairs_build() 1356 dst_max = dst + dst_len - 1; in ntfs_mapping_pairs_build()
|
/linux-4.1.27/arch/sh/kernel/ |
D | io_trapped.c | 184 unsigned long dst_addr, int dst_len) in copy_word() argument 203 switch (dst_len) { in copy_word()
|
/linux-4.1.27/lib/lz4/ |
D | lz4_compress.c | 419 unsigned char *dst, size_t *dst_len, void *wrkmem) in lz4_compress() argument 434 *dst_len = out_len; in lz4_compress()
|
D | lz4hc_compress.c | 517 unsigned char *dst, size_t *dst_len, void *wrkmem) in lz4hc_compress() argument 530 *dst_len = out_len; in lz4hc_compress()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | omapdss-boot-init.c | 71 static void __init omapdss_prefix_strcpy(char *dst, int dst_len, in omapdss_prefix_strcpy() argument
|
/linux-4.1.27/drivers/media/usb/airspy/ |
D | airspy.c | 244 unsigned int dst_len; in airspy_convert_stream() local 248 dst_len = src_len; in airspy_convert_stream() 250 dst_len = 0; in airspy_convert_stream() 270 return dst_len; in airspy_convert_stream()
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
D | rtl2832_sdr.c | 223 unsigned int dst_len; in rtl2832_sdr_convert_stream() local 228 dst_len = src_len; in rtl2832_sdr_convert_stream() 236 dst_len = 2 * src_len; in rtl2832_sdr_convert_stream() 238 dst_len = 0; in rtl2832_sdr_convert_stream() 258 return dst_len; in rtl2832_sdr_convert_stream()
|
/linux-4.1.27/drivers/dma/ |
D | at_hdmac.c | 897 size_t dst_len = 0, src_len = 0; in atc_prep_dma_sg() local 919 if (dst_len == 0) { in atc_prep_dma_sg() 926 dst_len = sg_dma_len(dst_sg); in atc_prep_dma_sg() 945 len = min_t(size_t, src_len, dst_len); in atc_prep_dma_sg() 987 dst_len -= len; in atc_prep_dma_sg()
|
/linux-4.1.27/net/core/ |
D | fib_rules.c | 254 if (frh->dst_len) in validate_rulemsg() 256 frh->dst_len > (ops->addr_size * 8) || in validate_rulemsg()
|
/linux-4.1.27/drivers/crypto/caam/ |
D | caamhash.c | 606 struct ahash_request *req, int dst_len) in ahash_unmap() argument 612 dma_unmap_single(dev, edesc->dst_dma, dst_len, DMA_FROM_DEVICE); in ahash_unmap() 621 struct ahash_request *req, int dst_len, u32 flag) in ahash_unmap_ctx() argument 629 ahash_unmap(dev, edesc, req, dst_len); in ahash_unmap_ctx()
|
/linux-4.1.27/drivers/net/ethernet/rocker/ |
D | rocker.c | 3766 int dst_len, struct fib_info *fi, u32 tb_id, in rocker_port_fib_ipv4() argument 3771 __be32 dst_mask = inet_make_mask(dst_len); in rocker_port_fib_ipv4() 4247 __be32 dst, int dst_len, in rocker_port_swdev_fib_ipv4_add() argument 4255 return rocker_port_fib_ipv4(rocker_port, dst, dst_len, in rocker_port_swdev_fib_ipv4_add() 4260 __be32 dst, int dst_len, in rocker_port_swdev_fib_ipv4_del() argument 4267 return rocker_port_fib_ipv4(rocker_port, dst, dst_len, in rocker_port_swdev_fib_ipv4_del()
|
/linux-4.1.27/fs/btrfs/ |
D | extent_io.c | 5496 u64 dst_len = dst->len; in copy_extent_buffer() local 5504 WARN_ON(src->len != dst_len); in copy_extent_buffer()
|