/lib/ |
D | rwsem-spinlock.c | 15 unsigned int flags; member 57 if (waiter->flags & RWSEM_WAITING_FOR_WRITE) in __rwsem_do_wake() 67 if (waiter->flags & RWSEM_WAITING_FOR_WRITE) { in __rwsem_do_wake() 82 while (waiter->flags & RWSEM_WAITING_FOR_READ) { in __rwsem_do_wake() 147 waiter.flags = RWSEM_WAITING_FOR_READ; in __down_read() 173 unsigned long flags; in __down_read_trylock() local 177 spin_lock_irqsave(&sem->wait_lock, flags); in __down_read_trylock() 185 spin_unlock_irqrestore(&sem->wait_lock, flags); in __down_read_trylock() 213 waiter.flags = RWSEM_WAITING_FOR_WRITE; in __down_write_nested() 244 unsigned long flags; in __down_write_trylock() local [all …]
|
D | debugobjects.c | 73 unsigned long flags; in fill_pool() local 87 spin_lock_irqsave(&pool_lock, flags); in fill_pool() 90 spin_unlock_irqrestore(&pool_lock, flags); in fill_pool() 154 unsigned long flags; in free_object() local 157 spin_lock_irqsave(&pool_lock, flags); in free_object() 161 spin_unlock_irqrestore(&pool_lock, flags); in free_object() 163 spin_lock_irqsave(&pool_lock, flags); in free_object() 165 spin_unlock_irqrestore(&pool_lock, flags); in free_object() 180 unsigned long flags; in debug_objects_oom() local 186 spin_lock_irqsave(&db->lock, flags); in debug_objects_oom() [all …]
|
D | vsprintf.c | 515 static char *string(char *buf, char *end, char *s, int field_width, int precision, int flags) in string() argument 524 if (!(flags & LEFT)) { in string() 544 …tic char *symbol_string(char *buf, char *end, void *ptr, int field_width, int precision, int flags) in symbol_string() argument 550 return string(buf, end, sym, field_width, precision, flags); in symbol_string() 553 flags |= SPECIAL | SMALL | ZEROPAD; in symbol_string() 554 return number(buf, end, value, 16, field_width, precision, flags); in symbol_string() 558 …ource_string(char *buf, char *end, struct resource *res, int field_width, int precision, int flags) in resource_string() argument 573 if (res->flags & IORESOURCE_IO) in resource_string() 575 else if (res->flags & IORESOURCE_MEM) in resource_string() 585 return string(buf, end, sym, field_width, precision, flags); in resource_string() [all …]
|
D | rwsem.c | 34 unsigned int flags; member 75 if (!(waiter->flags & RWSEM_WAITING_FOR_WRITE)) in __rwsem_do_wake() 93 if (waiter->flags & RWSEM_WAITING_FOR_WRITE) in __rwsem_do_wake() 112 } while (waiter->flags & RWSEM_WAITING_FOR_READ); in __rwsem_do_wake() 195 waiter.flags = RWSEM_WAITING_FOR_READ; in rwsem_down_read_failed() 209 waiter.flags = RWSEM_WAITING_FOR_WRITE; in rwsem_down_write_failed() 221 unsigned long flags; in rwsem_wake() local 223 spin_lock_irqsave(&sem->wait_lock, flags); in rwsem_wake() 229 spin_unlock_irqrestore(&sem->wait_lock, flags); in rwsem_wake() 241 unsigned long flags; in rwsem_downgrade_wake() local [all …]
|
D | ratelimit.c | 28 unsigned long flags; in __ratelimit() local 33 spin_lock_irqsave(&ratelimit_lock, flags); in __ratelimit() 49 spin_unlock_irqrestore(&ratelimit_lock, flags); in __ratelimit() 54 spin_unlock_irqrestore(&ratelimit_lock, flags); in __ratelimit()
|
D | ts_kmp.c | 51 const int icase = conf->flags & TS_IGNORECASE; in kmp_find() 79 unsigned int *prefix_tbl, int flags) in compute_prefix_tbl() argument 82 const u8 icase = flags & TS_IGNORECASE; in compute_prefix_tbl() 96 gfp_t gfp_mask, int flags) in kmp_init() argument 108 conf->flags = flags; in kmp_init() 111 compute_prefix_tbl(pattern, len, kmp->prefix_tbl, flags); in kmp_init() 113 if (flags & TS_IGNORECASE) in kmp_init()
|
D | ts_bm.c | 68 const u8 icase = conf->flags & TS_IGNORECASE; in bm_find() 118 static void compute_prefix_tbl(struct ts_bm *bm, int flags) in compute_prefix_tbl() argument 126 if (flags & TS_IGNORECASE) in compute_prefix_tbl() 146 gfp_t gfp_mask, int flags) in bm_init() argument 158 conf->flags = flags; in bm_init() 162 if (flags & TS_IGNORECASE) in bm_init() 167 compute_prefix_tbl(bm, flags); in bm_init()
|
D | genalloc.c | 115 unsigned long addr, flags; in gen_pool_alloc() local 131 spin_lock_irqsave(&chunk->lock, flags); in gen_pool_alloc() 150 spin_unlock_irqrestore(&chunk->lock, flags); in gen_pool_alloc() 154 spin_unlock_irqrestore(&chunk->lock, flags); in gen_pool_alloc() 173 unsigned long flags; in gen_pool_free() local 185 spin_lock_irqsave(&chunk->lock, flags); in gen_pool_free() 189 spin_unlock_irqrestore(&chunk->lock, flags); in gen_pool_free()
|
D | proportions.c | 110 unsigned long flags; in prop_change_shift() local 124 local_irq_save(flags); in prop_change_shift() 137 local_irq_restore(flags); in prop_change_shift() 217 unsigned long flags; in prop_norm_percpu() local 229 spin_lock_irqsave(&pl->lock, flags); in prop_norm_percpu() 250 spin_unlock_irqrestore(&pl->lock, flags); in prop_norm_percpu() 347 unsigned long flags; in prop_norm_single() local 359 spin_lock_irqsave(&pl->lock, flags); in prop_norm_single() 370 spin_unlock_irqrestore(&pl->lock, flags); in prop_norm_single()
|
D | show_mem.c | 22 unsigned long i, flags; in show_mem() local 24 pgdat_resize_lock(pgdat, &flags); in show_mem() 49 pgdat_resize_unlock(pgdat, &flags); in show_mem()
|
D | cpumask.c | 93 bool alloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, int node) in alloc_cpumask_var_node() argument 96 *mask = kmalloc_node(cpumask_size(), flags, node); in alloc_cpumask_var_node() 132 bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in alloc_cpumask_var() argument 134 return alloc_cpumask_var_node(mask, flags, numa_node_id()); in alloc_cpumask_var()
|
D | idr.c | 43 unsigned long flags; in get_from_free_list() local 45 spin_lock_irqsave(&idp->lock, flags); in get_from_free_list() 51 spin_unlock_irqrestore(&idp->lock, flags); in get_from_free_list() 78 unsigned long flags; in move_to_free_list() local 83 spin_lock_irqsave(&idp->lock, flags); in move_to_free_list() 85 spin_unlock_irqrestore(&idp->lock, flags); in move_to_free_list() 205 unsigned long flags; in idr_get_empty_slot() local 236 spin_lock_irqsave(&idp->lock, flags); in idr_get_empty_slot() 243 spin_unlock_irqrestore(&idp->lock, flags); in idr_get_empty_slot() 660 unsigned long flags; in free_bitmap() local [all …]
|
D | swiotlb.c | 341 unsigned long flags; in swiotlb_bounce() local 346 local_irq_save(flags); in swiotlb_bounce() 354 local_irq_restore(flags); in swiotlb_bounce() 375 unsigned long flags; in map_single() local 412 spin_lock_irqsave(&io_tlb_lock, flags); in map_single() 457 spin_unlock_irqrestore(&io_tlb_lock, flags); in map_single() 460 spin_unlock_irqrestore(&io_tlb_lock, flags); in map_single() 481 unsigned long flags; in unmap_single() local 498 spin_lock_irqsave(&io_tlb_lock, flags); in unmap_single() 515 spin_unlock_irqrestore(&io_tlb_lock, flags); in unmap_single() [all …]
|
D | percpu_counter.c | 127 unsigned long flags; in percpu_counter_hotcpu_callback() local 129 spin_lock_irqsave(&fbc->lock, flags); in percpu_counter_hotcpu_callback() 133 spin_unlock_irqrestore(&fbc->lock, flags); in percpu_counter_hotcpu_callback()
|
D | textsearch.c | 260 unsigned int len, gfp_t gfp_mask, int flags) in textsearch_prepare() argument 276 if (ops == NULL && flags & TS_AUTOLOAD) { in textsearch_prepare() 285 conf = ops->init(pattern, len, gfp_mask, flags); in textsearch_prepare()
|
D | scatterlist.c | 310 unsigned int nents, unsigned int flags) in sg_miter_start() argument 317 miter->__flags = flags; in sg_miter_start() 425 unsigned long flags; in sg_copy_buffer() local 429 local_irq_save(flags); in sg_copy_buffer() 448 local_irq_restore(flags); in sg_copy_buffer()
|
D | iomap.c | 260 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap() local 266 if (flags & IORESOURCE_IO) in pci_iomap() 268 if (flags & IORESOURCE_MEM) { in pci_iomap() 269 if (flags & IORESOURCE_CACHEABLE) in pci_iomap()
|
D | inflate.c | 1192 uch flags; in gunzip() local 1215 flags = (uch)get_byte(); in gunzip() 1216 if ((flags & ENCRYPTED) != 0) { in gunzip() 1220 if ((flags & CONTINUATION) != 0) { in gunzip() 1224 if ((flags & RESERVED) != 0) { in gunzip() 1236 if ((flags & EXTRA_FIELD) != 0) { in gunzip() 1243 if ((flags & ORIG_NAME) != 0) { in gunzip() 1249 if ((flags & COMMENT) != 0) { in gunzip()
|
D | libcrc32c.c | 51 desc.shash.flags = 0; in crc32c()
|
D | ts_fsm.c | 260 gfp_t gfp_mask, int flags) in fsm_init() argument 272 if (flags & TS_IGNORECASE) in fsm_init() 290 conf->flags = flags; in fsm_init()
|
D | bug.c | 154 warning = (bug->flags & BUGFLAG_WARNING) != 0; in report_bug()
|
D | dynamic_printk.c | 143 char *flags, int hash, int hash2) in register_dynamic_debug_module() argument
|
D | Kconfig.debug | 868 by a set of flags that can be enabled. The first flag is always the
|
/lib/zlib_inflate/ |
D | inflate.h | 74 int flags; /* gzip header method and flags (0 if zlib) */ member
|