Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 15 of 15) sorted by relevance

/include/net/
Dred.h173 int delta = qth_max - qth_min; in red_set_parms() local
180 if (delta < 0) in red_set_parms()
181 delta = 1; in red_set_parms()
182 p->qth_delta = delta; in red_set_parms()
185 max_P *= delta; /* max_P = (qth_max - qth_min)/2^Plog */ in red_set_parms()
188 max_p_delta = max_P / delta; in red_set_parms()
196 delta /= 5; in red_set_parms()
197 p->target_min = qth_min + 2*delta; in red_set_parms()
198 p->target_max = qth_min + 3*delta; in red_set_parms()
232 s64 delta = ktime_us_delta(ktime_get(), v->qidlestart); in red_calc_qavg_from_idle_time() local
[all …]
Dcodel.h308 u32 delta; in codel_dequeue() local
325 delta = vars->count - vars->lastcount; in codel_dequeue()
326 if (delta > 1 && in codel_dequeue()
329 vars->count = delta; in codel_dequeue()
Dip_vs.h430 __u32 delta; /* Delta in sequence numbers */ member
/include/linux/
Dvmstat.h40 static inline void __count_vm_events(enum vm_event_item item, long delta) in __count_vm_events() argument
42 __this_cpu_add(vm_event_states.event[item], delta); in __count_vm_events()
45 static inline void count_vm_events(enum vm_event_item item, long delta) in count_vm_events() argument
47 this_cpu_add(vm_event_states.event[item], delta); in count_vm_events()
60 static inline void count_vm_events(enum vm_event_item item, long delta) in count_vm_events() argument
66 static inline void __count_vm_events(enum vm_event_item item, long delta) in __count_vm_events() argument
86 #define __count_zone_vm_events(item, zone, delta) \ argument
88 zone_idx(zone), delta)
217 enum zone_stat_item item, int delta) in __mod_zone_page_state() argument
219 zone_page_state_add(delta, zone, item); in __mod_zone_page_state()
Dpps_kernel.h131 static inline void pps_sub_ts(struct pps_event_time *ts, struct timespec delta) in pps_sub_ts() argument
133 ts->ts_real = timespec_sub(ts->ts_real, delta); in pps_sub_ts()
135 ts->ts_raw = timespec_sub(ts->ts_raw, delta); in pps_sub_ts()
Dhrtimer.h202 static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) in hrtimer_set_expires_range() argument
205 timer->node.expires = ktime_add_safe(time, delta); in hrtimer_set_expires_range()
208 … inline void hrtimer_set_expires_range_ns(struct hrtimer *timer, ktime_t time, unsigned long delta) in hrtimer_set_expires_range_ns() argument
211 timer->node.expires = ktime_add_safe(time, ns_to_ktime(delta)); in hrtimer_set_expires_range_ns()
375 unsigned long delta; in hrtimer_start_expires() local
379 delta = ktime_to_ns(ktime_sub(hard, soft)); in hrtimer_start_expires()
380 return hrtimer_start_range_ns(timer, soft, delta, mode); in hrtimer_start_expires()
442 extern int schedule_hrtimeout_range(ktime_t *expires, unsigned long delta,
445 unsigned long delta, const enum hrtimer_mode mode, int clock);
Dptp_clock_kernel.h87 int (*adjfreq)(struct ptp_clock_info *ptp, s32 delta);
88 int (*adjtime)(struct ptp_clock_info *ptp, s64 delta);
Dfreezer.h234 unsigned long delta, const enum hrtimer_mode mode) in freezable_schedule_hrtimeout_range() argument
238 __retval = schedule_hrtimeout_range(expires, delta, mode); in freezable_schedule_hrtimeout_range()
331 #define freezable_schedule_hrtimeout_range(expires, delta, mode) \ argument
332 schedule_hrtimeout_range(expires, delta, mode)
Djiffies.h303 static inline clock_t jiffies_delta_to_clock_t(long delta) in jiffies_delta_to_clock_t() argument
305 return jiffies_to_clock_t(max(0L, delta)); in jiffies_delta_to_clock_t()
Dskbuff.h178 static inline void skb_frag_size_add(skb_frag_t *frag, int delta) in skb_frag_size_add() argument
180 frag->size += delta; in skb_frag_size_add()
183 static inline void skb_frag_size_sub(skb_frag_t *frag, int delta) in skb_frag_size_sub() argument
185 frag->size -= delta; in skb_frag_size_sub()
1443 extern unsigned char *__pskb_pull_tail(struct sk_buff *skb, int delta);
2212 int delta = 0; in __skb_cow() local
2215 delta = headroom - skb_headroom(skb); in __skb_cow()
2217 if (delta || cloned) in __skb_cow()
2218 return pskb_expand_head(skb, ALIGN(delta, NET_SKB_PAD), 0, in __skb_cow()
Dtime.h138 void timekeeping_inject_sleeptime(struct timespec *delta);
/include/asm-generic/
Drwsem.h105 static inline void rwsem_atomic_add(long delta, struct rw_semaphore *sem) in rwsem_atomic_add() argument
107 atomic_long_add(delta, (atomic_long_t *)&sem->count); in rwsem_atomic_add()
126 static inline long rwsem_atomic_update(long delta, struct rw_semaphore *sem) in rwsem_atomic_update() argument
128 return atomic_long_add_return(delta, (atomic_long_t *)&sem->count); in rwsem_atomic_update()
/include/trace/events/
Dvmscan.h186 unsigned long long delta, unsigned long total_scan),
189 cache_items, delta, total_scan),
199 __field(unsigned long long, delta)
211 __entry->delta = delta;
223 __entry->delta,
/include/linux/netfilter/
Dx_tables.h420 extern int xt_compat_add_offset(u_int8_t af, unsigned int offset, int delta);
/include/uapi/drm/
Di915_drm.h505 __u32 delta; member