Searched refs:cond (Results 101 - 125 of 274) sorted by relevance

1234567891011

/linux-master/fs/bcachefs/
H A Deytzinger.h9 #define EYTZINGER_BUG_ON(cond) BUG_ON(cond)
11 #define EYTZINGER_BUG_ON(cond)
/linux-master/fs/netfs/
H A Dfscache_io.c217 bool using_pgpriv2, bool cond)
236 wreq->set_bits = cond;
264 fscache_clear_page_bits(mapping, start, len, cond);
212 __fscache_write_to_cache(struct fscache_cookie *cookie, struct address_space *mapping, loff_t start, size_t len, loff_t i_size, netfs_io_terminated_t term_func, void *term_func_priv, bool using_pgpriv2, bool cond) argument
/linux-master/tools/testing/selftests/drivers/net/hw/
H A Ddevlink_port_split.py169 def test(cond, msg):
171 Check $cond and print a message accordingly.
175 if cond:
180 return cond
/linux-master/drivers/net/fddi/skfp/
H A Dsrf.c176 void smt_srf_event(struct s_smc *smc, int code, int index, int cond) argument
185 if (code == SMT_COND_MAC_DUP_ADDR && cond) {
200 if (*evc->evc_cond_state == cond)
209 DB_SMT("SRF: condition is %s", cond ? "ON" : "OFF");
210 if (cond) {
/linux-master/net/ipv4/
H A Dinet_diag.c702 const struct inet_diag_hostcond *cond; local
705 cond = (const struct inet_diag_hostcond *)(op + 1);
706 if (cond->port != -1 &&
707 cond->port != (op->code == INET_DIAG_BC_S_COND ?
718 if (cond->family != AF_UNSPEC &&
719 cond->family != entry->family) {
721 cond->family == AF_INET) {
725 cond->addr,
726 cond->prefix_len))
733 if (cond
750 struct inet_diag_markcond *cond; local
860 struct inet_diag_hostcond *cond; local
[all...]
/linux-master/security/tomoyo/
H A Ddomain.c76 return a->type == b->type && a->cond == b->cond;
108 new_entry->cond = tomoyo_get_condition(param);
109 if (!new_entry->cond)
115 if (new_entry->cond->transit &&
147 tomoyo_put_condition(new_entry->cond);
177 if (!tomoyo_condition(r, ptr->cond))
H A Dcondition.c655 dprintk(KERN_INFO "%u: cond=%u numbers=%u names=%u ac=%u ec=%u\n",
759 * @cond: Pointer to "struct tomoyo_condition". Maybe NULL.
766 const struct tomoyo_condition *cond)
782 if (!cond)
784 condc = cond->condc;
785 argc = cond->argc;
786 envc = cond->envc;
792 condp = (struct tomoyo_condition_element *) (cond + 1);
795 (numbers_p + cond->numbers_count);
796 argv = (const struct tomoyo_argv *) (names_p + cond
765 tomoyo_condition(struct tomoyo_request_info *r, const struct tomoyo_condition *cond) argument
[all...]
/linux-master/arch/arc/net/
H A Dbpf_jit_arcv2.c2495 * cond: The condition that the ARC branch instruction must use
2511 * The cond(ition) for the "bhi" is "CC_great_u".
2525 * "cond" of each "jmp[]" instance. e.g.:
2528 * arcv2_64_jccs.jmp[ARC_CC_UGT].cond[1]
2531 * is at offset "jit_off[1]" while its condition is "cond[1]".
2536 u8 cond[JCC64_NR_OF_JMPS]; member in struct:__anon7::__anon8
2553 .cond = {CC_great_u, CC_less_u, CC_great_u}
2564 .cond = {CC_great_u, CC_less_u, CC_great_eq_u}
2575 .cond = {CC_less_u, CC_great_u, CC_less_u}
2586 .cond
2712 check_jcc_64(u32 curr_off, u32 targ_off, u8 cond) argument
2737 check_jmp_64(u32 curr_off, u32 targ_off, u8 cond) argument
2804 gen_jcc_64(u8 *buf, u8 rd, u8 rs, u8 cond, u32 curr_off, u32 targ_off) argument
2839 gen_jmp_64(u8 *buf, u8 rd, u8 rs, u8 cond, u32 curr_off, u32 targ_off) argument
2904 check_jmp_32(u32 curr_off, u32 targ_off, u8 cond) argument
2939 gen_jmp_32(u8 *buf, u8 rd, u8 rs, u8 cond, u32 curr_off, u32 targ_off) argument
[all...]
H A Dbpf_jit_core.c548 * the necessary instructions based on "cond" and the displacement
551 static int feasible_jit_jump(u32 from_off, u32 to_off, u8 cond, bool j32) argument
556 if (!check_jmp_32(from_off, to_off, cond))
559 if (!check_jmp_64(from_off, to_off, cond))
585 u8 cond; local
596 CHECK_RET(bpf_cond_to_arc(BPF_OP(insn->code), &cond));
610 if (has_imm(insn) && cond != ARC_CC_AL) {
627 CHECK_RET(feasible_jit_jump(curr_off, targ_off, cond, j32));
631 *len += gen_jmp_32(BUF(buf, *len), rd, rs, cond,
634 *len += gen_jmp_64(BUF(buf, *len), rd, rs, cond,
[all...]
/linux-master/security/apparmor/
H A Dlsm.c215 * @cond: conditional info for the permission request (NOT NULL)
220 struct path_cond *cond)
228 cond);
235 * common_perm_cond - common permission wrapper around inode cond
246 struct path_cond cond = { local
254 return common_perm(op, path, mask, &cond);
263 * @cond: conditional info for the permission request (NOT NULL)
269 struct path_cond *cond)
273 return common_perm(op, &path, mask, cond);
289 struct path_cond cond local
219 common_perm(const char *op, const struct path *path, u32 mask, struct path_cond *cond) argument
267 common_perm_dir_dentry(const char *op, const struct path *dir, struct dentry *dentry, u32 mask, struct path_cond *cond) argument
315 struct path_cond cond = { current_fsuid(), mode }; local
401 struct path_cond cond = { local
485 struct path_cond cond = { local
[all...]
/linux-master/arch/parisc/net/
H A Dbpf_jit.h105 #define hppa_or_cond(reg1, reg2, cond, f, target) \
106 hppa_t6_insn(0x02, reg2, reg1, cond, f, 0x09, target)
109 #define hppa_and_cond(reg1, reg2, cond, f, target) \
110 hppa_t6_insn(0x02, reg2, reg1, cond, f, 0x08, target)
182 r2, r1, condition, target_addr, nop) /* combt,cond,n r1,r2,addr */
196 r2, r1, condition, target_addr, nop) /* combf,cond,n r1,r2,addr */
275 /* Return -1 or inverted cond. */
276 static inline int invert_bpf_cond(u8 cond) argument
278 switch (cond) {
/linux-master/drivers/i2c/busses/
H A Di2c-brcmstb.c456 u32 cond, cond_per_msg; local
470 cond = ~COND_START_STOP;
472 cond = COND_RESTART | COND_NOSTOP;
474 brcmstb_set_i2c_start_stop(dev, cond);
487 cond_per_msg = cond;
498 cond_per_msg = cond;
/linux-master/drivers/md/bcache/
H A Dbcache.h871 #define btree_bug_on(cond, b, ...) \
873 if (cond) \
877 #define cache_bug_on(cond, c, ...) \
879 if (cond) \
883 #define cache_set_err_on(cond, c, ...) \
885 if (cond) \
/linux-master/lib/
H A Dtest_user_copy.c36 int cond = (condition); \
37 if (cond) \
39 cond; \
/linux-master/drivers/net/mdio/
H A Dmdio-mscc-miim.c65 #define mscc_readx_poll_timeout(op, addr, val, cond, delay_us, timeout_us)\
68 readx_poll_timeout_atomic(op, addr, val, cond, delay_us, \
70 readx_poll_timeout(op, addr, val, cond, delay_us, timeout_us); \
/linux-master/drivers/nfc/
H A Dnfcsim.c62 u8 cond; member in struct:nfcsim_link
87 link->cond = 1;
134 link->cond,
165 link->cond = 0;
/linux-master/mm/kmsan/
H A Dkmsan_test.c207 volatile int cond; local
210 USE(cond);
218 volatile int cond = 1; local
221 USE(cond);
/linux-master/net/tipc/
H A Dtrace.h235 #define DEFINE_SK_EVENT_FILTER_COND(name, cond) \
240 TP_CONDITION(tipc_sk_filtering(sk) && (cond)))
275 #define DEFINE_LINK_EVENT_COND(name, cond) \
279 TP_CONDITION(cond))
/linux-master/drivers/net/wireless/realtek/rtw88/
H A Dphy.c21 struct rtw_phy_cond cond; member in union:phy_table_tile
1044 struct rtw_phy_cond cond = {0}; local
1046 cond.cut = hal->cut_version ? hal->cut_version : 15;
1047 cond.pkg = pkg ? pkg : 15;
1048 cond.plat = 0x04;
1049 cond.rfe = efuse->rfe_option;
1053 cond.intf = INTF_USB;
1056 cond.intf = INTF_SDIO;
1060 cond.intf = INTF_PCIE;
1064 hal->phy_cond = cond;
1069 check_positive(struct rtw_dev *rtwdev, struct rtw_phy_cond cond) argument
[all...]
/linux-master/drivers/md/dm-vdo/indexer/
H A Dindex.c61 struct cond_var cond; member in struct:chapter_writer
186 uds_wait_cond(&writer->cond, &writer->mutex);
226 uds_broadcast_cond(&writer->cond);
694 uds_wait_cond(&writer->cond, &writer->mutex);
730 uds_broadcast_cond(&writer->cond);
743 uds_broadcast_cond(&writer->cond);
778 uds_init_cond(&writer->cond);
963 uds_broadcast_cond(&index->load_context->cond);
967 uds_wait_cond(&index->load_context->cond, &index->load_context->mutex);
1265 uds_broadcast_cond(&index->load_context->cond);
[all...]
/linux-master/arch/arm/mach-omap2/
H A Dprcm-common.h438 * @cond: condition to test until it evaluates to true
442 * Loop waiting for @cond to become true or until at least @timeout
447 #define omap_test_timeout(cond, timeout, index) \
450 if (cond) \
/linux-master/net/netfilter/
H A Dxt_sctp.c20 #define SCCHECK(cond, option, flag, invflag) (!((flag) & (option)) \
21 || (!!((invflag) & (option)) ^ (cond)))
/linux-master/arch/xtensa/include/asm/
H A Dasmmacro.h27 * __loops ar, as, at, inc_log2[, mask_log2][, cond][, ncond]
33 * cond true condition (used in loop'cond')
66 .macro __loops ar, as, at, incr_log2, mask_log2, cond, ncond variable
77 loop\cond \at, 99f
/linux-master/drivers/pwm/
H A Dpwm-lpss.c159 static inline void pwm_lpss_cond_enable(struct pwm_device *pwm, bool cond) argument
161 if (cond)
/linux-master/kernel/rcu/
H A Dtree.h307 #define rcu_wait(cond) \
311 if (cond) \

Completed in 534 milliseconds

1234567891011