Searched refs:curr (Results 1 - 25 of 380) sorted by relevance

1234567891011>>

/linux-master/drivers/char/ipmi/
H A Dipmi_si_hotmod.c59 const char **curr)
64 s = strchr(*curr, ',');
72 if (strcmp(*curr, v[i].name) == 0) {
74 *curr = s;
79 pr_warn("Invalid hotmod %s '%s'\n", name, *curr);
83 static int check_hotmod_int_op(const char *curr, const char *option, argument
88 if (strcmp(curr, name) == 0) {
90 pr_warn("No option given for '%s'\n", curr);
95 pr_warn("Bad option given for '%s'\n", curr);
103 static int parse_hotmod_str(const char *curr, enu argument
58 parse_str(const struct hotmod_vals *v, unsigned int *val, char *name, const char **curr) argument
189 char *str, *curr, *next; local
[all...]
/linux-master/tools/perf/ui/
H A Dprogress.c18 u64 last = p->curr;
20 p->curr += adv;
22 if (p->curr >= p->next) {
23 u64 nr = DIV_ROUND_UP(p->curr - last, p->step);
33 p->curr = 0;
/linux-master/arch/arm64/include/asm/
H A Dmte-kasan.h154 u64 curr, mask, dczid, dczid_bs, dczid_dzp, end1, end2, end3; local
161 curr = (u64)__tag_set(addr, tag);
164 end1 = curr | mask;
165 end3 = curr + size;
180 curr = stg_post(curr); \
181 } while (curr < end1); \
184 dc_gva(curr); \
185 curr += dczid_bs; \
186 } while (curr < end
[all...]
/linux-master/fs/hfs/
H A Dbitmap.c31 __be32 *curr, *end; local
40 curr = bitmap + (offset / 32);
44 val = *curr;
56 while (++curr < end) {
57 val = *curr;
70 start = (curr - bitmap) * 32 + i;
85 *curr++ = cpu_to_be32(n);
88 n = be32_to_cpu(*curr);
95 *curr++ = cpu_to_be32(0xffffffff);
107 *curr
195 __be32 *curr; local
[all...]
/linux-master/fs/hfsplus/
H A Dbitmap.c25 __be32 *pptr, *curr, *end; local
43 curr = pptr + (offset & (PAGE_CACHE_BITS - 1)) / 32;
52 val = *curr;
61 curr++;
65 while (curr < end) {
66 val = *curr;
75 curr++;
87 curr = pptr = kmap_local_page(page);
98 start = offset + (curr - pptr) * 32 + i;
115 *curr
169 __be32 *pptr, *curr, *end; local
[all...]
/linux-master/drivers/media/test-drivers/vidtv/
H A Dvidtv_channel.c37 struct vidtv_encoder *curr = e; local
39 while (curr) {
41 tmp = curr;
42 curr = curr->next;
163 struct vidtv_psi_table_eit_event *curr = NULL; local
173 curr = cur_chnl->events;
175 if (!curr)
180 while (curr) {
181 event_id = be16_to_cpu(curr
209 struct vidtv_psi_table_sdt_service *curr = NULL; local
264 struct vidtv_psi_table_pat_program *curr = NULL; local
531 struct vidtv_channel *curr = m->channels; local
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dprobe_user.c17 struct sockaddr curr, orig, tmp; local
18 struct sockaddr_in *in = (struct sockaddr_in *)&curr;
52 memset(&curr, 0, sizeof(curr));
56 memcpy(&orig, &curr, sizeof(curr));
62 connect(sock_fd, &curr, sizeof(curr));
78 in = (struct sockaddr_in *)&curr;
79 if (CHECK(memcmp(&curr,
[all...]
/linux-master/kernel/sched/
H A Dswait.c23 struct swait_queue *curr; local
28 curr = list_first_entry(&q->task_list, typeof(*curr), task_list);
29 try_to_wake_up(curr->task, TASK_NORMAL, wake_flags);
30 list_del_init(&curr->task_list);
63 struct swait_queue *curr; local
69 curr = list_first_entry(&tmp, typeof(*curr), task_list);
71 wake_up_state(curr->task, TASK_NORMAL);
72 list_del_init(&curr
[all...]
/linux-master/kernel/locking/
H A Dosq_lock.c58 int curr = encode_cpu(smp_processor_id()); local
61 if (atomic_read(&lock->tail) == curr &&
62 atomic_cmpxchg_acquire(&lock->tail, curr, old_cpu) == curr) {
97 int curr = encode_cpu(smp_processor_id()); local
102 node->cpu = curr;
110 old = atomic_xchg(&lock->tail, curr);
213 int curr = encode_cpu(smp_processor_id()); local
218 if (likely(atomic_cmpxchg_release(&lock->tail, curr,
219 OSQ_UNLOCKED_VAL) == curr))
[all...]
H A Dlockdep.c1939 struct task_struct *curr = current; local
1950 curr->comm, task_pid_nr(curr));
2029 struct task_struct *curr = current; local
2057 lockdep_print_held_locks(curr);
2559 print_bad_irq_dependency(struct task_struct *curr, argument
2580 curr->comm, task_pid_nr(curr),
2582 curr->softirq_context, softirq_count() >> SOFTIRQ_SHIFT,
2584 curr
2788 check_irq_usage(struct task_struct *curr, struct held_lock *prev, struct held_lock *next) argument
2876 check_irq_usage(struct task_struct *curr, struct held_lock *prev, struct held_lock *next) argument
2983 print_deadlock_bug(struct task_struct *curr, struct held_lock *prev, struct held_lock *next) argument
3026 check_deadlock(struct task_struct *curr, struct held_lock *next) argument
3091 check_prev_add(struct task_struct *curr, struct held_lock *prev, struct held_lock *next, u16 distance, struct lock_trace **const trace) argument
3227 check_prevs_add(struct task_struct *curr, struct held_lock *next) argument
3384 int prev, curr; local
3462 int bucket, curr, size; local
3539 get_first_held_lock(struct task_struct *curr, struct held_lock *hlock) argument
3570 print_chain_keys_held_locks(struct task_struct *curr, struct held_lock *hlock_next) argument
3606 print_collision(struct task_struct *curr, struct held_lock *hlock_next, struct lock_chain *chain) argument
3635 check_no_collision(struct task_struct *curr, struct held_lock *hlock, struct lock_chain *chain) argument
3695 add_chain_cache(struct task_struct *curr, struct held_lock *hlock, u64 chain_key) argument
3777 lookup_chain_cache_add(struct task_struct *curr, struct held_lock *hlock, u64 chain_key) argument
3822 validate_chain(struct task_struct *curr, struct held_lock *hlock, int chain_head, u64 chain_key) argument
3883 validate_chain(struct task_struct *curr, struct held_lock *hlock, int chain_head, u64 chain_key) argument
3897 check_chain_key(struct task_struct *curr) argument
3968 print_usage_bug(struct task_struct *curr, struct held_lock *this, enum lock_usage_bit prev_bit, enum lock_usage_bit new_bit) argument
4008 valid_state(struct task_struct *curr, struct held_lock *this, enum lock_usage_bit new_bit, enum lock_usage_bit bad_bit) argument
4024 print_irq_inversion_bug(struct task_struct *curr, struct lock_list *root, struct lock_list *other, struct held_lock *this, int forwards, const char *irqclass) argument
4088 check_usage_forwards(struct task_struct *curr, struct held_lock *this, enum lock_usage_bit bit) argument
4123 check_usage_backwards(struct task_struct *curr, struct held_lock *this, enum lock_usage_bit bit) argument
4153 print_irqtrace_events(struct task_struct *curr) argument
4205 mark_lock_irq(struct task_struct *curr, struct held_lock *this, enum lock_usage_bit new_bit) argument
4257 mark_held_locks(struct task_struct *curr, enum lock_usage_bit base_bit) argument
4286 struct task_struct *curr = current; local
4543 mark_usage(struct task_struct *curr, struct held_lock *hlock, int check) argument
4611 separate_irq_context(struct task_struct *curr, struct held_lock *hlock) argument
4637 mark_lock(struct task_struct *curr, struct held_lock *this, enum lock_usage_bit new_bit) argument
4699 task_wait_context(struct task_struct *curr) argument
4724 print_lock_invalid_wait_context(struct task_struct *curr, struct held_lock *hlock) argument
4771 check_wait_context(struct task_struct *curr, struct held_lock *next) argument
4829 mark_usage(struct task_struct *curr, struct held_lock *hlock, int check) argument
4839 separate_irq_context(struct task_struct *curr, struct held_lock *hlock) argument
4845 check_wait_context(struct task_struct *curr, struct held_lock *next) argument
4949 print_lock_nested_lock_not_held(struct task_struct *curr, struct held_lock *hlock) argument
4994 struct task_struct *curr = current; local
5170 print_unlock_imbalance_bug(struct task_struct *curr, struct lockdep_map *lock, unsigned long ip) argument
5234 find_held_lock(struct task_struct *curr, struct lockdep_map *lock, unsigned int depth, int *idx) argument
5269 reacquire_held_locks(struct task_struct *curr, unsigned int depth, int idx, unsigned int *merged) argument
5306 struct task_struct *curr = current; local
5353 struct task_struct *curr = current; local
5407 struct task_struct *curr = current; local
5489 struct task_struct *curr = current; local
5509 struct task_struct *curr = current; local
5536 struct task_struct *curr = current; local
5556 struct task_struct *curr = current; local
5889 print_lock_contention_bug(struct task_struct *curr, struct lockdep_map *lock, unsigned long ip) argument
5919 struct task_struct *curr = current; local
5960 struct task_struct *curr = current; local
6519 print_freed_lock_bug(struct task_struct *curr, const void *mem_from, const void *mem_to, struct held_lock *hlock) argument
6555 struct task_struct *curr = current; local
6646 struct task_struct *curr = current; local
6670 struct task_struct *curr = current; local
[all...]
/linux-master/sound/firewire/oxfw/
H A Doxfw-proc.c14 struct snd_oxfw_stream_formation formation, curr; local
22 &curr);
37 if (memcmp(&formation, &curr, sizeof(curr)) == 0)
52 &curr);
67 if (memcmp(&formation, &curr, sizeof(curr)) == 0)
/linux-master/drivers/gpu/drm/virtio/
H A Dvirtgpu_fence.c131 struct virtio_gpu_fence *signaled, *curr, *tmp; local
136 list_for_each_entry_safe(curr, tmp, &drv->fences, node) {
137 if (fence_id != curr->fence_id)
140 signaled = curr;
146 list_for_each_entry_safe(curr, tmp, &drv->fences, node) {
148 if (signaled->f.context != curr->f.context)
151 if (!dma_fence_is_later(&signaled->f, &curr->f))
154 dma_fence_signal_locked(&curr->f);
155 if (curr->e) {
156 drm_send_event(vgdev->ddev, &curr
[all...]
/linux-master/drivers/input/serio/
H A Dhp_sdc.c183 hp_sdc_transaction *curr; local
190 curr = hp_sdc.tq[hp_sdc.rcurr];
193 curr->seq[curr->idx++] = status;
194 curr->seq[curr->idx++] = data;
200 if (curr->seq[curr->actidx] & HP_SDC_ACT_SEMAPHORE)
201 if (curr->act.semaphore)
202 up(curr
313 hp_sdc_transaction *curr; local
350 hp_sdc_transaction *curr; local
[all...]
/linux-master/arch/mips/kernel/
H A Dcsrc-r4k.c48 unsigned int prev, curr, i; local
57 curr = rdhwr_count();
59 if (curr != prev)
62 prev = curr;
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-jpeg.c57 * @curr: current position in stream
61 u8 *curr; member in struct:jpeg_stream
68 if (stream->curr >= stream->end)
71 return *stream->curr++;
79 if (stream->curr + sizeof(__be16) > stream->end)
82 word = get_unaligned_be16(stream->curr);
83 stream->curr += sizeof(__be16);
90 if (stream->curr + len > stream->end)
93 stream->curr += len;
119 if (stream->curr
[all...]
/linux-master/lib/zlib_inflate/
H A Dinftrees.c30 unsigned curr; /* number of index bits for current table */ local
137 filled is at next and has curr index bits. The code being used is huff
139 bits off of the bottom. For codes where len is less than drop + curr,
140 those top drop + curr - len bits are incremented through all values to
191 curr = root; /* current table index bits */
220 fill = 1U << curr;
252 next += min; /* here min is 1 << curr */
255 curr = len - drop;
256 left = (int)(1 << curr);
257 while (curr
[all...]
/linux-master/arch/x86/um/
H A Dtls_32.c95 struct uml_tls_struct* curr = local
102 if (!curr->present) {
103 if (!curr->flushed) {
104 clear_user_desc(&curr->tls);
105 curr->tls.entry_number = idx;
107 WARN_ON(!LDT_empty(&curr->tls));
112 if (!(flags & O_FORCE) && curr->flushed)
115 ret = do_set_thread_area(&curr->tls);
119 curr->flushed = 1;
135 struct uml_tls_struct* curr local
159 struct uml_tls_struct* curr = local
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dcpumask_failure.c170 struct bpf_cpumask *prev, *curr; local
172 curr = bpf_cpumask_create();
173 if (!curr)
176 prev = bpf_kptr_xchg(&global_mask, curr);
181 curr = global_mask;
183 prev = bpf_kptr_xchg(&global_mask, curr);
/linux-master/drivers/char/agp/
H A Dgeneric.c157 * @curr: agp_memory pointer to be freed.
162 void agp_free_memory(struct agp_memory *curr) argument
166 if (curr == NULL)
169 if (curr->is_bound)
170 agp_unbind_memory(curr);
172 if (curr->type >= AGP_USER_TYPES) {
173 agp_generic_free_by_type(curr);
177 if (curr->type != 0) {
178 curr->bridge->driver->free_by_type(curr);
408 agp_bind_memory(struct agp_memory *curr, off_t pg_start) argument
448 agp_unbind_memory(struct agp_memory *curr) argument
1151 agp_generic_free_by_type(struct agp_memory *curr) argument
[all...]
/linux-master/drivers/gpu/drm/i915/
H A Di915_scatterlist.h29 unsigned int curr; member in struct:sgt_iter
37 s.max = s.curr = s.sgp->offset;
91 ((__dp) = (__iter).dma + (__iter).curr), (__iter).sgp; \
92 (((__iter).curr += (__step)) >= (__iter).max) ? \
101 for (; ((__dp) = (__iter).dma + (__iter).curr), (__iter).sgp; \
102 (((__iter).curr += (__step)) >= (__iter).max) ? \
114 pfn_to_page((__iter).pfn + ((__iter).curr >> PAGE_SHIFT))); \
115 (((__iter).curr += PAGE_SIZE) >= (__iter).max) ? \
/linux-master/include/linux/
H A Dpage_ext.h89 static inline struct page_ext *page_ext_next(struct page_ext *curr) argument
91 void *next = curr;
/linux-master/lib/
H A Dsg_split.c27 struct sg_splitter *curr = splitters; local
43 if (!curr->in_sg0) {
44 curr->in_sg0 = sg;
45 curr->skip_sg0 = skip;
48 curr->nents++;
49 curr->length_last_sg = len;
52 curr++;
57 curr->in_sg0 = sg;
58 curr->skip_sg0 = skip;
59 curr
[all...]
/linux-master/kernel/
H A Dscs.c133 unsigned long *p, prev, curr = highest, used = 0; local
144 while (used > curr) {
145 prev = cmpxchg_relaxed(&highest, curr, used);
147 if (prev == curr) {
153 curr = prev;
/linux-master/lib/dim/
H A Drdma_dim.c26 static int rdma_dim_stats_compare(struct dim_stats *curr, argument
33 if (IS_SIGNIFICANT_DIFF(curr->cpms, prev->cpms))
34 return (curr->cpms > prev->cpms) ? DIM_STATS_BETTER :
37 if (IS_SIGNIFICANT_DIFF(curr->cpe_ratio, prev->cpe_ratio))
38 return (curr->cpe_ratio > prev->cpe_ratio) ? DIM_STATS_BETTER :
/linux-master/sound/core/
H A Dpcm_param_trace.h29 TP_PROTO(struct snd_pcm_substream *substream, snd_pcm_hw_param_t type, int index, const struct snd_mask *prev, const struct snd_mask *curr),
30 TP_ARGS(substream, type, index, prev, curr),
51 memcpy(__entry->curr_bits, curr->bits, sizeof(__u32) * 8);
69 TP_PROTO(struct snd_pcm_substream *substream, snd_pcm_hw_param_t type, int index, const struct snd_interval *prev, const struct snd_interval *curr),
70 TP_ARGS(substream, type, index, prev, curr),
106 __entry->curr_min = curr->min;
107 __entry->curr_max = curr->max;
108 __entry->curr_openmin = curr->openmin;
109 __entry->curr_openmax = curr->openmax;
110 __entry->curr_integer = curr
[all...]

Completed in 448 milliseconds

1234567891011>>