Searched refs:cond (Results 51 - 75 of 267) sorted by relevance

1234567891011

/linux-master/tools/testing/scatterlist/
H A Dmain.c30 static void fail(struct test *test, struct sg_table *st, const char *cond) argument
34 fprintf(stderr, "Failed on '%s'!\n\n", cond);
48 #define VALIDATE(cond, st, test) \
49 if (!(cond)) \
50 fail((test), (st), #cond);
/linux-master/arch/powerpc/net/
H A Dbpf_jit.h39 /* "cond" here covers BO:BI fields. */
40 #define PPC_BCC_SHORT(cond, dest) \
47 EMIT(PPC_INST_BRANCH_COND | (((cond) & 0x3ff) << 16) | (offset & 0xfffc)); \
93 #define PPC_BCC(cond, dest) do { \
95 PPC_BCC_SHORT(cond, dest); \
99 PPC_BCC_SHORT(cond ^ COND_CMP_TRUE, CTX_NIA(ctx) + 2*4); \
/linux-master/tools/testing/selftests/nolibc/
H A Dnolibc-test.c176 #define EXPECT_ZR(cond, expr) \
177 do { if (!(cond)) result(llen, SKIPPED); else ret += expect_zr(expr, llen); } while (0)
190 #define EXPECT_NZ(cond, expr, val) \
191 do { if (!(cond)) result(llen, SKIPPED); else ret += expect_nz(expr, llen; } while (0)
204 #define EXPECT_EQ(cond, expr, val) \
205 do { if (!(cond)) result(llen, SKIPPED); else ret += expect_eq(expr, llen, val); } while (0)
218 #define EXPECT_NE(cond, expr, val) \
219 do { if (!(cond)) result(llen, SKIPPED); else ret += expect_ne(expr, llen, val); } while (0)
232 #define EXPECT_GE(cond, expr, val) \
233 do { if (!(cond)) resul
[all...]
/linux-master/fs/unicode/
H A Dutf8-selftest.c23 #define _test(cond, func, line, fmt, ...) do { \
25 if (!cond) { \
28 func, line, #cond, (fmt?":":".")); \
33 #define test_f(cond, fmt, ...) _test(cond, __func__, __LINE__, fmt, ##__VA_ARGS__)
34 #define test(cond) _test(cond, __func__, __LINE__, "")
/linux-master/arch/nios2/boot/compressed/
H A Dmisc.c55 # define Assert(cond, msg) {if (!(cond)) error(msg); }
62 # define Assert(cond, msg)
/linux-master/fs/ocfs2/cluster/
H A Dmasklog.h183 #define mlog_bug_on_msg(cond, fmt, args...) do { \
184 if (cond) { \
185 mlog(ML_ERROR, "bug expression: " #cond "\n"); \
/linux-master/drivers/gpu/drm/i915/
H A Di915_gem.h91 #define __GEM_BUG(cond) BUG()
93 #define __GEM_BUG(cond) \
94 WARN(1, "%s:%d GEM_BUG_ON(%s)\n", __func__, __LINE__, __stringify(cond))
/linux-master/arch/alpha/boot/
H A Dmisc.c65 # define Assert(cond,msg) {if(!(cond)) error(msg);}
72 # define Assert(cond,msg)
/linux-master/security/apparmor/include/
H A Dfile.h81 aa_state_t state, struct path_cond *cond);
83 const char *name, struct path_cond *cond,
88 int flags, u32 request, struct path_cond *cond);
H A Dperms.h74 u32 cond; /* set only when ~allow and ~deny */ member in struct:aa_perms
116 accum->cond |= addend->cond & ~addend->allow & ~addend->deny;
143 accum->cond |= addend->cond & ~accum->allow & ~accum->deny;
/linux-master/arch/arm/lib/
H A Dcopy_from_user.S76 .macro ldr1b ptr reg cond=al abort
77 ldrusr \reg, \ptr, 1, \cond, abort=\abort
90 .macro str1b ptr reg cond=al abort
91 strb\cond \reg, [\ptr], #1
H A Dcopy_to_user.S48 .macro ldr1b ptr reg cond=al abort
49 ldrb\cond \reg, [\ptr], #1
89 .macro str1b ptr reg cond=al abort
90 strusr \reg, \ptr, 1, \cond, abort=\abort
/linux-master/drivers/gpu/drm/msm/adreno/
H A Da6xx_gmu.h140 #define gmu_poll_timeout(gmu, addr, val, cond, interval, timeout) \
141 readl_poll_timeout((gmu)->mmio + ((addr) << 2), val, cond, \
154 #define gmu_poll_timeout_rscc(gmu, addr, val, cond, interval, timeout) \
155 readl_poll_timeout((gmu)->rscc + ((addr) << 2), val, cond, \
/linux-master/drivers/md/dm-vdo/indexer/
H A Dindex-session.h69 struct cond_var cond; member in struct:index_load_context
/linux-master/drivers/scsi/csiostor/
H A Dcsio_defs.h127 #define CSIO_ASSERT(cond) BUG_ON(!(cond))
/linux-master/include/net/
H A Dnet_debug.h130 /* if @cond then downgrade to debug, else print at @level */
131 #define netif_cond_dbg(priv, type, netdev, cond, level, fmt, args...) \
133 if (cond) \
152 #define DEBUG_NET_WARN_ON_ONCE(cond) (void)WARN_ON_ONCE(cond)
154 #define DEBUG_NET_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond)
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Drunl.h120 #define nvkm_runl_find_engn(engn,runl,cond) nvkm_list_find(engn, &(runl)->engns, head, (cond))
124 #define nvkm_runl_foreach_cond(runl,fifo,cond) nvkm_list_foreach(runl, &(fifo)->runls, head, (cond))
126 #define nvkm_runl_foreach_engn_cond(engn,runl,cond) \
127 nvkm_list_foreach(engn, &(runl)->engns, head, (cond))
/linux-master/arch/parisc/math-emu/
H A Dfloat.h452 * |excepttype | r1 | r2/ext | operation |parm |n| t/cond |
522 #define Unordered(cond) Unorderedbit(cond)
523 #define Equal(cond) Equalbit(cond)
524 #define Lessthan(cond) Lessthanbit(cond)
525 #define Greaterthan(cond) Greaterthanbit(cond)
526 #define Exception(cond) Exceptionbi
[all...]
/linux-master/tools/perf/pmu-events/
H A Dmetric.py212 cond: Union[int, float, Expression],
215 self.cond = _Constify(cond)
220 cond_str = self.cond.ToPerfJson()
225 return (f'Select({self.true_val.ToPython()}, {self.cond.ToPython()}, '
229 cond = self.cond.Simplify()
232 if isinstance(cond, Constant):
233 return false_val if cond.value == '0' else true_val
238 return Select(true_val, cond, false_va
[all...]
/linux-master/security/tomoyo/
H A Dgc.c161 tomoyo_put_condition(acl->cond);
279 struct tomoyo_condition *cond = container_of(element, typeof(*cond), local
281 const u16 condc = cond->condc;
282 const u16 numbers_count = cond->numbers_count;
283 const u16 names_count = cond->names_count;
284 const u16 argc = cond->argc;
285 const u16 envc = cond->envc;
288 = (const struct tomoyo_condition_element *) (cond + 1);
/linux-master/include/trace/
H A Ddefine_trace.h31 #define TRACE_EVENT_CONDITION(name, proto, args, cond, tstruct, assign, print) \
45 #define TRACE_EVENT_FN_COND(name, proto, args, cond, tstruct, \
68 #define DEFINE_EVENT_CONDITION(template, name, proto, args, cond) \
/linux-master/drivers/block/null_blk/
H A Dnull_blk.h46 enum blk_zone_cond cond; member in struct:nullb_zone
142 size_t count, enum blk_zone_cond cond);
168 enum blk_zone_cond cond)
166 zone_cond_store(struct nullb_device *dev, const char *page, size_t count, enum blk_zone_cond cond) argument
/linux-master/include/rdma/
H A Duverbs_types.h157 #define UVERBS_BUILD_BUG_ON(cond) (sizeof(char[1 - 2 * !!(cond)]) - \
/linux-master/mm/kmsan/
H A Dkmsan.h46 #define KMSAN_WARN_ON(cond) \
48 const bool __cond = WARN_ON(cond); \
/linux-master/certs/
H A Dextract-cert.c69 #define ERR(cond, fmt, ...) \
71 bool __cond = (cond); \

Completed in 697 milliseconds

1234567891011