MCPcopy Create free account
hub / github.com/F-Stack/f-stack / task_km_flags

Function task_km_flags

freebsd/contrib/openzfs/module/os/linux/spl/spl-taskq.c:75–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73static uint_t taskq_tsd;
74
75static int
76task_km_flags(uint_t flags)
77{
78 if (flags & TQ_NOSLEEP)
79 return (KM_NOSLEEP);
80
81 if (flags & TQ_PUSHPAGE)
82 return (KM_PUSHPAGE);
83
84 return (KM_SLEEP);
85}
86
87/*
88 * taskq_find_by_name - Find the largest instance number of a named taskq.

Callers 1

task_allocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected