Home
last modified time | relevance | path

Searched refs:new_id (Results 1 – 25 of 43) sorted by relevance

12

/kernel/linux/linux-5.10/security/safesetid/
Dlsm.c156 static bool id_permitted_for_cred(const struct cred *old, kid_t new_id, enum setid_type new_type) in id_permitted_for_cred() argument
162 if (uid_eq(new_id.uid, old->uid) || uid_eq(new_id.uid, old->euid) || in id_permitted_for_cred()
163 uid_eq(new_id.uid, old->suid)) in id_permitted_for_cred()
166 if (gid_eq(new_id.gid, old->gid) || gid_eq(new_id.gid, old->egid) || in id_permitted_for_cred()
167 gid_eq(new_id.gid, old->sgid)) in id_permitted_for_cred()
177 setid_policy_lookup((kid_t){.uid = old->uid}, new_id, new_type) != SIDPOL_CONSTRAINED; in id_permitted_for_cred()
183 __kuid_val(old->suid), __kuid_val(new_id.uid)); in id_permitted_for_cred()
187 __kgid_val(old->sgid), __kgid_val(new_id.gid)); in id_permitted_for_cred()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dtrace.h347 TP_PROTO(int old_id, int new_id, char *action, unsigned int reg,
350 TP_ARGS(old_id, new_id, action, reg, old_val, new_val),
354 __field(int, new_id)
363 __entry->new_id = new_id;
371 __entry->old_id, __entry->new_id,
/kernel/linux/linux-5.10/Documentation/pcmcia/
Ddriver.rst13 /sys/bus/pcmcia/drivers/{driver}/new_id
28 /sys/bus/pcmcia/drivers/{driver}/new_id
/kernel/linux/linux-5.10/drivers/macintosh/
Dadb.c555 static int try_handler_change(int address, int new_id) in try_handler_change() argument
559 if (adb_handler[address].handler_id == new_id) in try_handler_change()
562 ADB_WRITEREG(address, 3), address | 0x20, new_id); in try_handler_change()
567 if (req.reply[2] != new_id) in try_handler_change()
575 adb_try_handler_change(int address, int new_id) in adb_try_handler_change() argument
580 ret = try_handler_change(address, new_id); in adb_try_handler_change()
583 pr_debug("adb handler change: [%d] 0x%X\n", address, new_id); in adb_try_handler_change()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-usb65 What: /sys/bus/usb/drivers/.../new_id
82 # echo "8086 10f5" > /sys/bus/usb/drivers/foo/new_id
87 # echo "0458 7045 0 0458 704c" > /sys/bus/usb/drivers/foo/new_id
93 # cat /sys/bus/usb/drivers/foo/new_id
101 What: /sys/bus/usb-serial/drivers/.../new_id
108 "/sys/bus/usb/drivers/.../new_id" apply.
115 that was dynamically added via the new_id sysfs entry.
125 "/sys/bus/usb/drivers/.../new_id"
Dsysfs-bus-pci31 What: /sys/bus/pci/drivers/.../new_id
47 # echo "8086 10f5" > /sys/bus/pci/drivers/foo/new_id
54 that was dynamically added via the new_id sysfs entry.
/kernel/linux/linux-5.10/include/linux/
Dadb.h64 int adb_try_handler_change(int address, int new_id);
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbtf.c3562 __u32 new_id = type_id; in btf_dedup_prim_type() local
3587 new_id = cand_id; in btf_dedup_prim_type()
3599 new_id = cand_id; in btf_dedup_prim_type()
3607 new_id = cand_id; in btf_dedup_prim_type()
3622 new_id = cand_id; in btf_dedup_prim_type()
3632 d->map[type_id] = new_id; in btf_dedup_prim_type()
3633 if (type_id == new_id && btf_dedup_table_add(d, h, type_id)) in btf_dedup_prim_type()
4026 __u32 new_id = type_id; in btf_dedup_struct_type() local
4065 new_id = cand_id; in btf_dedup_struct_type()
4070 d->map[type_id] = new_id; in btf_dedup_struct_type()
[all …]
/kernel/linux/linux-5.10/arch/s390/kernel/
Ddebug.c742 debug_info_t *new_id; in debug_set_size() local
748 new_id = debug_info_alloc("", pages_per_area, nr_areas, id->buf_size, in debug_set_size()
750 if (!new_id) { in debug_set_size()
757 debug_events_append(new_id, id); in debug_set_size()
758 debug_areas_swap(new_id, id); in debug_set_size()
759 debug_info_free(new_id); in debug_set_size()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Djffs2.h161 jint32_t new_id; member
/kernel/linux/linux-5.10/drivers/md/
Ddm-thin-metadata.h101 uint64_t new_id);
Ddm-thin-metadata.c1238 uint64_t new_id) in dm_pool_set_metadata_transaction_id() argument
1252 pmd->trans_id = new_id; in dm_pool_set_metadata_transaction_id()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Djffs2.h155 jint32_t new_id; member
/kernel/linux/linux-5.10/include/uapi/linux/
Djffs2.h215 jint32_t new_id; member
/kernel/linux/linux-5.10/arch/x86/kernel/apic/
Dio_apic.c2548 u8 new_id; in io_apic_unique_id() local
2566 new_id = reg_00.bits.ID; in io_apic_unique_id()
2567 if (!test_bit(new_id, used)) { in io_apic_unique_id()
2570 idx, new_id, id); in io_apic_unique_id()
2571 return new_id; in io_apic_unique_id()
2577 new_id = find_first_zero_bit(used, 256); in io_apic_unique_id()
2578 reg_00.bits.ID = new_id; in io_apic_unique_id()
2584 BUG_ON(reg_00.bits.ID != new_id); in io_apic_unique_id()
2586 return new_id; in io_apic_unique_id()
/kernel/linux/linux-5.10/drivers/usb/serial/
Dbus.c144 static DRIVER_ATTR_RW(new_id);
/kernel/linux/linux-5.10/fs/jffs2/
Dnodelist.h322 jdev->new_id = cpu_to_je32(new_encode_dev(rdev)); in jffs2_encode_dev()
323 return sizeof(jdev->new_id); in jffs2_encode_dev()
Dfs.c327 f->metadata->size != sizeof(jdev.new_id)) { in jffs2_iget()
343 rdev = new_decode_dev(je32_to_cpu(jdev.new_id)); in jffs2_iget()
/kernel/linux/linux-5.10/arch/mips/alchemy/common/
Ddbdma.c222 static u16 new_id = 0x1000; in au1xxx_ddma_add_device() local
227 p->dev_id = DSCR_DEV2CUSTOM_ID(new_id, dev->dev_id); in au1xxx_ddma_add_device()
229 new_id++; in au1xxx_ddma_add_device()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srpt/
Dib_srpt.c3661 struct rdma_cm_id *new_id = NULL; in srpt_rdma_cm_port_store() local
3674 new_id = srpt_create_rdma_id((struct sockaddr *)&addr6); in srpt_rdma_cm_port_store()
3675 if (IS_ERR(new_id)) { in srpt_rdma_cm_port_store()
3677 new_id = srpt_create_rdma_id((struct sockaddr *)&addr4); in srpt_rdma_cm_port_store()
3678 if (IS_ERR(new_id)) { in srpt_rdma_cm_port_store()
3679 ret = PTR_ERR(new_id); in srpt_rdma_cm_port_store()
3687 swap(rdma_cm_id, new_id); in srpt_rdma_cm_port_store()
3690 if (new_id) in srpt_rdma_cm_port_store()
3691 rdma_destroy_id(new_id); in srpt_rdma_cm_port_store()
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Dbt8xx.rst151 /sys/bus/pci/drivers/bt878/new_id
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Dtei.c315 new_id(struct manager *mgr) in new_id() function
398 mISDN_HEAD_ID(skb) = new_id(mgr); in dl_unit_data()
447 skb = _alloc_mISDN_skb(PH_DATA_REQ, new_id(mgr), 8, bp, GFP_ATOMIC); in put_tei_msg()
/kernel/linux/linux-5.10/net/ipv4/
Dnexthop.c1152 u32 new_id = new_nh->id; in insert_nexthop() local
1167 if (new_id < nh->id) { in insert_nexthop()
1169 } else if (new_id > nh->id) { in insert_nexthop()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfs4state.c717 int new_id; in nfs4_alloc_stid() local
726 new_id = idr_alloc_cyclic(&cl->cl_stateids, stid, 1, 0, GFP_NOWAIT); in nfs4_alloc_stid()
729 if (new_id < 0) in nfs4_alloc_stid()
734 stid->sc_stateid.si_opaque.so_id = new_id; in nfs4_alloc_stid()
762 int new_id; in nfs4_init_cp_state() local
770 new_id = idr_alloc_cyclic(&nn->s2s_cp_stateids, stid, 0, 0, GFP_NOWAIT); in nfs4_init_cp_state()
771 stid->stid.si_opaque.so_id = new_id; in nfs4_init_cp_state()
775 if (new_id < 0) in nfs4_init_cp_state()
/kernel/linux/linux-5.10/mm/
Dmemcontrol.c478 int memcg_expand_shrinker_maps(int new_id) in memcg_expand_shrinker_maps() argument
483 size = DIV_ROUND_UP(new_id + 1, BITS_PER_LONG) * sizeof(unsigned long); in memcg_expand_shrinker_maps()
3343 unsigned short old_id, new_id; in mem_cgroup_move_swap_account() local
3346 new_id = mem_cgroup_id(to); in mem_cgroup_move_swap_account()
3348 if (swap_cgroup_cmpxchg(entry, old_id, new_id) == old_id) { in mem_cgroup_move_swap_account()

12