Home
last modified time | relevance | path

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

12

/linux/rust/kernel/
H A Dlist.rs477 self.first.is_null() in is_empty()
507 if next.is_null() { in insert_inner()
599 debug_assert_eq!(next.is_null(), prev.is_null()); in remove()
600 if !next.is_null() { in remove()
783 if self.current.is_null() { in next()
966 if next.is_null() { in prev_ptr()
980 if self.next.is_null() { in peek_next()
997 if prev.is_null() { in peek_prev()
1015 if self.next.is_null() { in move_next()
1048 let ptr = if self.next.is_null() { in insert_inner()
H A Dtask.rs240 if ptr.is_null() { in get_pid_ns()
284 if mm.is_null() { in mm()
317 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 Dsecurity.rs91 if ptr.is_null() { in as_bytes()
H A Dcpu.rs145 if ptr.is_null() { in from_cpu()
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.rs214 if raw_id.is_null() { in i2c_id_info()
525 if unsafe { bindings::i2c_verify_client(dev.as_raw()).is_null() } { in try_from()
H A Dtypes.rs76 if ptr.is_null() { in try_from_foreign()
H A Derror.rs182 if ptr.is_null() { in name()
H A Dscatterlist.rs484 self.pos = (!next.is_null() && self.nents > 0).then(|| { in next()
/linux/rust/kernel/device/
H A Dproperty.rs85 if name.is_null() { in display_name()
208 if child.is_null() { in get_child_by_name()
244 if next.is_null() { in children()
326 if !self.0.fwnode.is_null() { in drop()
414 if !prefix.is_null() { in fmt()
/linux/drivers/android/binder/
H A Ddeferred_close.rs127 if file.is_null() { in close_fd()
179 if !inner.file.is_null() { in do_close_fd()
H A Drust_binder_main.rs351 if !device.is_null() { in rust_binder_remove_context()
370 assert!(!device.is_null()); in rust_binder_open()
/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.rs263 if addr.is_null() { in ioremap()
/linux/rust/kernel/drm/gem/
H A Dmod.rs134 if ptr.is_null() { in lookup_handle()
/linux/drivers/gpu/drm/xe/
H A Dxe_pt.c534 bool is_null = xe_vma_is_null(xe_walk->vma); in xe_pt_stage_bind_entry() local
535 bool is_vram = is_null ? false : xe_res_is_vram(curs); in xe_pt_stage_bind_entry()
542 pte = vm->pt_ops->pte_encode_vma(is_null ? 0 : in xe_pt_stage_bind_entry()
547 if (!is_null) in xe_pt_stage_bind_entry()
571 if (!is_null && !xe_walk->clear_pt) in xe_pt_stage_bind_entry()

12