/linux-master/security/apparmor/include/ |
H A D | file.h | 81 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 D | perms.h | 74 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/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...] |
H A D | policy_unpack.c | 655 aa_unpack_u32(e, &perm->cond, NULL) && 1187 if (perm->cond & (perm->allow | perm->deny))
|
/linux-master/security/tomoyo/ |
H A D | audit.c | 343 if (is_granted && matched_acl && matched_acl->cond && 344 matched_acl->cond->grant_log != TOMOYO_GRANTLOG_AUTO) 345 return matched_acl->cond->grant_log == TOMOYO_GRANTLOG_YES;
|
H A D | common.c | 1220 * @cond: Pointer to "struct tomoyo_condition". 1225 const struct tomoyo_condition *cond) 1231 if (cond->transit) { 1233 tomoyo_set_string(head, cond->transit->name); 1238 const u16 condc = cond->condc; 1240 (typeof(condp)) (cond + 1); 1245 (numbers_p + cond->numbers_count); 1247 (typeof(argv)) (names_p + cond->names_count); 1249 (typeof(envp)) (argv + cond->argc); 1347 if (cond 1224 tomoyo_print_condition(struct tomoyo_io_buffer *head, const struct tomoyo_condition *cond) argument [all...] |
H A D | common.h | 674 struct tomoyo_condition *cond; /* Maybe NULL. */ member in struct:tomoyo_acl_info 932 const struct tomoyo_condition *cond); 1187 * @cond: Pointer to "struct tomoyo_condition". Maybe NULL. 1191 static inline void tomoyo_put_condition(struct tomoyo_condition *cond) argument 1193 if (cond) 1194 atomic_dec(&cond->head.users);
|
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...] |
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 | file.c | 616 r->ee->transition = r->matched_acl && r->matched_acl->cond ? 617 r->matched_acl->cond->transit : NULL;
|
H A D | gc.c | 161 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/sound/core/ |
H A D | pcm_lib.c | 1137 * @cond: condition bits 1145 int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime, unsigned int cond, argument 1168 c->cond = cond; 1288 * @cond: condition bits 1297 unsigned int cond, 1301 return snd_pcm_hw_rule_add(runtime, cond, var, 1319 * @cond: condition bits 1328 unsigned int cond, 1332 return snd_pcm_hw_rule_add(runtime, cond, va 1296 snd_pcm_hw_constraint_list(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, const struct snd_pcm_hw_constraint_list *l) argument 1327 snd_pcm_hw_constraint_ranges(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, const struct snd_pcm_hw_constraint_ranges *r) argument 1362 snd_pcm_hw_constraint_ratnums(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, const struct snd_pcm_hw_constraint_ratnums *r) argument 1396 snd_pcm_hw_constraint_ratdens(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, const struct snd_pcm_hw_constraint_ratdens *r) argument 1440 snd_pcm_hw_constraint_msbits(struct snd_pcm_runtime *runtime, unsigned int cond, unsigned int width, unsigned int msbits) argument 1469 snd_pcm_hw_constraint_step(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, unsigned long step) argument 1500 snd_pcm_hw_constraint_pow2(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var) argument [all...] |
H A D | pcm_native.c | 407 if (r->cond && !(r->cond & params->flags)) 2476 unsigned int cond, u32 *subformats) 2478 return snd_pcm_hw_rule_add(runtime, cond, -1, 2475 snd_pcm_hw_constraint_subformats(struct snd_pcm_runtime *runtime, unsigned int cond, u32 *subformats) argument
|
/linux-master/sound/isa/wavefront/ |
H A D | wavefront_synth.c | 117 #define DPRINT(cond, ...) \ 118 if ((dev->debug & (cond)) == (cond)) { \ 122 #define DPRINT(cond, args...)
|
/linux-master/sound/pci/asihpi/ |
H A D | hpi_internal.h | 80 #define compile_time_assert(cond, msg) \ 81 typedef char ASSERT_##msg[(cond) ? 1 : -1]
|
H A D | hpidebug.h | 86 #define compile_time_assert(cond, msg) \ 87 typedef char msg[(cond) ? 1 : -1]
|
/linux-master/sound/soc/intel/catpt/ |
H A D | registers.h | 162 #define catpt_readl_poll_shim(cdev, reg, val, cond, delay_us, timeout_us) \ 164 val, cond, delay_us, timeout_us) 174 #define catpt_readl_poll_pci(cdev, reg, val, cond, delay_us, timeout_us) \ 176 val, cond, delay_us, timeout_us)
|
/linux-master/sound/soc/sof/ |
H A D | ops.h | 599 * @cond: Break condition (usually involving @val) 611 #define snd_sof_dsp_read_poll_timeout(sdev, bar, offset, val, cond, sleep_us, timeout_us) \ 619 if (cond) { \ 636 (cond) ? 0 : -ETIMEDOUT; \
|
/linux-master/tools/bootconfig/include/linux/ |
H A D | bootconfig.h | 18 #define WARN_ON(cond) \ 19 ((cond) ? printf("Internal warning(%s:%d, %s): %s\n", \ 20 __FILE__, __LINE__, __func__, #cond) : 0) 22 #define unlikely(cond) (cond)
|
/linux-master/tools/include/linux/ |
H A D | build_bug.h | 39 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
|
H A D | kernel.h | 63 #define BUG_ON(cond) do { if (cond) {} } while (0) 65 #define BUG_ON(cond) assert(!(cond))
|
/linux-master/tools/lib/perf/include/internal/ |
H A D | tests.h | 47 #define __T(text, cond) \ 49 if (!(cond)) { \
|
/linux-master/tools/objtool/arch/x86/ |
H A D | decode.c | 9 #define unlikely(cond) (cond)
|
/linux-master/tools/perf/bench/ |
H A D | epoll-ctl.c | 65 static struct cond thread_parent, thread_worker;
|
H A D | epoll-wait.c | 116 static struct cond thread_parent, thread_worker;
|