/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | conditional.c | 646 struct cond_node *newn = &newp->cond_list[i]; in duplicate_policydb_cond_list() local 651 newn->cur_state = orign->cur_state; in duplicate_policydb_cond_list() 652 newn->expr.nodes = kcalloc(orign->expr.len, in duplicate_policydb_cond_list() 653 sizeof(*newn->expr.nodes), GFP_KERNEL); in duplicate_policydb_cond_list() 654 if (!newn->expr.nodes) in duplicate_policydb_cond_list() 657 newn->expr.nodes[j] = orign->expr.nodes[j]; in duplicate_policydb_cond_list() 658 newn->expr.len = orign->expr.len; in duplicate_policydb_cond_list() 660 rc = cond_dup_av_list(&newn->true_list, &orign->true_list, in duplicate_policydb_cond_list() 665 rc = cond_dup_av_list(&newn->false_list, &orign->false_list, in duplicate_policydb_cond_list()
|
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | conditional.c | 646 struct cond_node *newn = &newp->cond_list[i]; in duplicate_policydb_cond_list() local 651 newn->cur_state = orign->cur_state; in duplicate_policydb_cond_list() 652 newn->expr.nodes = kmemdup(orign->expr.nodes, in duplicate_policydb_cond_list() 655 if (!newn->expr.nodes) in duplicate_policydb_cond_list() 658 newn->expr.len = orign->expr.len; in duplicate_policydb_cond_list() 660 rc = cond_dup_av_list(&newn->true_list, &orign->true_list, in duplicate_policydb_cond_list() 665 rc = cond_dup_av_list(&newn->false_list, &orign->false_list, in duplicate_policydb_cond_list()
|
/kernel/linux/linux-5.10/fs/gfs2/ |
H A D | rgrp.c | 850 struct rb_node **newn = &sdp->sd_rindex_tree.rb_node, *parent = NULL; in rgd_insert() local 853 while (*newn) { in rgd_insert() 854 struct gfs2_rgrpd *cur = rb_entry(*newn, struct gfs2_rgrpd, in rgd_insert() 857 parent = *newn; in rgd_insert() 859 newn = &((*newn)->rb_left); in rgd_insert() 861 newn = &((*newn)->rb_right); in rgd_insert() 866 rb_link_node(&rgd->rd_node, parent, newn); in rgd_insert() 1463 struct rb_node **newn, *paren in rs_insert() local [all...] |
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | rgrp.c | 866 struct rb_node **newn = &sdp->sd_rindex_tree.rb_node, *parent = NULL; in rgd_insert() local 869 while (*newn) { in rgd_insert() 870 struct gfs2_rgrpd *cur = rb_entry(*newn, struct gfs2_rgrpd, in rgd_insert() 873 parent = *newn; in rgd_insert() 875 newn = &((*newn)->rb_left); in rgd_insert() 877 newn = &((*newn)->rb_right); in rgd_insert() 882 rb_link_node(&rgd->rd_node, parent, newn); in rgd_insert() 1490 struct rb_node **newn, *paren in rs_insert() local [all...] |
/kernel/linux/linux-5.10/scripts/dtc/libfdt/ |
H A D | fdt_rw.c | 71 int oldn, int newn) in fdt_splice_mem_rsv_() 73 int delta = (newn - oldn) * sizeof(*p); in fdt_splice_mem_rsv_() 75 err = fdt_splice_(fdt, p, oldn * sizeof(*p), newn * sizeof(*p)); in fdt_splice_mem_rsv_() 70 fdt_splice_mem_rsv_(void *fdt, struct fdt_reserve_entry *p, int oldn, int newn) fdt_splice_mem_rsv_() argument
|
/kernel/linux/linux-6.6/scripts/dtc/libfdt/ |
H A D | fdt_rw.c | 71 int oldn, int newn) in fdt_splice_mem_rsv_() 73 int delta = (newn - oldn) * sizeof(*p); in fdt_splice_mem_rsv_() 75 err = fdt_splice_(fdt, p, oldn * sizeof(*p), newn * sizeof(*p)); in fdt_splice_mem_rsv_() 70 fdt_splice_mem_rsv_(void *fdt, struct fdt_reserve_entry *p, int oldn, int newn) fdt_splice_mem_rsv_() argument
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 2439 oldn->__member != newn->__member) \ 2482 struct tp_nvram_state *newn, in hotkey_compare_and_issue_event() 2512 if (newn->mute) { in hotkey_compare_and_issue_event() 2515 oldn->volume_toggle != newn->volume_toggle || in hotkey_compare_and_issue_event() 2516 oldn->volume_level != newn->volume_level) { in hotkey_compare_and_issue_event() 2519 issue_volchange(oldn->volume_level, newn->volume_level, in hotkey_compare_and_issue_event() 2529 if (oldn->volume_level != newn->volume_level) { in hotkey_compare_and_issue_event() 2530 issue_volchange(oldn->volume_level, newn->volume_level, in hotkey_compare_and_issue_event() 2532 } else if (oldn->volume_toggle != newn->volume_toggle) { in hotkey_compare_and_issue_event() 2534 if (newn in hotkey_compare_and_issue_event() 2481 hotkey_compare_and_issue_event(struct tp_nvram_state *oldn, struct tp_nvram_state *newn, const u32 event_mask) hotkey_compare_and_issue_event() argument [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 2313 oldn->__member != newn->__member) \ 2356 struct tp_nvram_state *newn, in hotkey_compare_and_issue_event() 2386 if (newn->mute) { in hotkey_compare_and_issue_event() 2389 oldn->volume_toggle != newn->volume_toggle || in hotkey_compare_and_issue_event() 2390 oldn->volume_level != newn->volume_level) { in hotkey_compare_and_issue_event() 2393 issue_volchange(oldn->volume_level, newn->volume_level, in hotkey_compare_and_issue_event() 2403 if (oldn->volume_level != newn->volume_level) { in hotkey_compare_and_issue_event() 2404 issue_volchange(oldn->volume_level, newn->volume_level, in hotkey_compare_and_issue_event() 2406 } else if (oldn->volume_toggle != newn->volume_toggle) { in hotkey_compare_and_issue_event() 2408 if (newn in hotkey_compare_and_issue_event() 2355 hotkey_compare_and_issue_event(struct tp_nvram_state *oldn, struct tp_nvram_state *newn, const u32 event_mask) hotkey_compare_and_issue_event() argument [all...] |
/kernel/linux/linux-5.10/drivers/block/aoe/ |
H A D | aoecmd.c | 1422 ulong oldn, newn; in grow_targets() local 1426 newn = oldn * 2; in grow_targets() 1427 tt = kcalloc(newn, sizeof(*d->targets), GFP_ATOMIC); in grow_targets() 1434 d->ntargets = newn; in grow_targets()
|
/kernel/linux/linux-6.6/drivers/block/aoe/ |
H A D | aoecmd.c | 1414 ulong oldn, newn; in grow_targets() local 1418 newn = oldn * 2; in grow_targets() 1419 tt = kcalloc(newn, sizeof(*d->targets), GFP_ATOMIC); in grow_targets() 1426 d->ntargets = newn; in grow_targets()
|
/kernel/linux/linux-5.10/fs/dlm/ |
H A D | lock.c | 472 struct rb_node **newn = &tree->rb_node; in rsb_insert() local 476 while (*newn) { in rsb_insert() 477 struct dlm_rsb *cur = rb_entry(*newn, struct dlm_rsb, in rsb_insert() 480 parent = *newn; in rsb_insert() 483 newn = &parent->rb_left; in rsb_insert() 485 newn = &parent->rb_right; in rsb_insert() 494 rb_link_node(&rsb->res_hashnode, parent, newn); in rsb_insert()
|
/kernel/linux/linux-6.6/fs/dlm/ |
H A D | lock.c | 467 struct rb_node **newn = &tree->rb_node; in rsb_insert() local 471 while (*newn) { in rsb_insert() 472 struct dlm_rsb *cur = rb_entry(*newn, struct dlm_rsb, in rsb_insert() 475 parent = *newn; in rsb_insert() 478 newn = &parent->rb_left; in rsb_insert() 480 newn = &parent->rb_right; in rsb_insert() 489 rb_link_node(&rsb->res_hashnode, parent, newn); in rsb_insert()
|