Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/param.h
Show First 20 Lines • Show All 220 Lines • ▼ Show 20 Lines | |||||
#ifndef dbtob | #ifndef dbtob | ||||
#define dbtob(db) /* calculates (db * DEV_BSIZE) */ \ | #define dbtob(db) /* calculates (db * DEV_BSIZE) */ \ | ||||
((off_t)(db) << DEV_BSHIFT) | ((off_t)(db) << DEV_BSHIFT) | ||||
#endif | #endif | ||||
#define PRIMASK 0x0ff | #define PRIMASK 0x0ff | ||||
#define PCATCH 0x100 /* OR'd with pri for tsleep to check signals */ | #define PCATCH 0x100 /* OR'd with pri for tsleep to check signals */ | ||||
#define PDROP 0x200 /* OR'd with pri to stop re-entry of interlock mutex */ | #define PDROP 0x200 /* OR'd with pri to stop re-entry of interlock mutex */ | ||||
#define PUSERW 0x400 /* OR'd with pri to denote waiting on the user */ | |||||
#define NZERO 0 /* default "nice" */ | #define NZERO 0 /* default "nice" */ | ||||
#define NBBY 8 /* number of bits in a byte */ | #define NBBY 8 /* number of bits in a byte */ | ||||
#define NBPW sizeof(int) /* number of bytes per word (integer) */ | #define NBPW sizeof(int) /* number of bytes per word (integer) */ | ||||
#define CMASK 022 /* default file mask: S_IWGRP|S_IWOTH */ | #define CMASK 022 /* default file mask: S_IWGRP|S_IWOTH */ | ||||
▲ Show 20 Lines • Show All 134 Lines • Show Last 20 Lines |