Searched refs:newn (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/security/selinux/ss/ |
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-5.10/fs/gfs2/ |
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() 1461 struct rb_node **newn, *parent = NULL; in rs_insert() local 1470 newn = &rgd->rd_rstree.rb_node; in rs_insert() 1471 while (*newn) { in rs_insert() [all …]
|
/kernel/linux/linux-5.10/scripts/dtc/libfdt/ |
D | fdt_rw.c | 71 int oldn, int newn) in fdt_splice_mem_rsv_() argument 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_()
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | thinkpad_acpi.c | 2439 oldn->__member != newn->__member) \ 2482 struct tp_nvram_state *newn, in hotkey_compare_and_issue_event() argument 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->volume_level == 0) in hotkey_compare_and_issue_event() [all …]
|
/kernel/linux/linux-5.10/drivers/block/aoe/ |
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-5.10/fs/dlm/ |
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()
|