internal.h (f1615bbe9be4def59c3b3eaddb60722efeed16c2) | internal.h (743162013d40ca612b4cb53d3a200dff2d9ab26e) |
---|---|
1/* Internal definitions for FS-Cache 2 * 3 * Copyright (C) 2004-2007 Red Hat, Inc. All Rights Reserved. 4 * Written by David Howells (dhowells@redhat.com) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 83 unchanged lines hidden (view full) --- 92extern struct workqueue_struct *fscache_op_wq; 93DECLARE_PER_CPU(wait_queue_head_t, fscache_object_cong_wait); 94 95static inline bool fscache_object_congested(void) 96{ 97 return workqueue_congested(WORK_CPU_UNBOUND, fscache_object_wq); 98} 99 | 1/* Internal definitions for FS-Cache 2 * 3 * Copyright (C) 2004-2007 Red Hat, Inc. All Rights Reserved. 4 * Written by David Howells (dhowells@redhat.com) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 83 unchanged lines hidden (view full) --- 92extern struct workqueue_struct *fscache_op_wq; 93DECLARE_PER_CPU(wait_queue_head_t, fscache_object_cong_wait); 94 95static inline bool fscache_object_congested(void) 96{ 97 return workqueue_congested(WORK_CPU_UNBOUND, fscache_object_wq); 98} 99 |
100extern int fscache_wait_bit(void *); 101extern int fscache_wait_bit_interruptible(void *); | |
102extern int fscache_wait_atomic_t(atomic_t *); 103 104/* 105 * object.c 106 */ 107extern void fscache_enqueue_object(struct fscache_object *); 108 109/* --- 357 unchanged lines hidden --- | 100extern int fscache_wait_atomic_t(atomic_t *); 101 102/* 103 * object.c 104 */ 105extern void fscache_enqueue_object(struct fscache_object *); 106 107/* --- 357 unchanged lines hidden --- |