/linux-master/lib/ |
H A D | list_debug.c | 22 bool __list_add_valid_or_report(struct list_head *new, struct list_head *prev, argument 25 if (CHECK_DATA_CORRUPTION(prev == NULL, 26 "list_add corruption. prev is NULL.\n") || 29 CHECK_DATA_CORRUPTION(next->prev != prev, 30 "list_add corruption. next->prev should be prev (%px), but was %px. (next=%px).\n", 31 prev, next->prev, next) || 32 CHECK_DATA_CORRUPTION(prev 47 struct list_head *prev, *next; local [all...] |
/linux-master/arch/microblaze/include/asm/ |
H A D | switch_to.h | 12 extern struct task_struct *_switch_to(struct thread_info *prev, 15 #define switch_to(prev, next, last) \ 17 (last) = _switch_to(task_thread_info(prev), \
|
/linux-master/arch/nios2/include/asm/ |
H A D | switch_to.h | 17 #define switch_to(prev, next, last) \ 26 : "r" (prev), "r" (next) \
|
/linux-master/arch/xtensa/include/asm/ |
H A D | switch_to.h | 17 #define switch_to(prev,next,last) \ 19 (last) = _switch_to(prev, next); \
|
/linux-master/arch/arm64/kvm/hyp/nvhe/ |
H A D | list_debug.c | 30 bool __list_add_valid_or_report(struct list_head *new, struct list_head *prev, argument 33 if (NVHE_CHECK_DATA_CORRUPTION(next->prev != prev) || 34 NVHE_CHECK_DATA_CORRUPTION(prev->next != next) || 35 NVHE_CHECK_DATA_CORRUPTION(new == prev || new == next)) 44 struct list_head *prev, *next; local 46 prev = entry->prev; 50 NVHE_CHECK_DATA_CORRUPTION(prev == LIST_POISON2) || 51 NVHE_CHECK_DATA_CORRUPTION(prev [all...] |
/linux-master/arch/arc/include/asm/ |
H A D | switch_to.h | 17 #define switch_to(prev, next, last) \ 19 dsp_save_restore(prev, next); \ 20 fpu_save_restore(prev, next); \ 21 last = __switch_to(prev, next);\
|
/linux-master/arch/loongarch/include/asm/ |
H A D | switch_to.h | 16 * @prev: The task previously executed. 22 * This function is used whilst scheduling to save the context of prev & load 23 * the context of next. Returns prev. 25 extern asmlinkage struct task_struct *__switch_to(struct task_struct *prev, 35 #define switch_to(prev, next, last) \ 37 lose_fpu_inatomic(1, prev); \ 38 lose_lbt_inatomic(1, prev); \ 40 (last) = __switch_to(prev, next, task_thread_info(next), \
|
/linux-master/include/asm-generic/ |
H A D | cmpxchg-local.h | 18 unsigned long flags, prev; local 28 case 1: prev = *(u8 *)ptr; 29 if (prev == (old & 0xffu)) 32 case 2: prev = *(u16 *)ptr; 33 if (prev == (old & 0xffffu)) 36 case 4: prev = *(u32 *)ptr; 37 if (prev == (old & 0xffffffffu)) 40 case 8: prev = *(u64 *)ptr; 41 if (prev == old) 48 return prev; 57 u64 prev; local [all...] |
H A D | switch_to.h | 21 #define switch_to(prev, next, last) \ 23 ((last) = __switch_to((prev), (next))); \
|
/linux-master/arch/csky/include/asm/ |
H A D | switch_to.h | 9 static inline void __switch_to_fpu(struct task_struct *prev, argument 12 save_to_user_fp(&prev->thread.user_fp); 16 static inline void __switch_to_fpu(struct task_struct *prev, argument 27 #define switch_to(prev, next, last) \ 29 struct task_struct *__prev = (prev); \ 32 ((last) = __switch_to((prev), (next))); \
|
/linux-master/arch/parisc/include/asm/ |
H A D | switch_to.h | 9 #define switch_to(prev, next, last) do { \ 10 (last) = _switch_to(prev, next); \
|
/linux-master/arch/powerpc/include/asm/ |
H A D | membarrier.h | 4 static inline void membarrier_arch_switch_mm(struct mm_struct *prev, argument 18 MEMBARRIER_STATE_GLOBAL_EXPEDITED)) || !prev))
|
H A D | cmpxchg.h | 19 unsigned int prev, prev_mask, tmp, bitoff, off; \ 33 : "=&r" (prev), "=&r" (tmp), "+m" (*(u32*)p) \ 37 return prev >> bitoff; \ 44 unsigned int prev, prev_mask, tmp, bitoff, off; \ 66 : "=&r" (prev), "=&r" (tmp), "+m" (*(u32*)p) \ 70 return prev >> bitoff; \ 89 unsigned long prev; local 95 : "=&r" (prev), "+m" (*(volatile unsigned char *)p) 99 return prev; 105 unsigned long prev; local 121 unsigned long prev; local 137 unsigned long prev; local 154 unsigned long prev; local 170 unsigned long prev; local 187 unsigned long prev; local 203 unsigned long prev; local 285 unsigned int prev; local 308 unsigned int prev; local 327 unsigned long prev; local 346 unsigned long prev; local 366 unsigned int prev; local 388 unsigned int prev; local 407 unsigned long prev; local 426 unsigned long prev; local 447 unsigned int prev; local 470 unsigned int prev; local 490 unsigned long prev; local 517 unsigned long prev; local 539 unsigned long prev; local 562 unsigned long prev; local 582 unsigned long prev; local 601 unsigned long prev; local [all...] |
/linux-master/arch/riscv/include/asm/ |
H A D | membarrier.h | 5 static inline void membarrier_arch_switch_mm(struct mm_struct *prev, argument 19 MEMBARRIER_STATE_GLOBAL_EXPEDITED)) || !prev))
|
/linux-master/arch/sh/include/asm/ |
H A D | futex-irq.h | 11 u32 prev = 0; local 15 ret = get_user(prev, uaddr); 16 if (!ret && oldval == prev) 21 *uval = prev;
|
/linux-master/arch/mips/include/asm/ |
H A D | switch_to.h | 25 * @prev: The task previously executed. 29 * This function is used whilst scheduling to save the context of prev & load 30 * the context of next. Returns prev. 32 extern asmlinkage struct task_struct *resume(struct task_struct *prev, 52 #define __mips_mt_fpaff_switch_to(prev) \ 54 struct thread_info *__prev_ti = task_thread_info(prev); \ 58 (!(KSTK_STATUS(prev) & ST0_CU1))) { \ 60 prev->cpus_mask = prev->thread.user_cpus_allowed; \ 66 #define __mips_mt_fpaff_switch_to(prev) d [all...] |
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | isppreview.c | 149 preview_config_luma_enhancement(struct isp_prev_device *prev, argument 152 struct isp_device *isp = to_isp_device(prev); 168 preview_enable_luma_enhancement(struct isp_prev_device *prev, bool enable) argument 170 struct isp_device *isp = to_isp_device(prev); 183 static void preview_enable_invalaw(struct isp_prev_device *prev, bool enable) argument 185 struct isp_device *isp = to_isp_device(prev); 198 static void preview_config_hmed(struct isp_prev_device *prev, argument 201 struct isp_device *isp = to_isp_device(prev); 213 static void preview_enable_hmed(struct isp_prev_device *prev, bool enable) argument 215 struct isp_device *isp = to_isp_device(prev); 233 preview_config_cfa(struct isp_prev_device *prev, const struct prev_params *params) argument 269 preview_config_chroma_suppression(struct isp_prev_device *prev, const struct prev_params *params) argument 285 preview_enable_chroma_suppression(struct isp_prev_device *prev, bool enable) argument 303 preview_config_whitebalance(struct isp_prev_device *prev, const struct prev_params *params) argument 342 preview_config_blkadj(struct isp_prev_device *prev, const struct prev_params *params) argument 358 preview_config_rgb_blending(struct isp_prev_device *prev, const struct prev_params *params) argument 396 preview_config_csc(struct isp_prev_device *prev, const struct prev_params *params) argument 428 preview_config_yc_range(struct isp_prev_device *prev, const struct prev_params *params) argument 446 preview_config_dcor(struct isp_prev_device *prev, const struct prev_params *params) argument 468 preview_enable_dcor(struct isp_prev_device *prev, bool enable) argument 484 preview_enable_drkframe_capture(struct isp_prev_device *prev, bool enable) argument 499 preview_enable_drkframe(struct isp_prev_device *prev, bool enable) argument 515 preview_config_noisefilter(struct isp_prev_device *prev, const struct prev_params *params) argument 535 preview_enable_noisefilter(struct isp_prev_device *prev, bool enable) argument 551 preview_config_gammacorrn(struct isp_prev_device *prev, const struct prev_params *params) argument 584 preview_enable_gammacorrn(struct isp_prev_device *prev, bool enable) argument 602 preview_config_contrast(struct isp_prev_device *prev, const struct prev_params *params) argument 616 preview_config_brightness(struct isp_prev_device *prev, const struct prev_params *params) argument 633 preview_update_contrast(struct isp_prev_device *prev, u8 contrast) argument 655 preview_update_brightness(struct isp_prev_device *prev, u8 brightness) argument 672 preview_params_lock(struct isp_prev_device *prev, u32 update, bool shadow) argument 693 preview_params_unlock(struct isp_prev_device *prev, u32 update, bool shadow) argument 716 preview_params_switch(struct isp_prev_device *prev) argument 859 preview_config(struct isp_prev_device *prev, struct omap3isp_prev_update_config *cfg) argument 925 preview_setup_hw(struct isp_prev_device *prev, u32 update, u32 active) argument 960 preview_config_ycpos(struct isp_prev_device *prev, u32 pixelcode) argument 985 preview_config_averager(struct isp_prev_device *prev, u8 average) argument 1008 preview_config_input_format(struct isp_prev_device *prev, const struct isp_format_info *info) argument 1062 preview_config_input_size(struct isp_prev_device *prev, u32 active) argument 1113 preview_config_inlineoffset(struct isp_prev_device *prev, u32 offset) argument 1127 preview_set_inaddr(struct isp_prev_device *prev, u32 addr) argument 1140 preview_config_outlineoffset(struct isp_prev_device *prev, u32 offset) argument 1155 preview_set_outaddr(struct isp_prev_device *prev, u32 addr) argument 1162 preview_adjust_bandwidth(struct isp_prev_device *prev) argument 1215 omap3isp_preview_busy(struct isp_prev_device *prev) argument 1228 struct isp_prev_device *prev = &isp->isp_prev; local 1247 preview_print_status(struct isp_prev_device *prev) argument 1297 preview_init_params(struct isp_prev_device *prev) argument 1361 preview_max_out_width(struct isp_prev_device *prev) argument 1378 preview_configure(struct isp_prev_device *prev) argument 1443 preview_enable_oneshot(struct isp_prev_device *prev) argument 1459 omap3isp_preview_isr_frame_sync(struct isp_prev_device *prev) argument 1474 preview_isr_buffer(struct isp_prev_device *prev) argument 1522 omap3isp_preview_isr(struct isp_prev_device *prev) argument 1558 struct isp_prev_device *prev = &video->isp->isp_prev; local 1583 struct isp_prev_device *prev = local 1611 struct isp_prev_device *prev = v4l2_get_subdevdata(sd); local 1630 struct isp_prev_device *prev = v4l2_get_subdevdata(sd); local 1682 __preview_get_format(struct isp_prev_device *prev, struct v4l2_subdev_state *sd_state, unsigned int pad, enum v4l2_subdev_format_whence which) argument 1693 __preview_get_crop(struct isp_prev_device *prev, struct v4l2_subdev_state *sd_state, enum v4l2_subdev_format_whence which) argument 1733 preview_try_format(struct isp_prev_device *prev, struct v4l2_subdev_state *sd_state, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) argument 1818 preview_try_crop(struct isp_prev_device *prev, const struct v4l2_mbus_framefmt *sink, struct v4l2_rect *crop) argument 1896 struct isp_prev_device *prev = v4l2_get_subdevdata(sd); local 1936 struct isp_prev_device *prev = v4l2_get_subdevdata(sd); local 1979 struct isp_prev_device *prev = v4l2_get_subdevdata(sd); local 2024 struct isp_prev_device *prev = v4l2_get_subdevdata(sd); local 2046 struct isp_prev_device *prev = v4l2_get_subdevdata(sd); local 2152 struct isp_prev_device *prev = v4l2_get_subdevdata(sd); local 2224 omap3isp_preview_unregister_entities(struct isp_prev_device *prev) argument 2231 omap3isp_preview_register_entities(struct isp_prev_device *prev, struct v4l2_device *vdev) argument 2266 preview_init_entities(struct isp_prev_device *prev) argument 2344 struct isp_prev_device *prev = &isp->isp_prev; local 2355 struct isp_prev_device *prev = &isp->isp_prev; local [all...] |
/linux-master/block/ |
H A D | badblocks.c | 577 * merged with the bad range (from the bad table) indexed by 'prev'. 579 static bool can_merge_front(struct badblocks *bb, int prev, argument 585 if (BB_ACK(p[prev]) == bad->ack && 586 (s < BB_END(p[prev]) || 587 (s == BB_END(p[prev]) && (BB_LEN(p[prev]) < BB_MAX_LEN)))) 594 * (from bad table) indexed by 'prev'. The return value is sectors 597 static int front_merge(struct badblocks *bb, int prev, struct badblocks_context *bad) argument 604 WARN_ON(s > BB_END(p[prev])); 606 if (s < BB_END(p[prev])) { 633 can_combine_front(struct badblocks *bb, int prev, struct badblocks_context *bad) argument 654 front_combine(struct badblocks *bb, int prev) argument 718 can_front_overwrite(struct badblocks *bb, int prev, struct badblocks_context *bad, int *extra) argument 761 front_overwrite(struct badblocks *bb, int prev, struct badblocks_context *bad, int extra) argument 865 int prev = -1, hint = -1; local 1073 front_clear(struct badblocks *bb, int prev, struct badblocks_context *bad, int *deleted) argument 1116 front_splitting_clear(struct badblocks *bb, int prev, struct badblocks_context *bad) argument 1137 int prev = -1, hint = -1; local 1278 int prev = -1, hint = -1, set = 0; local [all...] |
/linux-master/tools/usb/usbip/libsrc/ |
H A D | list.h | 14 * sometimes we already know the next/prev entries and we can 20 struct list_head *next, *prev; member in struct:list_head 31 list->prev = list; 38 * the prev/next entries already! 41 struct list_head *prev, 44 next->prev = new; 46 new->prev = prev; 47 prev->next = new; 64 * Delete a list entry by making the prev/nex 40 __list_add(struct list_head *new, struct list_head *prev, struct list_head *next) argument 70 __list_del(struct list_head * prev, struct list_head * next) argument [all...] |
/linux-master/tools/firewire/ |
H A D | list.h | 3 struct list *next, *prev; member in struct:list 10 list->prev = list; 22 new_link->prev = link->prev; 24 new_link->prev->next = new_link; 25 new_link->next->prev = new_link; 43 link->prev->next = link->next; 44 link->next->prev = link->prev; 54 list_entry((list)->prev, typ [all...] |
/linux-master/arch/openrisc/include/asm/ |
H A D | mmu_context.h | 24 extern void switch_mm(struct mm_struct *prev, struct mm_struct *next, 27 #define activate_mm(prev, next) switch_mm((prev), (next), NULL)
|
/linux-master/arch/x86/kernel/ |
H A D | process.h | 13 static inline void switch_to_extra(struct task_struct *prev, argument 17 unsigned long prev_tif = read_task_thread_flags(prev); 38 __switch_to_xtra(prev, next);
|
/linux-master/arch/arm/include/asm/ |
H A D | switch_to.h | 21 * switch_to(prev, next) should switch from task `prev' to `next' 22 * `prev' will never be the same as `next'. schedule() itself 27 #define switch_to(prev,next,last) \ 32 last = __switch_to(prev,task_thread_info(prev), task_thread_info(next)); \
|
/linux-master/include/linux/ |
H A D | user-return-notifier.h | 19 static inline void propagate_user_return_notify(struct task_struct *prev, argument 22 if (test_tsk_thread_flag(prev, TIF_USER_RETURN_NOTIFY)) { 23 clear_tsk_thread_flag(prev, TIF_USER_RETURN_NOTIFY); 39 static inline void propagate_user_return_notify(struct task_struct *prev, argument
|
/linux-master/arch/s390/include/asm/ |
H A D | cmpxchg.h | 93 unsigned int prev, shift, mask; local 101 " l %[prev],%[address]\n" 102 " nr %[prev],%[mask]\n" 104 " or %[new],%[prev]\n" 105 " or %[prev],%[tmp]\n" 106 "0: lr %[tmp],%[prev]\n" 107 " cs %[prev],%[new],%[address]\n" 109 " xr %[tmp],%[prev]\n" 114 : [prev] "=&d" (prev), 123 unsigned int prev, shift, mask; local 153 unsigned int prev = old; local 164 unsigned long prev = old; local [all...] |