| /linux/rust/kernel/ |
| H A D | list.rs | 477 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 D | task.rs | 240 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 D | device.rs | 249 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 D | mm.rs | 182 if !vma.is_null() { in lock_vma_under_rcu() 249 if vma.is_null() { in vma_lookup()
|
| H A D | driver.rs | 313 if raw_id.is_null() { in acpi_id_info() 347 if raw_id.is_null() { in of_id_info()
|
| H A D | maple_tree.rs | 278 if ptr.is_null() { in free_all_entries() 379 if ret.is_null() { in load() 573 if ret.is_null() { in find()
|
| H A D | rbtree.rs | 197 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 D | kunit.rs | 74 if kunit_test.is_null() { 329 !unsafe { bindings::kunit_get_current_test() }.is_null() in in_kunit_test()
|
| H A D | cpufreq.rs | 613 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 D | security.rs | 91 if ptr.is_null() { in as_bytes()
|
| H A D | cpu.rs | 145 if ptr.is_null() { in from_cpu()
|
| H A D | platform.rs | 273 if resource.is_null() { in resource_by_index() 294 if resource.is_null() { in resource_by_name()
|
| H A D | module_param.rs | 64 if val.is_null() { in set_param()
|
| H A D | i2c.rs | 214 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 D | types.rs | 76 if ptr.is_null() { in try_from_foreign()
|
| H A D | error.rs | 182 if ptr.is_null() { in name()
|
| H A D | scatterlist.rs | 484 self.pos = (!next.is_null() && self.nents > 0).then(|| { in next()
|
| /linux/rust/kernel/device/ |
| H A D | property.rs | 85 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 D | deferred_close.rs | 127 if file.is_null() { in close_fd() 179 if !inner.file.is_null() { in do_close_fd()
|
| H A D | rust_binder_main.rs | 351 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 D | cmd.c | 12 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 D | resource.rs | 150 if name.is_null() { in name()
|
| H A D | mem.rs | 263 if addr.is_null() { in ioremap()
|
| /linux/rust/kernel/drm/gem/ |
| H A D | mod.rs | 134 if ptr.is_null() { in lookup_handle()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_pt.c | 534 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()
|