| /OK3568_Linux_fs/kernel/security/safesetid/ |
| H A D | securityfs.c | 72 struct setid_ruleset *pol = in __release_ruleset() local 78 hash_for_each_safe(pol->rules, bucket, tmp, rule, next) in __release_ruleset() 80 kfree(pol->policy_str); in __release_ruleset() 81 kfree(pol); in __release_ruleset() 84 static void release_ruleset(struct setid_ruleset *pol){ in release_ruleset() argument 85 call_rcu(&pol->rcu, __release_ruleset); in release_ruleset() 88 static void insert_rule(struct setid_ruleset *pol, struct setid_rule *rule) in insert_rule() argument 90 if (pol->type == UID) in insert_rule() 91 hash_add(pol->rules, &rule->next, __kuid_val(rule->src_id.uid)); in insert_rule() 92 else if (pol->type == GID) in insert_rule() [all …]
|
| H A D | lsm.c | 69 struct setid_ruleset *pol; in setid_policy_lookup() local 73 pol = rcu_dereference(safesetid_setuid_rules); in setid_policy_lookup() 75 pol = rcu_dereference(safesetid_setgid_rules); in setid_policy_lookup() 82 if (pol) { in setid_policy_lookup() 83 pol->type = new_type; in setid_policy_lookup() 84 result = _setid_policy_lookup(pol, src, dst); in setid_policy_lookup()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | mempolicy.h | 65 extern void __mpol_put(struct mempolicy *pol); 66 static inline void mpol_put(struct mempolicy *pol) in mpol_put() argument 68 if (pol) in mpol_put() 69 __mpol_put(pol); in mpol_put() 76 static inline int mpol_needs_cond_ref(struct mempolicy *pol) in mpol_needs_cond_ref() argument 78 return (pol && (pol->flags & MPOL_F_SHARED)); in mpol_needs_cond_ref() 81 static inline void mpol_cond_put(struct mempolicy *pol) in mpol_cond_put() argument 83 if (mpol_needs_cond_ref(pol)) in mpol_cond_put() 84 __mpol_put(pol); in mpol_cond_put() 87 extern struct mempolicy *__mpol_dup(struct mempolicy *pol); [all …]
|
| H A D | blk-cgroup.h | 187 int blkcg_policy_register(struct blkcg_policy *pol); 188 void blkcg_policy_unregister(struct blkcg_policy *pol); 190 const struct blkcg_policy *pol); 192 const struct blkcg_policy *pol); 198 const struct blkcg_policy *pol, int data, 209 int blkg_conf_prep(struct blkcg *blkcg, const struct blkcg_policy *pol, 379 struct blkcg_policy *pol) in blkg_to_pd() argument 381 return blkg ? blkg->pd[pol->plid] : NULL; in blkg_to_pd() 385 struct blkcg_policy *pol) in blkcg_to_cpd() argument 387 return blkcg ? blkcg->cpd[pol->plid] : NULL; in blkcg_to_cpd() [all …]
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | mempolicy.c | 158 struct mempolicy *pol = p->mempolicy; in get_task_policy() local 161 if (pol) in get_task_policy() 162 return pol; in get_task_policy() 166 pol = &preferred_node_policy[node]; in get_task_policy() 168 if (pol->mode) in get_task_policy() 169 return pol; in get_task_policy() 176 int (*create)(struct mempolicy *pol, const nodemask_t *nodes); 177 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes); 180 static inline int mpol_store_user_nodemask(const struct mempolicy *pol) in mpol_store_user_nodemask() argument 182 return pol->flags & MPOL_MODE_FLAGS; in mpol_store_user_nodemask() [all …]
|
| /OK3568_Linux_fs/kernel/block/ |
| H A D | blk-cgroup.c | 62 const struct blkcg_policy *pol) in blkcg_policy_enabled() argument 64 return pol && test_bit(pol->plid, q->blkcg_pols); in blkcg_policy_enabled() 181 struct blkcg_policy *pol = blkcg_policy[i]; in blkg_alloc() local 184 if (!blkcg_policy_enabled(q, pol)) in blkg_alloc() 188 pd = pol->pd_alloc_fn(gfp_mask, q, blkcg); in blkg_alloc() 276 struct blkcg_policy *pol = blkcg_policy[i]; in blkg_create() local 278 if (blkg->pd[i] && pol->pd_init_fn) in blkg_create() 279 pol->pd_init_fn(blkg->pd[i]); in blkg_create() 290 struct blkcg_policy *pol = blkcg_policy[i]; in blkg_create() local 292 if (blkg->pd[i] && pol->pd_online_fn) in blkg_create() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/math/special_functions/ |
| H A D | log1p.hpp | 76 T log1p_imp(T const & x, const Policy& pol, const mpl::int_<0>&) in log1p_imp() argument 85 function, "log1p(x) requires x > -1, but got x = %1%.", x, pol); in log1p_imp() 88 function, 0, pol); in log1p_imp() 105 policies::check_series_iterations<T>(function, max_iter, pol); in log1p_imp() 110 T log1p_imp(T const& x, const Policy& pol, const mpl::int_<53>&) in log1p_imp() argument 118 function, "log1p(x) requires x > -1, but got x = %1%.", x, pol); in log1p_imp() 121 function, 0, pol); in log1p_imp() 163 T log1p_imp(T const& x, const Policy& pol, const mpl::int_<64>&) in log1p_imp() argument 171 function, "log1p(x) requires x > -1, but got x = %1%.", x, pol); in log1p_imp() 174 function, 0, pol); in log1p_imp() [all …]
|
| H A D | next.hpp | 172 T float_next_imp(const T& val, const mpl::true_&, const Policy& pol) in float_next_imp() argument 186 "Argument must be finite, but got %1%", val, pol); in float_next_imp() 190 return policies::raise_overflow_error<T>(function, 0, pol); in float_next_imp() 202 return ldexp(float_next(T(ldexp(val, 2 * tools::digits<T>())), pol), -2 * tools::digits<T>()); in float_next_imp() 216 T float_next_imp(const T& val, const mpl::false_&, const Policy& pol) in float_next_imp() argument 233 "Argument must be finite, but got %1%", val, pol); in float_next_imp() 237 return policies::raise_overflow_error<T>(function, 0, pol); in float_next_imp() 249 …return scalbn(float_next(T(scalbn(val, 2 * std::numeric_limits<T>::digits)), pol), -2 * std::numer… in float_next_imp() 264 inline typename tools::promote_args<T>::type float_next(const T& val, const Policy& pol) in float_next() argument 267 …ric_limits<result_type>::is_specialized || (std::numeric_limits<result_type>::radix == 2)>(), pol); in float_next() [all …]
|
| H A D | trunc.hpp | 21 inline typename tools::promote_args<T>::type trunc(const T& v, const Policy& pol, const mpl::false_… in trunc() argument 26 …("boost::math::trunc<%1%>(%1%)", 0, static_cast<result_type>(v), static_cast<result_type>(v), pol); in trunc() 39 inline typename tools::promote_args<T>::type trunc(const T& v, const Policy& pol) in trunc() argument 41 return detail::trunc(v, pol, mpl::bool_<detail::is_integer_for_rounding<T>::value>()); in trunc() 58 inline int itrunc(const T& v, const Policy& pol) in itrunc() argument 62 result_type r = boost::math::trunc(v, pol); in itrunc() 64 …es::raise_rounding_error("boost::math::itrunc<%1%>(%1%)", 0, static_cast<result_type>(v), 0, pol)); in itrunc() 74 inline long ltrunc(const T& v, const Policy& pol) in ltrunc() argument 78 result_type r = boost::math::trunc(v, pol); in ltrunc() 80 …s::raise_rounding_error("boost::math::ltrunc<%1%>(%1%)", 0, static_cast<result_type>(v), 0L, pol)); in ltrunc() [all …]
|
| H A D | atanh.hpp | 37 inline T atanh_imp(const T x, const Policy& pol) in atanh_imp() argument 46 "atanh requires x >= -1, but got x = %1%.", x, pol); in atanh_imp() 52 "atanh requires x <= 1, but got x = %1%.", x, pol); in atanh_imp() 58 "atanh requires -1 <= x <= 1, but got x = %1%.", x, pol); in atanh_imp() 63 return -policies::raise_overflow_error<T>(function, 0, pol); in atanh_imp() 68 return policies::raise_overflow_error<T>(function, 0, pol); in atanh_imp() 74 return (boost::math::log1p(x, pol) - boost::math::log1p(-x, pol)) / 2; in atanh_imp()
|
| H A D | math_fwd.hpp | 52 beta(RT1 a, RT2 b, RT3 x, const Policy& pol); // Beta function (3 arguments). 60 betac(RT1 a, RT2 b, RT3 x, const Policy& pol); 68 ibeta(RT1 a, RT2 b, RT3 x, const Policy& pol); // Incomplete beta function. 76 ibetac(RT1 a, RT2 b, RT3 x, const Policy& pol); // Incomplete beta complement function. 84 ibeta_inv(T1 a, T2 b, T3 p, T4* py, const Policy& pol); 116 ibetac_inv(T1 a, T2 b, T3 q, T4* py, const Policy& pol); 148 ibeta_derivative(RT1 a, RT2 b, RT3 x, const Policy& pol); // derivative of incomplete beta 152 T binomial_coefficient(unsigned n, unsigned k, const Policy& pol); 170 typename tools::promote_args<RT>::type erf_inv(RT z, const Policy& pol); 175 typename tools::promote_args<RT>::type erfc_inv(RT z, const Policy& pol); [all …]
|
| H A D | hypot.hpp | 27 T hypot_imp(T x, T y, const Policy& pol) in hypot_imp() argument 45 return policies::raise_overflow_error<T>("boost::math::hypot<%1%>(%1%,%1%)", 0, pol); in hypot_imp() 73 hypot(T1 x, T2 y, const Policy& pol) in hypot() argument 77 static_cast<result_type>(x), static_cast<result_type>(y), pol); in hypot()
|
| /OK3568_Linux_fs/kernel/net/xfrm/ |
| H A D | xfrm_policy.c | 174 static void __xfrm_policy_link(struct xfrm_policy *pol, int dir); 175 static struct xfrm_policy *__xfrm_policy_unlink(struct xfrm_policy *pol, 531 struct xfrm_policy *pol; in xfrm_dst_hash_transfer() local 537 hlist_for_each_entry_safe(pol, tmp, list, bydst) { in xfrm_dst_hash_transfer() 540 __get_hash_thresh(net, pol->family, dir, &dbits, &sbits); in xfrm_dst_hash_transfer() 541 h = __addr_hash(&pol->selector.daddr, &pol->selector.saddr, in xfrm_dst_hash_transfer() 542 pol->family, nhashmask, dbits, sbits); in xfrm_dst_hash_transfer() 544 hlist_del_rcu(&pol->bydst); in xfrm_dst_hash_transfer() 545 hlist_add_head_rcu(&pol->bydst, ndsttable + h); in xfrm_dst_hash_transfer() 550 hlist_del_rcu(&pol->bydst); in xfrm_dst_hash_transfer() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/math/special_functions/detail/ |
| H A D | round_fwd.hpp | 24 typename tools::promote_args<T>::type trunc(const T& v, const Policy& pol); 28 int itrunc(const T& v, const Policy& pol); 32 long ltrunc(const T& v, const Policy& pol); 37 boost::long_long_type lltrunc(const T& v, const Policy& pol); 42 typename tools::promote_args<T>::type round(const T& v, const Policy& pol); 46 int iround(const T& v, const Policy& pol); 50 long lround(const T& v, const Policy& pol); 55 boost::long_long_type llround(const T& v, const Policy& pol); 60 T modf(const T& v, T* ipart, const Policy& pol); 64 T modf(const T& v, int* ipart, const Policy& pol); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/cpufreq/ |
| H A D | powernow-k8.c | 923 struct cpufreq_policy *pol; member 930 struct cpufreq_policy *pol = pta->pol; in powernowk8_target_fn() local 932 struct powernow_k8_data *data = per_cpu(powernow_data, pol->cpu); in powernowk8_target_fn() 949 pol->cpu, data->powernow_table[newstate].frequency, pol->min, in powernowk8_target_fn() 950 pol->max); in powernowk8_target_fn() 969 ret = transition_frequency_fidvid(data, newstate, pol); in powernowk8_target_fn() 978 pol->cur = find_khz_freq_from_fid(data->currfid); in powernowk8_target_fn() 984 static int powernowk8_target(struct cpufreq_policy *pol, unsigned index) in powernowk8_target() argument 986 struct powernowk8_target_arg pta = { .pol = pol, .newstate = index }; in powernowk8_target() 988 return work_on_cpu(pol->cpu, powernowk8_target_fn, &pta); in powernowk8_target() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/sunxi/sun4i-csi/ |
| H A D | sun4i_csi.h | 25 #define CSI_CFG_VREF_POL(pol) ((pol) << 2) argument 26 #define CSI_CFG_HREF_POL(pol) ((pol) << 1) argument 27 #define CSI_CFG_PCLK_POL(pol) ((pol) << 0) argument
|
| /OK3568_Linux_fs/kernel/net/key/ |
| H A D | af_key.c | 1995 parse_ipsecrequests(struct xfrm_policy *xp, struct sadb_x_policy *pol) in parse_ipsecrequests() argument 1998 int len = pol->sadb_x_policy_len*8 - sizeof(struct sadb_x_policy); in parse_ipsecrequests() 1999 struct sadb_x_ipsecrequest *rq = (void*)(pol+1); in parse_ipsecrequests() 2001 if (pol->sadb_x_policy_len * 8 < sizeof(struct sadb_x_policy)) in parse_ipsecrequests() 2070 struct sadb_x_policy *pol; in pfkey_xfrm_policy2msg() local 2141 pol = skb_put(skb, sizeof(struct sadb_x_policy)); in pfkey_xfrm_policy2msg() 2142 pol->sadb_x_policy_len = sizeof(struct sadb_x_policy)/sizeof(uint64_t); in pfkey_xfrm_policy2msg() 2143 pol->sadb_x_policy_exttype = SADB_X_EXT_POLICY; in pfkey_xfrm_policy2msg() 2144 pol->sadb_x_policy_type = IPSEC_POLICY_DISCARD; in pfkey_xfrm_policy2msg() 2147 pol->sadb_x_policy_type = IPSEC_POLICY_IPSEC; in pfkey_xfrm_policy2msg() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/math/policies/ |
| H A D | error_handling.hpp | 701 inline bool check_overflow(T val, R* result, const char* function, const Policy& pol) BOOST_NOEXCEP… in check_overflow() argument 706 boost::math::policies::detail::raise_overflow_error<R>(function, 0, pol); in check_overflow() 713 inline bool check_overflow(std::complex<T> val, R* result, const char* function, const Policy& pol)… in check_overflow() argument 717 bool r = check_overflow<r_type>(val.real(), &re, function, pol); in check_overflow() 718 r = check_overflow<r_type>(val.imag(), &im, function, pol) || r; in check_overflow() 723 inline bool check_underflow(T val, R* result, const char* function, const Policy& pol) BOOST_NOEXCE… in check_underflow() argument 727 …result = static_cast<R>(boost::math::policies::detail::raise_underflow_error<R>(function, 0, pol)); in check_underflow() 733 inline bool check_underflow(std::complex<T> val, R* result, const char* function, const Policy& pol… in check_underflow() argument 737 bool r = check_underflow<r_type>(val.real(), &re, function, pol); in check_underflow() 738 r = check_underflow<r_type>(val.imag(), &im, function, pol) || r; in check_underflow() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/irqchip/ |
| H A D | irq-tb10x.c | 45 uint32_t im, mod, pol; in tb10x_irq_set_type() local 52 pol = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_POLARITY) | im; in tb10x_irq_set_type() 56 pol ^= im; in tb10x_irq_set_type() 65 pol ^= im; in tb10x_irq_set_type() 80 ab_irqctl_writereg(gc, AB_IRQCTL_SRC_POLARITY, pol); in tb10x_irq_set_type()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/fsl-dcu/ |
| H A D | fsl_dcu_drm_crtc.c | 86 unsigned int pol = 0; in fsl_dcu_drm_crtc_mode_set_nofb() local 95 pol |= DCU_SYN_POL_INV_PXCK; in fsl_dcu_drm_crtc_mode_set_nofb() 98 pol |= DCU_SYN_POL_INV_HS_LOW; in fsl_dcu_drm_crtc_mode_set_nofb() 101 pol |= DCU_SYN_POL_INV_VS_LOW; in fsl_dcu_drm_crtc_mode_set_nofb() 114 regmap_write(fsl_dev->regmap, DCU_SYN_POL, pol); in fsl_dcu_drm_crtc_mode_set_nofb()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/dss/ |
| H A D | hdmi_phy.c | 37 u8 lane, pol; in hdmi_phy_parse_lanes() local 52 pol = 1; in hdmi_phy_parse_lanes() 56 pol = 0; in hdmi_phy_parse_lanes() 62 phy->lane_polarity[lane] = pol; in hdmi_phy_parse_lanes()
|
| /OK3568_Linux_fs/u-boot/board/BuR/common/ |
| H A D | common.c | 153 pnltmp.pol |= HSYNC_INVERT; in load_lcdtiming() 156 pnltmp.pol |= VSYNC_INVERT; in load_lcdtiming() 159 pnltmp.pol |= HSVS_CONTROL; in load_lcdtiming() 162 pnltmp.pol |= HSVS_RISEFALL; in load_lcdtiming() 165 pnltmp.pol |= PXCLK_INVERT; in load_lcdtiming() 168 pnltmp.pol |= DE_INVERT; in load_lcdtiming() 199 pnltmp.pol = env_get_ulong("ds1_pol", 16, ~0UL); in load_lcdtiming() 215 ~0UL == (pnltmp.pol) || in load_lcdtiming() 237 pnltmp.pxl_clk_div, pnltmp.pol, pnltmp.pon_delay); in load_lcdtiming()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | hdmi_phy.c | 46 u8 lane, pol; in hdmi_phy_parse_lanes() local 61 pol = 1; in hdmi_phy_parse_lanes() 65 pol = 0; in hdmi_phy_parse_lanes() 71 phy->lane_polarity[lane] = pol; in hdmi_phy_parse_lanes()
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | wm8350-gpio.c | 162 static int gpio_set_polarity(struct wm8350 *wm8350, int gpio, int pol) in gpio_set_polarity() argument 164 if (pol == WM8350_GPIO_ACTIVE_HIGH) in gpio_set_polarity() 184 int pol, int pull, int invert, int debounce) in wm8350_gpio_config() argument 206 if (gpio_set_polarity(wm8350, gpio, pol)) in wm8350_gpio_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mscc/ |
| H A D | ocelot_police.c | 158 struct ocelot_policer *pol) in ocelot_port_policer_add() argument 163 if (!pol) in ocelot_port_policer_add() 167 pp.pir = pol->rate; in ocelot_port_policer_add() 168 pp.pbs = pol->burst; in ocelot_port_policer_add()
|