• Home
  • Raw
  • Download

Lines Matching refs:val

831 	unsigned long val = (unsigned long)list;  in rb_list_head()  local
833 return (struct list_head *)(val & ~RB_FLAG_MASK); in rb_list_head()
848 unsigned long val; in rb_is_head_page() local
850 val = (unsigned long)list->next; in rb_is_head_page()
852 if ((val & ~RB_FLAG_MASK) != (unsigned long)&page->list) in rb_is_head_page()
855 return val & RB_FLAG_MASK; in rb_is_head_page()
930 unsigned long val = (unsigned long)&head->list; in rb_head_page_set() local
935 val &= ~RB_FLAG_MASK; in rb_head_page_set()
938 val | old_flag, val | new_flag); in rb_head_page_set()
941 if ((ret & ~RB_FLAG_MASK) != val) in rb_head_page_set()
1024 unsigned long val; in rb_head_page_replace() local
1027 val = *ptr & ~RB_FLAG_MASK; in rb_head_page_replace()
1028 val |= RB_PAGE_HEAD; in rb_head_page_replace()
1030 ret = cmpxchg(ptr, val, (unsigned long)&new->list); in rb_head_page_replace()
1032 return ret == val; in rb_head_page_replace()
1074 unsigned long val = old_write & ~RB_WRITE_MASK; in rb_tail_page_update() local
1087 (void)local_cmpxchg(&next_page->write, old_write, val); in rb_tail_page_update()
1110 unsigned long val = (unsigned long)bpage; in rb_check_bpage() local
1112 if (RB_WARN_ON(cpu_buffer, val & RB_FLAG_MASK)) in rb_check_bpage()
1863 void ring_buffer_change_overwrite(struct ring_buffer *buffer, int val) in ring_buffer_change_overwrite() argument
1866 if (val) in ring_buffer_change_overwrite()
2692 unsigned int val = cpu_buffer->current_context; in trace_recursive_lock() local
2705 if (unlikely(val & (1 << bit))) in trace_recursive_lock()
2708 val |= (1 << bit); in trace_recursive_lock()
2709 cpu_buffer->current_context = val; in trace_recursive_lock()