zfs_context.h (195515) | zfs_context.h (208047) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 320 unchanged lines hidden (view full) --- 329#define TASKQ_PREPOPULATE 0x0001 330#define TASKQ_CPR_SAFE 0x0002 /* Use CPR safe protocol */ 331#define TASKQ_DYNAMIC 0x0004 /* Use dynamic thread scheduling */ 332 333#define TQ_SLEEP KM_SLEEP /* Can block for memory */ 334#define TQ_NOSLEEP KM_NOSLEEP /* cannot block for memory; may fail */ 335#define TQ_NOQUEUE 0x02 /* Do not enqueue if can't dispatch */ 336 | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 320 unchanged lines hidden (view full) --- 329#define TASKQ_PREPOPULATE 0x0001 330#define TASKQ_CPR_SAFE 0x0002 /* Use CPR safe protocol */ 331#define TASKQ_DYNAMIC 0x0004 /* Use dynamic thread scheduling */ 332 333#define TQ_SLEEP KM_SLEEP /* Can block for memory */ 334#define TQ_NOSLEEP KM_NOSLEEP /* cannot block for memory; may fail */ 335#define TQ_NOQUEUE 0x02 /* Do not enqueue if can't dispatch */ 336 |
337extern taskq_t *system_taskq; 338 |
|
337extern taskq_t *taskq_create(const char *, int, pri_t, int, int, uint_t); 338extern taskqid_t taskq_dispatch(taskq_t *, task_func_t, void *, uint_t); 339extern void taskq_destroy(taskq_t *); 340extern void taskq_wait(taskq_t *); 341extern int taskq_member(taskq_t *, void *); | 339extern taskq_t *taskq_create(const char *, int, pri_t, int, int, uint_t); 340extern taskqid_t taskq_dispatch(taskq_t *, task_func_t, void *, uint_t); 341extern void taskq_destroy(taskq_t *); 342extern void taskq_wait(taskq_t *); 343extern int taskq_member(taskq_t *, void *); |
344extern void system_taskq_init(void); |
|
342 343#define XVA_MAPSIZE 3 344#define XVA_MAGIC 0x78766174 345 346/* 347 * vnodes 348 */ 349typedef struct vnode { --- 265 unchanged lines hidden --- | 345 346#define XVA_MAPSIZE 3 347#define XVA_MAGIC 0x78766174 348 349/* 350 * vnodes 351 */ 352typedef struct vnode { --- 265 unchanged lines hidden --- |