/linux-master/fs/bcachefs/ |
H A D | eytzinger.h | 9 #define EYTZINGER_BUG_ON(cond) BUG_ON(cond) 11 #define EYTZINGER_BUG_ON(cond)
|
/linux-master/fs/netfs/ |
H A D | fscache_io.c | 217 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 D | devlink_port_split.py | 169 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 D | srf.c | 176 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 D | inet_diag.c | 702 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 D | domain.c | 76 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 D | condition.c | 655 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 D | bpf_jit_arcv2.c | 2495 * 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 D | bpf_jit_core.c | 548 * 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 D | lsm.c | 215 * @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 D | bpf_jit.h | 105 #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 D | i2c-brcmstb.c | 456 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 D | bcache.h | 871 #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 D | test_user_copy.c | 36 int cond = (condition); \ 37 if (cond) \ 39 cond; \
|
/linux-master/drivers/net/mdio/ |
H A D | mdio-mscc-miim.c | 65 #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 D | nfcsim.c | 62 u8 cond; member in struct:nfcsim_link 87 link->cond = 1; 134 link->cond, 165 link->cond = 0;
|
/linux-master/mm/kmsan/ |
H A D | kmsan_test.c | 207 volatile int cond; local 210 USE(cond); 218 volatile int cond = 1; local 221 USE(cond);
|
/linux-master/net/tipc/ |
H A D | trace.h | 235 #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 D | phy.c | 21 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 D | index.c | 61 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 D | prcm-common.h | 438 * @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 D | xt_sctp.c | 20 #define SCCHECK(cond, option, flag, invflag) (!((flag) & (option)) \ 21 || (!!((invflag) & (option)) ^ (cond)))
|
/linux-master/arch/xtensa/include/asm/ |
H A D | asmmacro.h | 27 * __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 D | pwm-lpss.c | 159 static inline void pwm_lpss_cond_enable(struct pwm_device *pwm, bool cond) argument 161 if (cond)
|
/linux-master/kernel/rcu/ |
H A D | tree.h | 307 #define rcu_wait(cond) \ 311 if (cond) \
|