Home
last modified time | relevance | path

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

12

/linux-6.1.9/security/safesetid/
Dlsm.c147 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
153 if (uid_eq(new_id.uid, old->uid) || uid_eq(new_id.uid, old->euid) || in id_permitted_for_cred()
154 uid_eq(new_id.uid, old->suid)) in id_permitted_for_cred()
157 if (gid_eq(new_id.gid, old->gid) || gid_eq(new_id.gid, old->egid) || in id_permitted_for_cred()
158 gid_eq(new_id.gid, old->sgid)) in id_permitted_for_cred()
168 setid_policy_lookup((kid_t){.uid = old->uid}, new_id, new_type) != SIDPOL_CONSTRAINED; in id_permitted_for_cred()
174 __kuid_val(old->suid), __kuid_val(new_id.uid)); in id_permitted_for_cred()
178 __kgid_val(old->sgid), __kgid_val(new_id.gid)); in id_permitted_for_cred()
/linux-6.1.9/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,
/linux-6.1.9/Documentation/pcmcia/
Ddriver.rst13 /sys/bus/pcmcia/drivers/{driver}/new_id
28 /sys/bus/pcmcia/drivers/{driver}/new_id
/linux-6.1.9/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()
/linux-6.1.9/include/linux/
Dadb.h64 int adb_try_handler_change(int address, int new_id);
/linux-6.1.9/tools/lib/bpf/
Dbtf.c3732 __u32 new_id = type_id; in btf_dedup_prim_type() local
3759 new_id = cand_id; in btf_dedup_prim_type()
3771 new_id = cand_id; in btf_dedup_prim_type()
3777 new_id = cand_id; in btf_dedup_prim_type()
3792 new_id = cand_id; in btf_dedup_prim_type()
3798 new_id = cand_id; in btf_dedup_prim_type()
3814 new_id = cand_id; in btf_dedup_prim_type()
3824 d->map[type_id] = new_id; in btf_dedup_prim_type()
3825 if (type_id == new_id && btf_dedup_table_add(d, h, type_id)) in btf_dedup_prim_type()
4300 __u32 new_id = type_id; in btf_dedup_struct_type() local
[all …]
Dlinker.c2216 int new_id = id_map[*type_id]; in remap_type_id() local
2219 if (new_id == 0 && *type_id != 0) { in remap_type_id()
2351 int new_id = obj->btf_type_map[src_var->type]; in linker_append_btf() local
2354 t = btf_type_by_id(linker->btf, new_id); in linker_append_btf()
/linux-6.1.9/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-pci33 What: /sys/bus/pci/drivers/.../new_id
34 What: /sys/devices/pciX/.../new_id
50 # echo "8086 10f5" > /sys/bus/pci/drivers/foo/new_id
58 that was dynamically added via the new_id sysfs entry.
/linux-6.1.9/arch/s390/kernel/
Ddebug.c797 debug_info_t *new_id; in debug_set_size() local
803 new_id = debug_info_alloc("", pages_per_area, nr_areas, id->buf_size, in debug_set_size()
805 if (!new_id) { in debug_set_size()
812 debug_events_append(new_id, id); in debug_set_size()
813 debug_areas_swap(new_id, id); in debug_set_size()
814 debug_info_free(new_id); in debug_set_size()
/linux-6.1.9/arch/x86/kernel/apic/
Dio_apic.c2586 u8 new_id; in io_apic_unique_id() local
2604 new_id = reg_00.bits.ID; in io_apic_unique_id()
2605 if (!test_bit(new_id, used)) { in io_apic_unique_id()
2608 idx, new_id, id); in io_apic_unique_id()
2609 return new_id; in io_apic_unique_id()
2615 new_id = find_first_zero_bit(used, 256); in io_apic_unique_id()
2616 reg_00.bits.ID = new_id; in io_apic_unique_id()
2622 BUG_ON(reg_00.bits.ID != new_id); in io_apic_unique_id()
2624 return new_id; in io_apic_unique_id()
/linux-6.1.9/include/uapi/linux/
Djffs2.h215 jint32_t new_id; member
/linux-6.1.9/drivers/md/
Ddm-thin-metadata.h101 uint64_t new_id);
Ddm-thin-metadata.c1272 uint64_t new_id) in dm_pool_set_metadata_transaction_id() argument
1286 pmd->trans_id = new_id; in dm_pool_set_metadata_transaction_id()
/linux-6.1.9/drivers/usb/serial/
Dbus.c127 static DRIVER_ATTR_RW(new_id);
/linux-6.1.9/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.c328 f->metadata->size != sizeof(jdev.new_id)) { in jffs2_iget()
344 rdev = new_decode_dev(je32_to_cpu(jdev.new_id)); in jffs2_iget()
/linux-6.1.9/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()
/linux-6.1.9/tools/bpf/bpftool/
Dgen.c2164 int new_id; in btfgen_get_btf() local
2188 new_id = err; in btfgen_get_btf()
2209 new_id = err; in btfgen_get_btf()
2213 ids[i] = new_id; in btfgen_get_btf()
/linux-6.1.9/drivers/infiniband/ulp/srpt/
Dib_srpt.c3693 struct rdma_cm_id *new_id = NULL; in srpt_rdma_cm_port_store() local
3706 new_id = srpt_create_rdma_id((struct sockaddr *)&addr6); in srpt_rdma_cm_port_store()
3707 if (IS_ERR(new_id)) { in srpt_rdma_cm_port_store()
3709 new_id = srpt_create_rdma_id((struct sockaddr *)&addr4); in srpt_rdma_cm_port_store()
3710 if (IS_ERR(new_id)) { in srpt_rdma_cm_port_store()
3711 ret = PTR_ERR(new_id); in srpt_rdma_cm_port_store()
3719 swap(rdma_cm_id, new_id); in srpt_rdma_cm_port_store()
3722 if (new_id) in srpt_rdma_cm_port_store()
3723 rdma_destroy_id(new_id); in srpt_rdma_cm_port_store()
/linux-6.1.9/Documentation/translations/zh_CN/PCI/
Dpci.rst104 /sys/bus/pci/drivers/{driver}/new_id
/linux-6.1.9/Documentation/admin-guide/media/
Dbt8xx.rst152 /sys/bus/pci/drivers/bt878/new_id
/linux-6.1.9/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()
/linux-6.1.9/fs/nfsd/
Dnfs4state.c945 int new_id; in nfs4_alloc_stid() local
954 new_id = idr_alloc_cyclic(&cl->cl_stateids, stid, 1, 0, GFP_NOWAIT); in nfs4_alloc_stid()
957 if (new_id < 0) in nfs4_alloc_stid()
962 stid->sc_stateid.si_opaque.so_id = new_id; in nfs4_alloc_stid()
990 int new_id; in nfs4_init_cp_state() local
998 new_id = idr_alloc_cyclic(&nn->s2s_cp_stateids, stid, 0, 0, GFP_NOWAIT); in nfs4_init_cp_state()
999 stid->cs_stid.si_opaque.so_id = new_id; in nfs4_init_cp_state()
1003 if (new_id < 0) in nfs4_init_cp_state()
/linux-6.1.9/Documentation/usb/
Dgadget_serial.rst245 echo 0x0525 0xA4A6 >/sys/bus/usb-serial/drivers/generic/new_id

12