Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 17 of 17) sorted by relevance

/include/linux/
Diversion.h126 u64 cur, old; in inode_set_max_iversion_raw() local
128 cur = inode_peek_iversion_raw(inode); in inode_set_max_iversion_raw()
130 if (cur > val) in inode_set_max_iversion_raw()
132 old = atomic64_cmpxchg(&inode->i_version, cur, val); in inode_set_max_iversion_raw()
133 if (likely(old == cur)) in inode_set_max_iversion_raw()
135 cur = old; in inode_set_max_iversion_raw()
200 u64 cur, old, new; in inode_maybe_inc_iversion() local
213 cur = inode_peek_iversion_raw(inode); in inode_maybe_inc_iversion()
216 if (!force && !(cur & I_VERSION_QUERIED)) in inode_maybe_inc_iversion()
220 new = (cur & ~I_VERSION_QUERIED) + I_VERSION_INCREMENT; in inode_maybe_inc_iversion()
[all …]
Dif_team.h287 struct team_port *cur; in team_get_first_port_txable_rcu() local
291 cur = port; in team_get_first_port_txable_rcu()
292 list_for_each_entry_continue_rcu(cur, &team->port_list, list) in team_get_first_port_txable_rcu()
293 if (team_port_txable(cur)) in team_get_first_port_txable_rcu()
294 return cur; in team_get_first_port_txable_rcu()
295 list_for_each_entry_rcu(cur, &team->port_list, list) { in team_get_first_port_txable_rcu()
296 if (cur == port) in team_get_first_port_txable_rcu()
298 if (team_port_txable(cur)) in team_get_first_port_txable_rcu()
299 return cur; in team_get_first_port_txable_rcu()
Dmdio-mux.h25 int (*switch_fn) (int cur, int desired, void *data),
Dswap_slots.h18 int cur; member
Ds3c_adc_battery.h7 int cur; /* mA */ member
Dbvec.h97 const struct bio_vec *cur = bv + iter->bi_idx; in bvec_iter_advance() local
99 cur->bv_len - iter->bi_bvec_done); in bvec_iter_advance()
105 if (iter->bi_bvec_done == cur->bv_len) { in bvec_iter_advance()
Dbpf_verifier.h403 struct bpf_verifier_state *cur = env->cur_state; in cur_func() local
405 return cur->frame[cur->curframe]; in cur_func()
Dblk-cgroup.h786 int cur = atomic_cmpxchg(&blkg->use_delay, old, old - 1); in blkcg_unuse_delay() local
787 if (cur == old) in blkcg_unuse_delay()
789 old = cur; in blkcg_unuse_delay()
806 int cur = atomic_cmpxchg(&blkg->use_delay, old, 0); in blkcg_clear_delay() local
807 if (cur == old) { in blkcg_clear_delay()
811 old = cur; in blkcg_clear_delay()
Dof.h91 const __be32 *cur; member
540 const __be32 *of_prop_next_u32(struct property *prop, const __be32 *cur,
549 const char *of_prop_next_string(struct property *prop, const char *cur);
925 const __be32 *cur, u32 *pu) in of_prop_next_u32() argument
931 const char *cur) in of_prop_next_string() argument
Dcpufreq.h66 unsigned int cur; /* in kHz, only needed if cpufreq member
569 if (policy->max < policy->cur) in cpufreq_policy_apply_limits()
571 else if (policy->min > policy->cur) in cpufreq_policy_apply_limits()
Ddevice.h244 bus_find_next_device(struct bus_type *bus,struct device *cur) in bus_find_next_device() argument
246 return bus_find_device(bus, cur, NULL, device_match_any); in bus_find_next_device()
Dsched.h1583 extern int cpuset_cpumask_can_shrink(const struct cpumask *cur, const struct cpumask *trial);
/include/linux/ceph/
Dlibceph.h199 type *cur = rb_entry(*n, type, nodefld); \
203 cmp = cmpexp(keyexp(t->keyfld), keyexp(cur->keyfld)); \
233 type *cur = rb_entry(n, type, nodefld); \
236 cmp = cmpexp(key, keyexp(cur->keyfld)); \
242 return cur; \
/include/linux/usb/
Dpd_vdo.h172 #define VDO_CABLE(hw, fw, cbl, gdr, lat, term, tx1d, tx2d, rx1d, rx2d, cur,\ argument
177 | ((cur) & 0x3) << 5 | (vps) << 4 | (sopp) << 3 \
/include/crypto/
Dif_alg.h68 unsigned int cur; /* Last processed SG entry */ member
/include/linux/lockd/
Dlockd.h267 typedef int (*nlm_host_match_fn_t)(void *cur, struct nlm_host *ref);
/include/media/
Dv4l2-ctrls.h255 } cur; member