Home
last modified time | relevance | path

Searched refs:dst_max (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/net/netfilter/
H A Dxt_iprange.c38 m |= ntohl(iph->daddr) > ntohl(info->dst_max.ip); in iprange_mt4()
45 &info->dst_max.ip); in iprange_mt4()
87 m |= iprange_ipv6_lt(&info->dst_max.in6, &iph->daddr); in iprange_mt6()
94 &info->dst_max.in6); in iprange_mt6()
/kernel/linux/linux-6.6/net/netfilter/
H A Dxt_iprange.c38 m |= ntohl(iph->daddr) > ntohl(info->dst_max.ip); in iprange_mt4()
45 &info->dst_max.ip); in iprange_mt4()
87 m |= iprange_ipv6_lt(&info->dst_max.in6, &iph->daddr); in iprange_mt6()
94 &info->dst_max.in6); in iprange_mt6()
/kernel/linux/linux-5.10/fs/ntfs/
H A Drunlist.c1223 * @dst_max: pointer to last byte of destination buffer for bounds checking
1238 static inline int ntfs_write_significant_bytes(s8 *dst, const s8 *dst_max, in ntfs_write_significant_bytes() argument
1247 if (unlikely(dst > dst_max)) in ntfs_write_significant_bytes()
1256 if (unlikely(dst > dst_max)) in ntfs_write_significant_bytes()
1261 if (unlikely(dst > dst_max)) in ntfs_write_significant_bytes()
1314 s8 *dst_max, *dst_next; in ntfs_mapping_pairs_build() local
1339 * @dst_max is used for bounds checking in in ntfs_mapping_pairs_build()
1342 dst_max = dst + dst_len - 1; in ntfs_mapping_pairs_build()
1363 len_len = ntfs_write_significant_bytes(dst + 1, dst_max, in ntfs_mapping_pairs_build()
1382 len_len, dst_max, prev_lc in ntfs_mapping_pairs_build()
[all...]
/kernel/linux/linux-6.6/fs/ntfs/
H A Drunlist.c1223 * @dst_max: pointer to last byte of destination buffer for bounds checking
1238 static inline int ntfs_write_significant_bytes(s8 *dst, const s8 *dst_max, in ntfs_write_significant_bytes() argument
1247 if (unlikely(dst > dst_max)) in ntfs_write_significant_bytes()
1256 if (unlikely(dst > dst_max)) in ntfs_write_significant_bytes()
1261 if (unlikely(dst > dst_max)) in ntfs_write_significant_bytes()
1314 s8 *dst_max, *dst_next; in ntfs_mapping_pairs_build() local
1339 * @dst_max is used for bounds checking in in ntfs_mapping_pairs_build()
1342 dst_max = dst + dst_len - 1; in ntfs_mapping_pairs_build()
1363 len_len = ntfs_write_significant_bytes(dst + 1, dst_max, in ntfs_mapping_pairs_build()
1382 len_len, dst_max, prev_lc in ntfs_mapping_pairs_build()
[all...]
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/
H A Dxt_iprange.h17 union nf_inet_addr dst_min, dst_max; member
/kernel/linux/linux-6.6/include/uapi/linux/netfilter/
H A Dxt_iprange.h17 union nf_inet_addr dst_min, dst_max; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/
H A Dxt_iprange.h31 union nf_inet_addr dst_min, dst_max; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/netfilter/
H A Dxt_iprange.h31 union nf_inet_addr dst_min, dst_max; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/
H A Dxt_iprange.h18 union nf_inet_addr dst_min, dst_max; member
/third_party/ntfs-3g/include/ntfs-3g/
H A Drunlist.h73 extern int ntfs_write_significant_bytes(u8 *dst, const u8 *dst_max,
/third_party/ntfs-3g/libntfs-3g/
H A Drunlist.c1420 * @dst_max: pointer to last byte of destination buffer for bounds checking
1435 int ntfs_write_significant_bytes(u8 *dst, const u8 *dst_max, const s64 n) in ntfs_write_significant_bytes() argument
1441 if (dst > dst_max) in ntfs_write_significant_bytes()
1446 if (dst > dst_max) in ntfs_write_significant_bytes()
1494 u8 *dst_max, *dst_next; in ntfs_mapping_pairs_build() local
1515 * @dst_max is used for bounds checking in in ntfs_mapping_pairs_build()
1518 dst_max = dst + dst_len - 1; in ntfs_mapping_pairs_build()
1529 len_len = ntfs_write_significant_bytes(dst + 1, dst_max, in ntfs_mapping_pairs_build()
1548 len_len, dst_max, prev_lcn); in ntfs_mapping_pairs_build()
1554 if (dst_next > dst_max) in ntfs_mapping_pairs_build()
[all...]
/third_party/mesa3d/src/util/format/
H A Du_format_pack.py278 dst_max = dst_channel.max()
282 dst_max_native = native_to_constant(src_channel, value_to_native(src_channel, dst_max))
284 if src_min < dst_min and src_max > dst_max:
287 if src_max > dst_max:
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.c824 double dst_max = lp_const_max(dst_type); in lp_build_conv() local
838 if(src_max > dst_max) { in lp_build_conv()
839 if(dst_max == 1.0) in lp_build_conv()
842 thres = lp_build_const_vec(gallivm, src_type, dst_max); in lp_build_conv()
H A Dlp_bld_pack.c805 LLVMValueRef dst_max = lp_build_const_int_vec(gallivm, src_type, in lp_build_packs2() local
808 lo = lp_build_min(&bld, lo, dst_max); in lp_build_packs2()
809 hi = lp_build_min(&bld, hi, dst_max); in lp_build_packs2()
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_ra_validate.c142 unsigned dst_max = ra_reg_get_physreg(dst) + reg_size(dst); in validate_simple() local
143 validate_assert(ctx, dst_max <= get_file_size(ctx, dst)); in validate_simple()
/kernel/linux/linux-5.10/net/core/
H A Dpktgen.c313 char dst_max[IP_NAME_SZ]; /* IP, ie 1.2.3.4 */ member
585 " dst_min: %s dst_max: %s\n", in pktgen_if_show()
586 pkt_dev->dst_min, pkt_dev->dst_max); in pktgen_if_show()
1272 if (!strcmp(name, "dst_max")) { in pktgen_if_write()
1273 len = strn_len(&user_buffer[i], sizeof(pkt_dev->dst_max) - 1); in pktgen_if_write()
1280 if (strcmp(buf, pkt_dev->dst_max) != 0) { in pktgen_if_write()
1281 memset(pkt_dev->dst_max, 0, sizeof(pkt_dev->dst_max)); in pktgen_if_write()
1282 strcpy(pkt_dev->dst_max, buf); in pktgen_if_write()
1283 pkt_dev->daddr_max = in_aton(pkt_dev->dst_max); in pktgen_if_write()
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dpktgen.c322 char dst_max[IP_NAME_SZ]; /* IP, ie 1.2.3.4 */ member
609 " dst_min: %s dst_max: %s\n", in pktgen_if_show()
610 pkt_dev->dst_min, pkt_dev->dst_max); in pktgen_if_show()
1379 if (!strcmp(name, "dst_max")) { in pktgen_if_write()
1380 len = strn_len(&user_buffer[i], sizeof(pkt_dev->dst_max) - 1); in pktgen_if_write()
1387 if (strcmp(buf, pkt_dev->dst_max) != 0) { in pktgen_if_write()
1388 memset(pkt_dev->dst_max, 0, sizeof(pkt_dev->dst_max)); in pktgen_if_write()
1389 strcpy(pkt_dev->dst_max, buf); in pktgen_if_write()
1390 pkt_dev->daddr_max = in_aton(pkt_dev->dst_max); in pktgen_if_write()
[all...]
/third_party/skia/src/ports/
H A DSkTypeface_mac_ct.cpp289 static D map(S value, S src_min, S src_max, D dst_min, D dst_max) { in map()
291 SkASSERT(dst_min <= dst_max); in map()
292 return C()(dst_min + (((value - src_min) * (dst_max - dst_min)) / (src_max - src_min))); in map()
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw.c1930 unsigned int dst_max) in pvr2_copy_i2c_addr_list()
1934 while (src[cnt] && (cnt + 1) < dst_max) { in pvr2_copy_i2c_addr_list()
1928 pvr2_copy_i2c_addr_list( unsigned short *dst, const unsigned char *src, unsigned int dst_max) pvr2_copy_i2c_addr_list() argument
/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw.c1930 unsigned int dst_max) in pvr2_copy_i2c_addr_list()
1934 while (src[cnt] && (cnt + 1) < dst_max) { in pvr2_copy_i2c_addr_list()
1928 pvr2_copy_i2c_addr_list( unsigned short *dst, const unsigned char *src, unsigned int dst_max) pvr2_copy_i2c_addr_list() argument

Completed in 32 milliseconds