Home
last modified time | relevance | path

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

/linux/rust/kernel/
H A Dlist.rs493 self.first.is_null() in insert_inner()
523 if next.is_null() { in insert_inner()
615 debug_assert_eq!(next.is_null(), prev.is_null()); in remove()
616 if !next.is_null() { in remove()
799 if self.current.is_null() { in next()
982 if next.is_null() { in peek_next()
996 if self.next.is_null() { in peek_prev()
1013 if prev.is_null() {
1031 if self.next.is_null() {
[all...]
H A Dtask.rs239 if ptr.is_null() { in get_pid_ns()
283 if mm.is_null() { in mm()
316 if active_ns.is_null() { in active_pid_ns()
H A Ddevice.rs249 if ptr.is_null() { in drvdata_obtain()
322 if unsafe { bindings::dev_get_drvdata(self.as_raw()) }.is_null() { in drvdata()
350 if parent.is_null() { in parent()
482 if fwnode_handle.is_null() { in fwnode()
H A Dmm.rs182 if !vma.is_null() { in lock_vma_under_rcu()
249 if vma.is_null() { in vma_lookup()
H A Ddriver.rs313 if raw_id.is_null() { in acpi_id_info()
347 if raw_id.is_null() { in of_id_info()
H A Dmaple_tree.rs278 if ptr.is_null() { in free_all_entries()
379 if ret.is_null() { in load()
573 if ret.is_null() { in find()
H A Drbtree.rs197 self.root.rb_node.is_null() in is_empty()
365 while !(*child_field_of_parent).is_null() { in raw_entry()
413 while !node.is_null() { in get()
498 while !node.is_null() { in find_best_match()
547 while !next.is_null() { in drop()
1168 if self.next.is_null() { in next()
H A Dkunit.rs74 if kunit_test.is_null() {
329 !unsafe { bindings::kunit_get_current_test() }.is_null() in in_kunit_test()
H A Dcpufreq.rs613 if self.as_ref().freq_table.is_null() { in freq_table()
636 if self.as_ref().driver_data.is_null() { in data()
650 if self.as_ref().driver_data.is_null() { in set_data()
661 if self.as_ref().driver_data.is_null() { in clear_data()
H A Dplatform.rs273 if resource.is_null() { in resource_by_index()
294 if resource.is_null() { in resource_by_name()
H A Dmodule_param.rs64 if val.is_null() { in set_param()
H A Di2c.rs213 if raw_id.is_null() { in i2c_id_info()
524 if unsafe { bindings::i2c_verify_client(dev.as_raw()).is_null() } { in try_from()
H A Dtypes.rs74 if ptr.is_null() {
H A Derror.rs183 if ptr.is_null() { in name()
H A Dscatterlist.rs484 self.pos = (!next.is_null() && self.nents > 0).then(|| { in next()
H A Dstr.rs858 if !ptr.is_null() { in try_from_fmt()
H A Dconfigfs.rs309 let is_root = unsafe { (*this).cg_subsys.is_null() }; in get_group_data()
/linux/drivers/infiniband/hw/mlx5/
H A Dcmd.c12 bool is_terminate, is_dump, is_null; in mlx5r_cmd_query_special_mkeys() local
17 is_null = MLX5_CAP_GEN(dev->mdev, null_mkey); in mlx5r_cmd_query_special_mkeys()
20 if (!is_terminate && !is_dump && !is_null) in mlx5r_cmd_query_special_mkeys()
33 if (is_null) in mlx5r_cmd_query_special_mkeys()
/linux/rust/kernel/io/
H A Dresource.rs150 if name.is_null() { in name()
H A Dmem.rs265 if addr.is_null() { in new()
/linux/drivers/android/binder/
H A Drust_binder_main.rs352 if !device.is_null() { in rust_binder_remove_context()
371 assert!(!device.is_null()); in rust_binder_open()
H A Dpage_range.rs84 if shrinker.is_null() { in register()
/linux/rust/kernel/drm/gem/
H A Dmod.rs192 if ptr.is_null() { in lookup_handle()
/linux/drivers/gpu/drm/xe/
H A Dxe_vm.c1077 bool is_null = (flags & DRM_GPUVA_SPARSE); in xe_vma_create() local
1087 if (!bo && !is_null && !is_cpu_addr_mirror) { in xe_vma_create()
1158 if (!is_null && !is_cpu_addr_mirror) { in xe_vma_create()
3638 bool is_null = flags & DRM_XE_VM_BIND_FLAG_NULL; in vm_bind_ioctl_check_args() local
3674 XE_IOCTL_DBG(xe, obj && (is_null || is_cpu_addr_mirror)) || in vm_bind_ioctl_check_args()
3675 XE_IOCTL_DBG(xe, obj_offset && (is_null || in vm_bind_ioctl_check_args()
3678 (is_decompress || is_null || is_cpu_addr_mirror)) || in vm_bind_ioctl_check_args()
3683 !is_null && !is_cpu_addr_mirror) || in vm_bind_ioctl_check_args()
/linux/kernel/bpf/
H A Dverifier.c16002 bool is_null) in mark_ptr_or_null_reg() argument
16017 if (is_null) { in mark_ptr_or_null_reg()
16046 bool is_null) in mark_ptr_or_null_regs() argument
16053 if (ref_obj_id && ref_obj_id == id && is_null) in mark_ptr_or_null_regs()
16061 mark_ptr_or_null_reg(state, reg, id, is_null); in mark_ptr_or_null_regs()