Searched refs:priority (Results 26 - 50 of 232) sorted by relevance

12345678910

/freebsd-9.3-release/release/picobsd/mfs_tree/etc/
H A Dlogin.conf34 :priority=0:\
56 :priority=0:\
92 :priority=0:\
/freebsd-9.3-release/sys/sys/
H A Deventhandler.h115 #define EVENTHANDLER_DEFINE(name, func, arg, priority) \
120 priority); \
134 #define EVENTHANDLER_REGISTER(name, func, arg, priority) \
135 eventhandler_register(NULL, #name, func, arg, priority)
147 const char *name, void *func, void *arg, int priority);
157 const char *name, void *func, void *arg, int priority,
165 /* Generic priority levels */
H A Ddevicestat.h175 devstat_priority priority; /* Controls list pos. */ member in struct:devstat
192 devstat_priority priority);
H A Dpriority.h38 * Process priority specifications.
80 #define PRI_MIN (0) /* Highest priority. */
81 #define PRI_MAX (255) /* Lowest priority. */
122 #define PRI_USER -2 /* Change to current user priority. */
123 #define PRI_UNCHANGED -1 /* Do not change priority. */
126 struct priority { struct
128 u_char pri_level; /* Normal priority level. */
130 u_char pri_user; /* User priority based on p_cpu and p_nice. */
/freebsd-9.3-release/sys/cam/
H A Dcam_queue.c195 * and a new priority for the element at index, change the priority of
201 if (new_priority > queue->queue_array[index]->priority) {
202 queue->queue_array[index]->priority = new_priority;
206 queue->queue_array[index]->priority = new_priority;
329 if (queue_array[i]->priority == queue_array[j]->priority)
333 return ( queue_array[i]->priority
334 - queue_array[j]->priority );
H A Dcam_queue.h40 * This structure implements a heap based priority queue. The queue
42 * structure holding the priority information used to sort the objects.
143 /* Get the first element priority. */
145 ((camq)->queue_array[CAMQ_HEAD]->priority) : 0)
148 * camq_change_priority: Raise or lower the priority of an entry
202 * If resize fail, push CCB with lowest priority out to the TAILQ.
241 if (bccb->pinfo.priority > cccb->pinfo.priority ||
242 (bccb->pinfo.priority == cccb->pinfo.priority
[all...]
H A Dcam_periph.h153 int cam_periph_hold(struct cam_periph *periph, int priority);
161 u_int32_t priority);
207 cam_periph_sleep(struct cam_periph *periph, void *chan, int priority, argument
210 return (msleep(chan, periph->sim->mtx, priority, wmesg, timo));
/freebsd-9.3-release/contrib/bind9/lib/dns/rdata/generic/
H A Duri_256.c68 unsigned short priority, weight; local
81 priority = uint16_fromregion(&region);
83 sprintf(buf, "%u ", priority);
196 RETERR(uint16_tobuffer(uri->priority, target));
241 uri->priority = uint16_fromregion(&sr);
/freebsd-9.3-release/sys/dev/hpt27xx/
H A Dos_bsd.h239 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument
241 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo);
244 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument
248 asleep(ident, priority, wmesg, timo);
250 retval = await(priority, timo);
/freebsd-9.3-release/sys/dev/hptnr/
H A Dos_bsd.h241 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument
243 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo);
246 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument
250 asleep(ident, priority, wmesg, timo);
252 retval = await(priority, timo);
/freebsd-9.3-release/sys/dev/hptrr/
H A Dos_bsd.h239 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument
241 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo);
244 static __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) argument
248 asleep(ident, priority, wmesg, timo);
250 retval = await(priority, timo);
/freebsd-9.3-release/contrib/gcc/
H A Dgthr-posix.h297 /* Set the current thread's priority. */
299 __gthread_objc_thread_set_priority (int priority) argument
320 if (priority > priority_max)
321 priority = priority_max;
322 else if (priority < priority_min)
323 priority = priority_min;
324 params.sched_priority = priority;
340 /* Return the current thread's priority. */
H A Dgthr-posix95.h257 /* Set the current thread's priority. */
259 __gthread_objc_thread_set_priority (int priority) argument
280 if (priority > priority_max)
281 priority = priority_max;
282 else if (priority < priority_min)
283 priority = priority_min;
284 params.sched_priority = priority;
300 /* Return the current thread's priority. */
H A Dgthr-single.h78 /* Set the current thread's priority. */
80 __gthread_objc_thread_set_priority (int UNUSED(priority))
86 /* Return the current thread's priority. */
/freebsd-9.3-release/sbin/ggate/shared/
H A Dggate.c65 g_gate_vlog(int priority, const char *message, va_list ap) argument
71 switch (priority) {
95 if (priority != LOG_DEBUG)
96 vsyslog(priority, message, ap);
101 g_gate_log(int priority, const char *message, ...) argument
106 g_gate_vlog(priority, message, ap);
/freebsd-9.3-release/etc/
H A Dlogin.conf45 :priority=0:\
110 # :priority=0:\
136 # :priority=0:\
190 # :priority=0:\
/freebsd-9.3-release/sbin/pfctl/missing/altq/
H A Daltq_cbq.h93 int priority; member in struct:_cbq_class_stats_
124 u_int priority; member in struct:cbq_class_spec
/freebsd-9.3-release/sys/contrib/altq/altq/
H A Daltq_cbq.h82 int priority; member in struct:_cbq_class_stats_
113 u_int priority; member in struct:cbq_class_spec
/freebsd-9.3-release/sys/net/
H A Dvnet.h345 #define VNET_GLOBAL_EVENTHANDLER_REGISTER_TAG(tag, name, func, arg, priority) \
349 arg, priority, \
353 #define VNET_GLOBAL_EVENTHANDLER_REGISTER(name, func, arg, priority) \
357 arg, priority, \
439 #define VNET_GLOBAL_EVENTHANDLER_REGISTER_TAG(tag, name, func, arg, priority) \
440 (tag) = eventhandler_register(NULL, #name, func, arg, priority)
441 #define VNET_GLOBAL_EVENTHANDLER_REGISTER(name, func, arg, priority) \
442 eventhandler_register(NULL, #name, func, arg, priority)
/freebsd-9.3-release/sys/cam/scsi/
H A Dscsi_target.c62 int priority; member in struct:targ_cmd_descr
150 int priority);
569 int func_code, priority; local
584 priority = fuword32(&user_ccb->ccb_h.pinfo.priority);
585 if (priority == CAM_PRIORITY_NONE) {
595 ccb = targgetccb(softc, func_code, priority);
615 descr->priority = priority;
619 xpt_schedule(softc->periph, priority);
973 targgetccb(struct targ_softc *softc, xpt_opcode type, int priority) argument
[all...]
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/
H A Dconfig_ssid.h52 * pnext - Next network in per-priority list
55 * priority class. The heads of these list are stored in the pssid
71 * priority - Priority group
73 * By default, all networks will get same priority group (0). If some
76 * selecting a BSS. The priority groups will be iterated in decreasing
77 * priority (i.e., the larger the priority value, the sooner the
78 * network is matched against the scan results). Within each priority
83 * not using this priority to select the order for scanning. Instead,
87 int priority; member in struct:wpa_ssid
[all...]
/freebsd-9.3-release/libexec/tftpd/
H A Dtftp-utils.h109 void tftp_log(int priority, const char *message, ...) __printflike(2, 3);
/freebsd-9.3-release/share/examples/scsi_target/
H A Dscsi_target.h113 extern void send_ccb(union ccb *ccb, int priority);
/freebsd-9.3-release/sys/dev/usb/
H A Dusb_process.h31 #include <sys/priority.h>
/freebsd-9.3-release/sys/kern/
H A Dsubr_eventhandler.c68 * Insertion is O(n) due to the priority scan, but optimises to O(1)
121 ("%s: handler for %s registered with dead priority", __func__, name));
142 void *func, void *arg, int priority)
151 eg->ee.ee_priority = priority;
166 void *func, void *arg, int priority, vimage_iterator_func_t iterfunc)
177 eg->ee.ee_priority = priority;
141 eventhandler_register(struct eventhandler_list *list, const char *name, void *func, void *arg, int priority) argument
165 vimage_eventhandler_register(struct eventhandler_list *list, const char *name, void *func, void *arg, int priority, vimage_iterator_func_t iterfunc) argument

Completed in 176 milliseconds

12345678910