Home
last modified time | relevance | path

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

/linux-6.15/rust/kernel/
H A Dlist.rs248 self.first.is_null() in is_empty()
278 if next.is_null() { in insert_inner()
325 if self.first.is_null() { in pop_back()
337 if self.first.is_null() { in pop_front()
367 debug_assert_eq!(next.is_null(), prev.is_null()); in remove()
368 if !next.is_null() { in remove()
551 if self.current.is_null() { in next()
737 if next.is_null() { in prev_ptr()
751 if self.next.is_null() { in peek_next()
768 if prev.is_null() { in peek_prev()
[all …]
H A Dkunit.rs67 if kunit_test.is_null() {
317 !unsafe { bindings::kunit_get_current_test() }.is_null() in in_kunit_test()
H A Dsecurity.rs54 if ptr.is_null() { in as_bytes()
H A Drbtree.rs329 while !(*child_field_of_parent).is_null() { in raw_entry()
377 while !node.is_null() { in get()
424 while !node.is_null() { in cursor_lower_bound()
487 while !next.is_null() { in drop()
1018 if self.next.is_null() { in next()
H A Ddriver.rs159 if raw_id.is_null() { in of_id_info()
H A Dtask.rs299 if ptr.is_null() { in get_pid_ns()
H A Dtypes.rs62 if ptr.is_null() { in try_from_foreign()
H A Derror.rs164 if ptr.is_null() { in name()
H A Ddma.rs179 if ret.is_null() { in alloc_attrs()
H A Dstr.rs896 if !ptr.is_null() { in try_from_fmt()
/linux-6.15/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-6.15/rust/kernel/alloc/
H A Dallocator_test.rs94 if !src.is_null() { in realloc()
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_vm_types.h328 bool is_null; member
H A Dxe_vm.c831 op->map.is_null = xe_vma_is_null(vma); in xe_vm_populate_rebind()
1149 bool is_null = (flags & VMA_CREATE_FLAG_IS_NULL); in xe_vma_create() local
1161 if (!bo && !is_null && !is_cpu_addr_mirror) { in xe_vma_create()
1175 if (is_null) in xe_vma_create()
1217 if (!is_null && !is_cpu_addr_mirror) { in xe_vma_create()
2271 op->map.is_null = flags & DRM_XE_VM_BIND_FLAG_NULL; in vm_bind_ioctl_ops_create()
2462 flags |= op->map.is_null ? in vm_bind_ioctl_ops_parse()
3104 bool is_null = flags & DRM_XE_VM_BIND_FLAG_NULL; in vm_bind_ioctl_check_args() local
3138 XE_IOCTL_DBG(xe, obj_offset && (is_null || in vm_bind_ioctl_check_args()
3141 (is_null || is_cpu_addr_mirror)) || in vm_bind_ioctl_check_args()
[all …]
H A Dxe_pt.c517 bool is_null = xe_vma_is_null(xe_walk->vma); in xe_pt_stage_bind_entry() local
521 pte = vm->pt_ops->pte_encode_vma(is_null ? 0 : in xe_pt_stage_bind_entry()
543 if (!is_null) in xe_pt_stage_bind_entry()
/linux-6.15/drivers/gpu/drm/
H A Ddrm_panic_qr.rs912 if url.is_null() { in drm_panic_qr_generate()
/linux-6.15/kernel/bpf/
H A Dverifier.c16104 bool is_null) in mark_ptr_or_null_reg() argument
16123 if (is_null) { in mark_ptr_or_null_reg()
16153 bool is_null) in mark_ptr_or_null_regs() argument
16160 if (ref_obj_id && ref_obj_id == id && is_null) in mark_ptr_or_null_regs()
16168 mark_ptr_or_null_reg(state, reg, id, is_null); in mark_ptr_or_null_regs()