Benign freebsd Download

vdev_disk.c

Source contains low-bit mask syntaximports <sys/fs/zfs.h>
SHA-256fc3e7e8878a66420ed3d4f86eacf2fbafdc79fffad0da580599e0a96bb26320e

Evidence

English function-word token "the" lines 1–14
1// SPDX-License-Identifier: CDDL-1.0
2/*
3 * CDDL HEADER START
4 *
5 * The contents of this file are subject to the terms of the
6 * Common Development and Distribution License (the "License").
7 * You may not use this file except in compliance with the License.
8 *
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or https://opensource.org/licenses/CDDL-1.0.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
13 *
14 * When di …
imports <sys/fs/zfs.h> lines 28–46
28:4… Copyright (c) 2023, 2024, 2025, Klara, Inc.
29 */
30
31#include <sys/zfs_context.h>
32#include <sys/spa_impl.h>
33#include <sys/vdev_disk.h>
34#include <sys/vdev_impl.h>
35#include <sys/vdev_trim.h>
36#include <sys/abd.h>
37#include <sys/fs/zfs.h>
38#include <sys/zio.h>
39#include <linux/blkpg.h>
40#include <linux/msdos_fs.h>
41#include <linux/vfs_compat.h>
42#include <linux/blk-cgroup.h>
43
44/*
45 * Linux 6.8.x uses a bdev_handle as an instance/refcount for an underlying
46 * block_device …
English function-word token "have" lines 289–294
289:38… v_open_timeout_ms);
290 vdev_disk_t *vd;
291
292 /* Must have a pathname and it must be absolute. */
293 if (v->vdev_path == NULL || v->vdev_path[0] != '/') {
294 …
C declares a character or byte buffer lines 305–314
305:41… the device as unavailable.
306 */
307 vd = v->vdev_tsd;
308 if (vd) {
309 char disk_name[BDEVNAME_SIZE + 6] = "/dev/";
310 boolean_t reread_part = B_FALSE;
311
312 rw_enter(&vd->vd_lock, RW_WRITER);
313 bdh = vd->vd_bdh;
314 vd- …
Source contains low-bit mask syntax lines 928–934
928:32… ) {
929 bio_set_flags_failfast(bdev, &flags, zfs_vdev_failfast_mask & 1,
930 zfs_vdev_failfast_mask & 2, zfs_vdev_failfast_mask & 4);
931 }
932
933 /*
934 * Check alignment of the incoming ABD. If any part of …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.