Home
last modified time | relevance | path

Searched +full:j +full:- +full:to +full:- +full:k (Results 1 – 25 of 1080) sorted by relevance

12345678910>>...44

/kernel/linux/linux-6.6/drivers/md/bcache/
Dbset.c1 // SPDX-License-Identifier: GPL-2.0
23 struct bkey *k, *next; in bch_dump_bset() local
25 for (k = i->start; k < bset_bkey_last(i); k = next) { in bch_dump_bset()
26 next = bkey_next(k); in bch_dump_bset()
29 (unsigned int) ((u64 *) k - i->d), i->keys); in bch_dump_bset()
31 if (b->ops->key_dump) in bch_dump_bset()
32 b->ops->key_dump(b, k); in bch_dump_bset()
34 pr_cont("%llu:%llu\n", KEY_INODE(k), KEY_OFFSET(k)); in bch_dump_bset()
37 bkey_cmp(k, b->ops->is_extents ? in bch_dump_bset()
48 for (i = 0; i <= b->nsets; i++) in bch_dump_bucket()
[all …]
Djournal.c1 // SPDX-License-Identifier: GPL-2.0
20 * entries (same as garbage collection would), then we replay them - reinserting
30 struct closure *cl = bio->bi_private; in journal_read_endio()
38 struct journal_device *ja = &ca->journal; in journal_read_bucket()
39 struct bio *bio = &ja->bio; in journal_read_bucket()
42 struct jset *j, *data = ca->set->journal.w[0].data; in journal_read_bucket() local
46 sector_t bucket = bucket_to_sector(ca->set, ca->sb.d[bucket_index]); in journal_read_bucket()
52 while (offset < ca->sb.bucket_size) { in journal_read_bucket()
53 reread: left = ca->sb.bucket_size - offset; in journal_read_bucket()
56 bio_reset(bio, ca->bdev, REQ_OP_READ); in journal_read_bucket()
[all …]
/kernel/linux/linux-5.10/drivers/md/bcache/
Dbset.c1 // SPDX-License-Identifier: GPL-2.0
23 struct bkey *k, *next; in bch_dump_bset() local
25 for (k = i->start; k < bset_bkey_last(i); k = next) { in bch_dump_bset()
26 next = bkey_next(k); in bch_dump_bset()
29 (unsigned int) ((u64 *) k - i->d), i->keys); in bch_dump_bset()
31 if (b->ops->key_dump) in bch_dump_bset()
32 b->ops->key_dump(b, k); in bch_dump_bset()
34 pr_cont("%llu:%llu\n", KEY_INODE(k), KEY_OFFSET(k)); in bch_dump_bset()
37 bkey_cmp(k, b->ops->is_extents ? in bch_dump_bset()
48 for (i = 0; i <= b->nsets; i++) in bch_dump_bucket()
[all …]
Djournal.c1 // SPDX-License-Identifier: GPL-2.0
20 * entries (same as garbage collection would), then we replay them - reinserting
30 struct closure *cl = bio->bi_private; in journal_read_endio()
38 struct journal_device *ja = &ca->journal; in journal_read_bucket()
39 struct bio *bio = &ja->bio; in journal_read_bucket()
42 struct jset *j, *data = ca->set->journal.w[0].data; in journal_read_bucket() local
46 sector_t bucket = bucket_to_sector(ca->set, ca->sb.d[bucket_index]); in journal_read_bucket()
52 while (offset < ca->sb.bucket_size) { in journal_read_bucket()
53 reread: left = ca->sb.bucket_size - offset; in journal_read_bucket()
57 bio->bi_iter.bi_sector = bucket + offset; in journal_read_bucket()
[all …]
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
Dp80211wep.c1 // SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1)
7 * --------------------------------------------------------------------
9 * linux-wlan
11 * The contents of this file are subject to the Mozilla Public
24 * above. If you wish to allow the use of your version of this file
25 * only under the terms of the GPL and not to allow others to use
32 * --------------------------------------------------------------------
34 * Inquiries regarding the linux-wlan Open Source project can be
35 * made directly to:
38 * info@linux-wlan.com
[all …]
/kernel/linux/linux-6.6/drivers/staging/wlan-ng/
Dp80211wep.c1 // SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1)
7 * --------------------------------------------------------------------
9 * linux-wlan
11 * --------------------------------------------------------------------
13 * Inquiries regarding the linux-wlan Open Source project can be
14 * made directly to:
17 * info@linux-wlan.com
18 * http://www.linux-wlan.com
20 * --------------------------------------------------------------------
25 * --------------------------------------------------------------------
[all …]
/kernel/linux/linux-6.6/drivers/video/logo/
Dpnmtologo.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Convert a logo in ASCII PNM format to C source suitable for inclusion in
6 * (C) Copyright 2001-2003 by Geert Uytterhoeven <geert@linux-m68k.org>
100 val = 10*val+c-'0'; in get_number()
124 unsigned int i, j; in read_image() local
150 "Use pnmnoraw(1) to convert it to ASCII PNM\n", filename); in read_image()
174 for (j = 0; j < logo_width; j++) in read_image()
175 logo_data[i][j].red = logo_data[i][j].green = in read_image()
176 logo_data[i][j].blue = 255*(1-get_number(fp)); in read_image()
183 for (j = 0; j < logo_width; j++) in read_image()
[all …]
/kernel/linux/linux-5.10/drivers/video/logo/
Dpnmtologo.c3 * Convert a logo in ASCII PNM format to C source suitable for inclusion in
6 * (C) Copyright 2001-2003 by Geert Uytterhoeven <geert@linux-m68k.org>
8 * --------------------------------------------------------------------------
10 * This file is subject to the terms and conditions of the GNU General Public
106 val = 10*val+c-'0'; in get_number()
128 unsigned int i, j; in read_image() local
154 "Use pnmnoraw(1) to convert it to ASCII PNM\n", filename); in read_image()
178 for (j = 0; j < logo_width; j++) in read_image()
179 logo_data[i][j].red = logo_data[i][j].green = in read_image()
180 logo_data[i][j].blue = 255*(1-get_number(fp)); in read_image()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
36 * This file is gcc-parsable HW gospel, coming straight from HW engineers.
38 * It doesn't adhere to Linux kernel style and sometimes will do things in odd
40 * remain as-is as it provides us with a guarantee from HW that it is correct.
747 …//valid sliceWidth = number of pixels per slice line, must be less than or equal to 5184/numSlice… in dscceComputeDelay()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
34 * This file is gcc-parsable HW gospel, coming straight from HW engineers.
36 * It doesn't adhere to Linux kernel style and sometimes will do things in odd
38 * remain as-is as it provides us with a guarantee from HW that it is correct.
679 …//valid sliceWidth = number of pixels per slice line, must be less than or equal to 5184/numSlice… in dscceComputeDelay()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
34 * This file is gcc-parsable HW gospel, coming straight from HW engineers.
36 * It doesn't adhere to Linux kernel style and sometimes will do things in odd
38 * remain as-is as it provides us with a guarantee from HW that it is correct.
48 // For DML-C changes that hasn't been propagated to VBA yet
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c1 // SPDX-License-Identifier: MIT
5 * Permission is hereby granted, free of charge, to any person obtaining a
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
37 * This file is gcc-parsable HW gospel, coming straight from HW engineers.
39 * It doesn't adhere to Linux kernel style and sometimes will do things in odd
41 * remain as-is as it provides us with a guarantee from HW that it is correct.
[all …]
/kernel/linux/linux-6.6/lib/
Dtest_hash.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * produce the same thing and, for cases where a k-bit hash
8 * We fill a buffer with a 255-byte null-terminated string,
9 * and use both full_name_hash() and hashlen_string() to hash the
10 * substrings from i to j, where 0 <= i < j < 256.
12 * The returned values are used to check that __hash_32() and
24 /* 32-bit XORSHIFT generator. Seed must not be zero. */
34 /* Given a non-zero x, returns a non-zero byte. */
45 /* Fill the buffer with non-zero bytes. */
58 /* Pointer to integer to be hashed. */
[all …]
/kernel/liteos_m/testsuites/sample/kernel/mem/
DIt_los_mem_036.c2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
16 * to endorse or promote products derived from this software without specific prior written
20 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
24 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
45 int i, j, k; in TestCase() local
56 sizeadd = 4; // 4, set 4 to sizeadd. in TestCase()
66 sizeadd = 4; // 4, set 4 to sizeadd. in TestCase()
68 for (j = 0; j < i; j++) { in TestCase()
73 sizeadd = 4; // 4, set 4 to sizeadd. in TestCase()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_32.c4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41 dml32_CalculateMaxDETAndMinCompressedBufferSize(mode_lib->vba.ConfigReturnBufferSizeInKByte, in dml32_recalculate()
42 mode_lib->vba.ROBBufferSizeInKByte, in dml32_recalculate()
44 false, //mode_lib->vba.override_setting.nomDETInKByteOverrideEnable, in dml32_recalculate()
45 0, //mode_lib->vba.override_setting.nomDETInKByteOverrideValue, in dml32_recalculate()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Datp870u.c1 // SPDX-License-Identifier: GPL-2.0-only
32 #include <linux/dma-mapping.h>
49 outb(val, atp->baseport + reg); in atp_writeb_base()
54 outw(val, atp->baseport + reg); in atp_writew_base()
59 outb(val, atp->ioport[channel] + reg); in atp_writeb_io()
64 outw(val, atp->ioport[channel] + reg); in atp_writew_io()
69 outb(val, atp->pciport[channel] + reg); in atp_writeb_pci()
74 outl(val, atp->pciport[channel] + reg); in atp_writel_pci()
79 return inb(atp->baseport + reg); in atp_readb_base()
84 return inw(atp->baseport + reg); in atp_readw_base()
[all …]
/kernel/linux/linux-6.6/drivers/scsi/
Datp870u.c1 // SPDX-License-Identifier: GPL-2.0-only
32 #include <linux/dma-mapping.h>
50 outb(val, atp->baseport + reg); in atp_writeb_base()
55 outw(val, atp->baseport + reg); in atp_writew_base()
60 outb(val, atp->ioport[channel] + reg); in atp_writeb_io()
65 outw(val, atp->ioport[channel] + reg); in atp_writew_io()
70 outb(val, atp->pciport[channel] + reg); in atp_writeb_pci()
75 outl(val, atp->pciport[channel] + reg); in atp_writel_pci()
80 return inb(atp->baseport + reg); in atp_readb_base()
85 return inw(atp->baseport + reg); in atp_readw_base()
[all …]
/kernel/linux/linux-5.10/lib/
Dtest_hash.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * produce the same thing and, for cases where a k-bit hash
8 * We fill a buffer with a 255-byte null-terminated string,
9 * and use both full_name_hash() and hashlen_string() to hash the
10 * substrings from i to j, where 0 <= i < j < 256.
12 * The returned values are used to check that __hash_32() and
26 /* 32-bit XORSHIFT generator. Seed must not be zero. */
36 /* Given a non-zero x, returns a non-zero byte. */
47 /* Fill the buffer with non-zero bytes. */
60 * Test the various integer hash functions. h64 (or its low-order bits)
[all …]
/kernel/linux/linux-5.10/lib/raid6/
Dmktables.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* -*- linux-c -*- ------------------------------------------------------- *
4 * Copyright 2002-2007 H. Peter Anvin - All Rights Reserved
6 * ----------------------------------------------------------------------- */
11 * Make RAID-6 tables. This is a host user space program to be run at
55 int i, j, k; in main() local
68 for (j = 0; j < 256; j += 8) { in main()
70 for (k = 0; k < 8; k++) in main()
71 printf("0x%02x,%c", gfmul(i, j + k), in main()
72 (k == 7) ? '\n' : ' '); in main()
[all …]
/kernel/linux/linux-6.6/lib/raid6/
Dmktables.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* -*- linux-c -*- ------------------------------------------------------- *
4 * Copyright 2002-2007 H. Peter Anvin - All Rights Reserved
6 * ----------------------------------------------------------------------- */
11 * Make RAID-6 tables. This is a host user space program to be run at
55 int i, j, k; in main() local
70 for (j = 0; j < 256; j += 8) { in main()
72 for (k = 0; k < 8; k++) in main()
73 printf("0x%02x,%c", gfmul(i, j + k), in main()
74 (k == 7) ? '\n' : ' '); in main()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calc_auto.c4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32 * This file is gcc-parseable HW gospel, coming straight from HW engineers.
34 * It doesn't adhere to Linux kernel style and sometimes will do things in odd
36 * remain as-is as it provides us with a guarantee from HW that it is correct.
42 int k; in scaler_settings_calculation() local
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calc_auto.c4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32 * This file is gcc-parseable HW gospel, coming straight from HW engineers.
34 * It doesn't adhere to Linux kernel style and sometimes will do things in odd
36 * remain as-is as it provides us with a guarantee from HW that it is correct.
42 int k; in scaler_settings_calculation() local
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
Dhantro_vp8.c1 // SPDX-License-Identifier: GPL-2.0
35 * filter taps taken to 7-bit precision,
36 * reference RFC6386#Page-16, filters[8][6]
40 { 0, -6, 123, 12, -1, 0 },
41 { 2, -11, 108, 36, -8, 1 },
42 { 0, -9, 93, 50, -6, 0 },
43 { 3, -16, 77, 77, -16, 3 },
44 { 0, -6, 50, 93, -9, 0 },
45 { 1, -8, 36, 108, -11, 2 },
46 { 0, -1, 12, 123, -6, 0 }
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/
Dhantro_vp8.c1 // SPDX-License-Identifier: GPL-2.0
35 * filter taps taken to 7-bit precision,
36 * reference RFC6386#Page-16, filters[8][6]
40 { 0, -6, 123, 12, -1, 0 },
41 { 2, -11, 108, 36, -8, 1 },
42 { 0, -9, 93, 50, -6, 0 },
43 { 3, -16, 77, 77, -16, 3 },
44 { 0, -6, 50, 93, -9, 0 },
45 { 1, -8, 36, 108, -11, 2 },
46 { 0, -1, 12, 123, -6, 0 }
[all …]
/kernel/linux/linux-6.6/drivers/platform/x86/
Duv_sysfs.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 #define INVALID_CNODE -1
32 static signed short uv_master_nasid = -1;
58 return -1; in ordinal_to_nasid()
76 return -1; in location_to_bpos()
89 if (!obj->f.fields.this_part && !obj->f.fields.is_shared) in cache_obj_to_cnode()
92 if (location_to_bpos(obj->location, &obj_rack, &obj_slot, &obj_blade)) in cache_obj_to_cnode()
93 return -1; in cache_obj_to_cnode()
101 prev_obj_to_cnode[obj->id] = cnode; in cache_obj_to_cnode()
122 return sysfs_emit(buf, "%s\n", hub_info->name); in hub_name_show()
[all …]

12345678910>>...44