/linux-4.1.27/drivers/base/regmap/ |
H A D | regcache-lzo.c | 26 size_t dst_len; member in struct:regcache_lzo_ctx 53 if (ret != LZO_E_OK || compress_size > lzo_ctx->dst_len) regcache_lzo_compress() 55 lzo_ctx->dst_len = compress_size; regcache_lzo_compress() 61 size_t dst_len; regcache_lzo_decompress() local 64 dst_len = lzo_ctx->dst_len; regcache_lzo_decompress() 66 lzo_ctx->dst, &dst_len); regcache_lzo_decompress() 67 if (ret != LZO_E_OK || dst_len != lzo_ctx->dst_len) regcache_lzo_decompress() 77 lzo_ctx->dst_len = lzo1x_worst_compress(PAGE_SIZE); regcache_lzo_compress_cache_block() 78 lzo_ctx->dst = kmalloc(lzo_ctx->dst_len, GFP_KERNEL); regcache_lzo_compress_cache_block() 80 lzo_ctx->dst_len = 0; regcache_lzo_compress_cache_block() 95 lzo_ctx->dst_len = lzo_ctx->decompressed_size; regcache_lzo_decompress_cache_block() 96 lzo_ctx->dst = kmalloc(lzo_ctx->dst_len, GFP_KERNEL); regcache_lzo_decompress_cache_block() 98 lzo_ctx->dst_len = 0; regcache_lzo_decompress_cache_block() 253 tmp_dst_len = lzo_block->dst_len; regcache_lzo_read() 257 lzo_block->src_len = lzo_block->dst_len; regcache_lzo_read() 268 lzo_block->dst_len = tmp_dst_len; regcache_lzo_read() 292 tmp_dst_len = lzo_block->dst_len; regcache_lzo_write() 296 lzo_block->src_len = lzo_block->dst_len; regcache_lzo_write() 313 lzo_block->src_len = lzo_block->dst_len; regcache_lzo_write() 330 lzo_block->dst_len = tmp_dst_len; regcache_lzo_write()
|
/linux-4.1.27/net/decnet/ |
H A D | dn_rules.c | 42 unsigned char dst_len; member in struct:dn_fib_rule 148 if (frh->dst_len) dn_fib_rule_configure() 153 r->dst_len = frh->dst_len; dn_fib_rule_configure() 154 r->dstmask = dnet_make_mask(r->dst_len); dn_fib_rule_configure() 168 if (frh->dst_len && (r->dst_len != frh->dst_len)) dn_fib_rule_compare() 174 if (frh->dst_len && (r->dst != nla_get_le16(tb[FRA_DST]))) dn_fib_rule_compare() 203 frh->dst_len = r->dst_len; dn_fib_rule_fill() 207 if ((r->dst_len && dn_fib_rule_fill()
|
H A D | dn_fib.c | 551 static void fib_magic(int cmd, int type, __le16 dst, int dst_len, struct dn_ifaddr *ifa) fib_magic() argument 598 req.rtm.rtm_dst_len = dst_len; fib_magic()
|
H A D | dn_table.c | 300 u32 tb_id, u8 type, u8 scope, void *dst, int dst_len, dn_fib_dump_info() 312 rtm->rtm_dst_len = dst_len; dn_fib_dump_info() 299 dn_fib_dump_info(struct sk_buff *skb, u32 portid, u32 seq, int event, u32 tb_id, u8 type, u8 scope, void *dst, int dst_len, struct dn_fib_info *fi, unsigned int flags) dn_fib_dump_info() argument
|
/linux-4.1.27/drivers/block/zram/ |
H A D | zcomp_lz4.c | 46 size_t *dst_len, void *private) zcomp_lz4_compress() 49 return lz4_compress(src, PAGE_SIZE, dst, dst_len, private); zcomp_lz4_compress() 55 size_t dst_len = PAGE_SIZE; zcomp_lz4_decompress() local 57 return lz4_decompress_unknownoutputsize(src, src_len, dst, &dst_len); zcomp_lz4_decompress() 45 zcomp_lz4_compress(const unsigned char *src, unsigned char *dst, size_t *dst_len, void *private) zcomp_lz4_compress() argument
|
H A D | zcomp_lzo.c | 46 size_t *dst_len, void *private) lzo_compress() 48 int ret = lzo1x_1_compress(src, PAGE_SIZE, dst, dst_len, private); lzo_compress() 55 size_t dst_len = PAGE_SIZE; lzo_decompress() local 56 int ret = lzo1x_decompress_safe(src, src_len, dst, &dst_len); lzo_decompress() 45 lzo_compress(const unsigned char *src, unsigned char *dst, size_t *dst_len, void *private) lzo_compress() argument
|
H A D | zcomp.h | 31 size_t *dst_len, void *private); 62 const unsigned char *src, size_t *dst_len);
|
H A D | zcomp.c | 305 const unsigned char *src, size_t *dst_len) zcomp_compress() 307 return comp->backend->compress(src, zstrm->buffer, dst_len, zcomp_compress() 304 zcomp_compress(struct zcomp *comp, struct zcomp_strm *zstrm, const unsigned char *src, size_t *dst_len) zcomp_compress() argument
|
/linux-4.1.27/net/ceph/ |
H A D | crypto.c | 164 void *dst, size_t *dst_len, ceph_aes_encrypt() 182 *dst_len = src_len + zero_padding; ceph_aes_encrypt() 187 ret = setup_sgtable(&sg_out, &prealloc_sg, dst, *dst_len); ceph_aes_encrypt() 212 dst, *dst_len, 1); ceph_aes_encrypt() 223 size_t *dst_len, ceph_aes_encrypt2() 242 *dst_len = src1_len + src2_len + zero_padding; ceph_aes_encrypt2() 248 ret = setup_sgtable(&sg_out, &prealloc_sg, dst, *dst_len); ceph_aes_encrypt2() 275 dst, *dst_len, 1); ceph_aes_encrypt2() 286 void *dst, size_t *dst_len, ceph_aes_decrypt() 303 sg_set_buf(&sg_out[0], dst, *dst_len); ceph_aes_decrypt() 326 if (src_len <= *dst_len) ceph_aes_decrypt() 329 last_byte = pad[src_len - *dst_len - 1]; ceph_aes_decrypt() 331 *dst_len = src_len - last_byte; ceph_aes_decrypt() 339 dst, *dst_len, 1); ceph_aes_decrypt() 427 int ceph_decrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, ceph_decrypt() argument 432 if (*dst_len < src_len) ceph_decrypt() 435 *dst_len = src_len; ceph_decrypt() 440 dst_len, src, src_len); ceph_decrypt() 480 int ceph_encrypt(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, ceph_encrypt() argument 485 if (*dst_len < src_len) ceph_encrypt() 488 *dst_len = src_len; ceph_encrypt() 493 dst_len, src, src_len); ceph_encrypt() 500 int ceph_encrypt2(struct ceph_crypto_key *secret, void *dst, size_t *dst_len, ceph_encrypt2() argument 506 if (*dst_len < src1_len + src2_len) ceph_encrypt2() 510 *dst_len = src1_len + src2_len; ceph_encrypt2() 514 return ceph_aes_encrypt2(secret->key, secret->len, dst, dst_len, ceph_encrypt2() 163 ceph_aes_encrypt(const void *key, int key_len, void *dst, size_t *dst_len, const void *src, size_t src_len) ceph_aes_encrypt() argument 222 ceph_aes_encrypt2(const void *key, int key_len, void *dst, size_t *dst_len, const void *src1, size_t src1_len, const void *src2, size_t src2_len) ceph_aes_encrypt2() argument 285 ceph_aes_decrypt(const void *key, int key_len, void *dst, size_t *dst_len, const void *src, size_t src_len) ceph_aes_decrypt() argument
|
H A 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/include/linux/ |
H A D | lzo.h | 24 unsigned char *dst, size_t *dst_len, void *wrkmem); 28 unsigned char *dst, size_t *dst_len);
|
H A D | lz4.h | 31 * dst_len : is the output size, which is returned after compress done 40 unsigned char *dst, size_t *dst_len, void *wrkmem); 48 * dst_len : is the output size, which is returned after compress done 57 unsigned char *dst, size_t *dst_len, void *wrkmem);
|
/linux-4.1.27/net/ipv4/ |
H A D | fib_rules.c | 38 u8 dst_len; member in struct:fib4_rule 199 if (frh->dst_len) fib4_rule_configure() 212 rule4->dst_len = frh->dst_len; fib4_rule_configure() 213 rule4->dstmask = inet_make_mask(rule4->dst_len); fib4_rule_configure() 252 if (frh->dst_len && (rule4->dst_len != frh->dst_len)) fib4_rule_compare() 266 if (frh->dst_len && (rule4->dst != nla_get_in_addr(tb[FRA_DST]))) fib4_rule_compare() 277 frh->dst_len = rule4->dst_len; fib4_rule_fill() 281 if ((rule4->dst_len && fib4_rule_fill()
|
H A 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,
|
H A D | fib_semantics.c | 385 int dst_len, u32 tb_id, const struct nl_info *info, rtmsg_fib() 397 fa->fa_type, key, dst_len, rtmsg_fib() 991 u32 tb_id, u8 type, __be32 dst, int dst_len, u8 tos, fib_dump_info() 1003 rtm->rtm_dst_len = dst_len; fib_dump_info() 384 rtmsg_fib(int event, __be32 key, struct fib_alias *fa, int dst_len, u32 tb_id, const struct nl_info *info, unsigned int nlm_flags) rtmsg_fib() argument 990 fib_dump_info(struct sk_buff *skb, u32 portid, u32 seq, int event, u32 tb_id, u8 type, __be32 dst, int dst_len, u8 tos, struct fib_info *fi, unsigned int flags) fib_dump_info() argument
|
H A D | fib_frontend.c | 760 static void fib_magic(int cmd, int type, __be32 dst, int dst_len, struct in_ifaddr *ifa) fib_magic() argument 768 .fc_dst_len = dst_len, fib_magic()
|
H A D | ipmr.c | 222 frh->dst_len = 0; ipmr_rule_fill()
|
/linux-4.1.27/lib/ |
H A D | decompress_unlzo.c | 120 u32 src_len, dst_len; unlzo() local 196 dst_len = get_unaligned_be32(in_buf); unlzo() 201 if (dst_len == 0) { unlzo() 207 if (dst_len > LZO_BLOCK_SIZE) { unlzo() 226 if (src_len <= 0 || src_len > dst_len) { unlzo() 241 tmp = dst_len; unlzo() 246 if (unlikely(dst_len == src_len)) unlzo() 252 if (r != LZO_E_OK || dst_len != tmp) { unlzo() 258 if (flush && flush(out_buf, dst_len) != dst_len) unlzo() 261 out_buf += dst_len; unlzo()
|
/linux-4.1.27/include/net/ |
H A 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, netdev_switch_fib_ipv4_add() argument 156 static inline int netdev_switch_fib_ipv4_del(u32 dst, int dst_len, netdev_switch_fib_ipv4_del() argument
|
H A D | ip6_fib.h | 293 const struct in6_addr *daddr, int dst_len,
|
/linux-4.1.27/include/uapi/linux/ |
H A D | fib_rules.h | 20 __u8 dst_len; member in struct:fib_rule_hdr
|
/linux-4.1.27/net/ipv6/ |
H A D | fib6_rules.c | 204 if (frh->dst_len) fib6_rule_configure() 208 rule6->dst.plen = frh->dst_len; fib6_rule_configure() 224 if (frh->dst_len && (rule6->dst.plen != frh->dst_len)) fib6_rule_compare() 234 if (frh->dst_len && fib6_rule_compare() 246 frh->dst_len = rule6->dst.plen; fib6_rule_fill()
|
H A D | ip6_fib.c | 1179 const struct in6_addr *daddr, int dst_len, fib6_locate() 1184 fn = fib6_locate_1(root, daddr, dst_len, fib6_locate() 1178 fib6_locate(struct fib6_node *root, const struct in6_addr *daddr, int dst_len, const struct in6_addr *saddr, int src_len) fib6_locate() argument
|
H A D | ip6mr.c | 206 frh->dst_len = 0; ip6mr_rule_fill()
|
/linux-4.1.27/net/switchdev/ |
H A D | switchdev.c | 304 * @dst_len: destination address length (prefix length) 313 int netdev_switch_fib_ipv4_add(u32 dst, int dst_len, struct fib_info *fi, netdev_switch_fib_ipv4_add() argument 338 err = ops->swdev_fib_ipv4_add(dev, htonl(dst), dst_len, netdev_switch_fib_ipv4_add() 353 * @dst_len: destination address length (prefix length) 361 int netdev_switch_fib_ipv4_del(u32 dst, int dst_len, struct fib_info *fi, netdev_switch_fib_ipv4_del() argument 377 err = ops->swdev_fib_ipv4_del(dev, htonl(dst), dst_len, netdev_switch_fib_ipv4_del()
|
/linux-4.1.27/fs/ntfs/ |
H A D | runlist.h | 91 const int dst_len, const runlist_element *rl,
|
H A D | runlist.c | 1289 * @dst_len: size of destination buffer @dst in bytes 1297 * @dst_len is the size of @dst in bytes and it should be at least equal to the 1324 const int dst_len, const runlist_element *rl, ntfs_mapping_pairs_build() 1336 BUG_ON(dst_len < 1); ntfs_mapping_pairs_build() 1356 dst_max = dst + dst_len - 1; ntfs_mapping_pairs_build() 1323 ntfs_mapping_pairs_build(const ntfs_volume *vol, s8 *dst, const int dst_len, const runlist_element *rl, const VCN first_vcn, const VCN last_vcn, VCN *const stop_vcn) ntfs_mapping_pairs_build() argument
|
/linux-4.1.27/drivers/video/fbdev/msm/ |
H A D | mdp.c | 282 unsigned long src_start = 0, src_len = 0, dst_start = 0, dst_len = 0; mdp_blit() local 304 if (unlikely(get_img(&req->dst, fb, &dst_start, &dst_len, &dst_file))) { mdp_blit() 327 dst_len); mdp_blit() 344 dst_len); mdp_blit()
|
H A D | mdp_ppp.c | 537 unsigned long dst_start, unsigned long dst_len, valid_src_dst() 543 unsigned long dst_max_ok = dst_start + dst_len; valid_src_dst() 648 struct file *dst_file, unsigned long dst_start, unsigned long dst_len) mdp_ppp_blit() 696 if (!valid_src_dst(src_start, src_len, dst_start, dst_len, req, mdp_ppp_blit() 536 valid_src_dst(unsigned long src_start, unsigned long src_len, unsigned long dst_start, unsigned long dst_len, struct mdp_blit_req *req, struct mdp_regs *regs) valid_src_dst() argument 646 mdp_ppp_blit(const struct mdp_info *mdp, struct mdp_blit_req *req, struct file *src_file, unsigned long src_start, unsigned long src_len, struct file *dst_file, unsigned long dst_start, unsigned long dst_len) mdp_ppp_blit() argument
|
H A D | mdp_hw.h | 30 unsigned long dst_start, unsigned long dst_len);
|
/linux-4.1.27/drivers/media/usb/msi2500/ |
H A D | msi2500.c | 262 unsigned int i, j, transactions, dst_len = 0; msi2500_convert_stream() local 297 dst_len += 1008; msi2500_convert_stream() 319 dst_len += 1008; msi2500_convert_stream() 329 dst_len += 984; msi2500_convert_stream() 336 dst_len += 1008; msi2500_convert_stream() 343 dst_len += 1008; msi2500_convert_stream() 350 dst_len += 1008; msi2500_convert_stream() 372 return dst_len; msi2500_convert_stream()
|
/linux-4.1.27/arch/sh/kernel/ |
H A D | io_trapped.c | 184 unsigned long dst_addr, int dst_len) copy_word() 203 switch (dst_len) { copy_word() 183 copy_word(unsigned long src_addr, int src_len, unsigned long dst_addr, int dst_len) copy_word() argument
|
/linux-4.1.27/drivers/media/usb/airspy/ |
H A D | airspy.c | 244 unsigned int dst_len; airspy_convert_stream() local 248 dst_len = src_len; airspy_convert_stream() 250 dst_len = 0; airspy_convert_stream() 270 return dst_len; airspy_convert_stream()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
H A D | omapdss-boot-init.c | 71 static void __init omapdss_prefix_strcpy(char *dst, int dst_len, omapdss_prefix_strcpy() argument
|
/linux-4.1.27/lib/lz4/ |
H A D | lz4_compress.c | 419 unsigned char *dst, size_t *dst_len, void *wrkmem) lz4_compress() 434 *dst_len = out_len; lz4_compress() 418 lz4_compress(const unsigned char *src, size_t src_len, unsigned char *dst, size_t *dst_len, void *wrkmem) lz4_compress() argument
|
H A D | lz4hc_compress.c | 517 unsigned char *dst, size_t *dst_len, void *wrkmem) lz4hc_compress() 530 *dst_len = out_len; lz4hc_compress() 516 lz4hc_compress(const unsigned char *src, size_t src_len, unsigned char *dst, size_t *dst_len, void *wrkmem) lz4hc_compress() argument
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
H A D | rtl2832_sdr.c | 223 unsigned int dst_len; rtl2832_sdr_convert_stream() local 228 dst_len = src_len; rtl2832_sdr_convert_stream() 236 dst_len = 2 * src_len; rtl2832_sdr_convert_stream() 238 dst_len = 0; rtl2832_sdr_convert_stream() 258 return dst_len; rtl2832_sdr_convert_stream()
|
/linux-4.1.27/net/core/ |
H A D | fib_rules.c | 254 if (frh->dst_len) validate_rulemsg() 256 frh->dst_len > (ops->addr_size * 8) || validate_rulemsg()
|
/linux-4.1.27/drivers/dma/ |
H A D | at_hdmac.c | 897 size_t dst_len = 0, src_len = 0; atc_prep_dma_sg() local 919 if (dst_len == 0) { atc_prep_dma_sg() 926 dst_len = sg_dma_len(dst_sg); atc_prep_dma_sg() 945 len = min_t(size_t, src_len, dst_len); atc_prep_dma_sg() 987 dst_len -= len; atc_prep_dma_sg()
|
/linux-4.1.27/drivers/crypto/caam/ |
H A D | caamhash.c | 606 struct ahash_request *req, int dst_len) ahash_unmap() 612 dma_unmap_single(dev, edesc->dst_dma, dst_len, DMA_FROM_DEVICE); ahash_unmap() 621 struct ahash_request *req, int dst_len, u32 flag) ahash_unmap_ctx() 629 ahash_unmap(dev, edesc, req, dst_len); ahash_unmap_ctx() 604 ahash_unmap(struct device *dev, struct ahash_edesc *edesc, struct ahash_request *req, int dst_len) ahash_unmap() argument 619 ahash_unmap_ctx(struct device *dev, struct ahash_edesc *edesc, struct ahash_request *req, int dst_len, u32 flag) ahash_unmap_ctx() argument
|
/linux-4.1.27/drivers/net/ethernet/rocker/ |
H A D | rocker.c | 3766 int dst_len, struct fib_info *fi, u32 tb_id, rocker_port_fib_ipv4() 3771 __be32 dst_mask = inet_make_mask(dst_len); rocker_port_fib_ipv4() 4247 __be32 dst, int dst_len, rocker_port_swdev_fib_ipv4_add() 4255 return rocker_port_fib_ipv4(rocker_port, dst, dst_len, rocker_port_swdev_fib_ipv4_add() 4260 __be32 dst, int dst_len, rocker_port_swdev_fib_ipv4_del() 4267 return rocker_port_fib_ipv4(rocker_port, dst, dst_len, rocker_port_swdev_fib_ipv4_del() 3765 rocker_port_fib_ipv4(struct rocker_port *rocker_port, __be32 dst, int dst_len, struct fib_info *fi, u32 tb_id, int flags) rocker_port_fib_ipv4() argument 4246 rocker_port_swdev_fib_ipv4_add(struct net_device *dev, __be32 dst, int dst_len, struct fib_info *fi, u8 tos, u8 type, u32 nlflags, u32 tb_id) rocker_port_swdev_fib_ipv4_add() argument 4259 rocker_port_swdev_fib_ipv4_del(struct net_device *dev, __be32 dst, int dst_len, struct fib_info *fi, u8 tos, u8 type, u32 tb_id) rocker_port_swdev_fib_ipv4_del() argument
|
/linux-4.1.27/fs/btrfs/ |
H A D | extent_io.c | 5496 u64 dst_len = dst->len; copy_extent_buffer() local 5504 WARN_ON(src->len != dst_len); copy_extent_buffer()
|