Searched refs:major (Results 1 - 25 of 941) sorted by relevance

1234567891011>>

/linux-master/Documentation/admin-guide/aoe/
H A Dautoload.sh12 grep major-152 $f >/dev/null
14 echo alias block-major-152 aoe >> $f
15 echo alias char-major-152 aoe >> $f
/linux-master/include/linux/fpga/
H A Dadi-axi-common.h16 #define ADI_AXI_PCORE_VER(major, minor, patch) \
17 (((major) << 16) | ((minor) << 8) | (patch))
/linux-master/arch/sparc/kernel/
H A Dhvapi.c16 * PRE_API flag set are major 1 minor 0.
20 unsigned long major; member in struct:api_info
81 p->major = p->minor = 0;
86 * API group and desired major+minor.
93 * API group/major/minor with the hypervisor, and errors returned
96 int sun4v_hvapi_register(unsigned long group, unsigned long major, argument
109 if (p->major == major) {
117 hv_ret = sun4v_set_version(group, major, *minor,
122 p->major
160 sun4v_hvapi_get(unsigned long group, unsigned long *major, unsigned long *minor) argument
184 unsigned long group, major, minor; local
[all...]
H A Dsstate.c93 unsigned long major, minor; local
98 major = 1;
100 if (sun4v_hvapi_register(HV_GRP_SOFT_STATE, major, &minor))
/linux-master/security/keys/encrypted-keys/
H A Decryptfs_format.h23 void ecryptfs_get_versions(int *major, int *minor, int *file_version);
H A Decryptfs_format.c31 void ecryptfs_get_versions(int *major, int *minor, int *file_version) argument
33 *major = ECRYPTFS_VERSION_MAJOR;
51 int major, minor; local
53 ecryptfs_get_versions(&major, &minor, NULL);
54 auth_tok->version = (((uint16_t)(major << 8) & 0xFF00)
/linux-master/tools/lib/bpf/
H A Dlibbpf_common.h21 /* Mark a symbol as deprecated when libbpf version is >= {major}.{minor} */
22 #define LIBBPF_DEPRECATED_SINCE(major, minor, msg) \
23 __LIBBPF_MARK_DEPRECATED_ ## major ## _ ## minor \
24 (LIBBPF_DEPRECATED("libbpf v" # major "." # minor "+: " msg))
26 #define __LIBBPF_CURRENT_VERSION_GEQ(major, minor) \
27 (LIBBPF_MAJOR_VERSION > (major) || \
28 (LIBBPF_MAJOR_VERSION == (major) && LIBBPF_MINOR_VERSION >= (minor)))
/linux-master/drivers/net/can/usb/etas_es58x/
H A Des58x_devlink.c46 int major, minor, revision; local
66 if (sscanf(prod_info, "%2u.%2u.%2u", &major, &minor, &revision) != 3)
69 version->major = major;
97 int major, minor; local
109 if (sscanf(prod_info, "%c%3u/%3u", &letter, &major, &minor) != 3)
113 es58x_dev->hardware_revision.major = major;
135 .major = -1,
141 .major
[all...]
/linux-master/arch/mips/kernel/
H A Drtlx-mt.c21 static int major; variable
85 major = register_chrdev(0, RTLX_MODULE_NAME, &rtlx_fops);
86 if (major < 0) {
88 return major;
98 dev = device_create(&mt_class, NULL, MKDEV(major, i), NULL,
102 device_destroy(&mt_class, MKDEV(major, i));
130 device_destroy(&mt_class, MKDEV(major, i));
132 unregister_chrdev(major, RTLX_MODULE_NAME);
142 device_destroy(&mt_class, MKDEV(major, i));
144 unregister_chrdev(major, RTLX_MODULE_NAM
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Ddev_cgroup.c41 bpf_trace_printk(fmt, sizeof(fmt), ctx->major, ctx->minor);
47 if (ctx->major != 1 || type != BPF_DEVCG_DEV_CHAR)
/linux-master/include/uapi/linux/android/
H A Dbinderfs.h19 * @major: major number allocated for binderfs binder devices
25 __u32 major; member in struct:binderfs_device
/linux-master/include/uapi/linux/
H A Dvtpm_proxy.h37 * @major: the major number of the TPM device
44 __u32 major; /* output */ member in struct:vtpm_proxy_new_dev
/linux-master/include/linux/
H A Droot_dev.h5 #include <linux/major.h>
H A Dkdev_t.h41 unsigned major = MAJOR(dev); local
43 return (minor & 0xff) | (major << 8) | ((minor & ~0xff) << 12);
48 unsigned major = (dev & 0xfff00) >> 8; local
50 return MKDEV(major, minor);
H A Dif_tap.h78 int tap_get_minor(dev_t major, struct tap_dev *tap);
79 void tap_free_minor(dev_t major, struct tap_dev *tap);
83 void tap_destroy_cdev(dev_t major, struct cdev *tap_cdev);
/linux-master/drivers/char/
H A Dscx200_gpio.c33 static int major = 0; /* default to dynamic major */ variable
34 module_param(major, int, 0);
35 MODULE_PARM_DESC(major, "Major device number");
98 if (major) {
99 devid = MKDEV(major, 0);
103 major = MAJOR(devid);
128 unregister_chrdev_region(MKDEV(major, 0), MAX_PINS);
/linux-master/include/uapi/sound/sof/
H A Dabi.h29 /* SOF ABI version major, minor and patch numbers */
42 #define SOF_ABI_VER(major, minor, patch) \
43 (((major) << SOF_ABI_MAJOR_SHIFT) | \
/linux-master/fs/
H A Dchar_dev.c14 #include <linux/major.h>
36 unsigned int major; member in struct:char_device_struct
44 static inline int major_to_index(unsigned major) argument
46 return major % CHRDEV_MAJOR_HASH_SIZE;
57 if (cd->major == offset)
58 seq_printf(f, "%3d %s\n", cd->major, cd->name);
78 if (cd->major == i)
89 * Register a single major with a specified minor range.
91 * If major == 0 this function will dynamically allocate an unused major
97 __register_chrdev_region(unsigned int major, unsigned int baseminor, int minorct, const char *name) argument
172 __unregister_chrdev_region(unsigned major, unsigned baseminor, int minorct) argument
268 __register_chrdev(unsigned int major, unsigned int baseminor, unsigned int count, const char *name, const struct file_operations *fops) argument
335 __unregister_chrdev(unsigned int major, unsigned int baseminor, unsigned int count, const char *name) argument
[all...]
/linux-master/Documentation/
H A Dconf.py32 major, minor, patch = sphinx.version_info[:3]
38 if (major < 2) or (major == 2 and minor < 4):
60 if major >= 3:
61 if (major > 3) or (minor > 0 or patch >= 2):
151 load_imgmath = (load_imgmath or (major == 1 and minor < 8)
323 if major <= 1 and minor < 8:
411 if major == 1:
/linux-master/drivers/accel/habanalabs/common/
H A Dsecurity.h29 * @major: number of major blocks of particular type.
32 * @major_offset: address gap between 2 consecutive major blocks of particular type,
40 * NIC<major>_UMR<minor>_<sub_minor> where major=12, minor=2, sub_minor=15.
41 * In other words, for each of 12 major numbers (i.e 0 to 11) there are
52 u32 major; member in struct:hl_special_block_info
136 u32 blk_idx, u32 major, u32 minor, u32 sub_minor);
149 * @major: major bloc
[all...]
/linux-master/drivers/staging/greybus/
H A Dgreybus_firmware.h42 __u16 major; member in struct:fw_mgmt_ioc_get_intf_version
48 __u16 major; member in struct:fw_mgmt_ioc_get_backend_version
57 __u16 major; member in struct:fw_mgmt_ioc_intf_load_and_validate
/linux-master/drivers/platform/x86/
H A Dintel_scu_ipcutil.c23 static int major; variable
135 major = register_chrdev(0, "intel_mid_scu", &scu_ipc_fops);
136 if (major < 0)
137 return major;
144 unregister_chrdev(major, "intel_mid_scu");
/linux-master/drivers/char/xillybus/
H A Dxillybus_class.c38 int major; member in struct:xilly_unit
85 dev_warn(dev, "Failed to obtain major/minors");
89 unit->major = MAJOR(mdev);
102 rc = cdev_add(unit->cdev, MKDEV(unit->major, unit->lowest_minor),
128 MKDEV(unit->major,
157 device_destroy(&xillybus_class, MKDEV(unit->major,
163 unregister_chrdev_region(MKDEV(unit->major, unit->lowest_minor),
198 device_destroy(&xillybus_class, MKDEV(unit->major, minor));
202 unregister_chrdev_region(MKDEV(unit->major, unit->lowest_minor),
219 int major local
[all...]
/linux-master/drivers/gpu/drm/i915/gt/uc/
H A Dintel_uc_fw.c72 * Originally, the driver required an exact match major/minor/patch furmware
78 * For GuC, the major version number signifies a backwards breaking API change.
79 * So, new format GuC firmware files are labelled by their major version only.
138 * Same as with the GuC, a major version bump indicate a
205 u8 major; local
212 .major = major_, \
330 uc_fw->file_wanted.ver.major = blob->major;
376 fw_blobs[j].blob.major, fw_blobs[j].blob.minor,
379 fw_blobs[i].blob.major, fw_blob
[all...]
/linux-master/security/
H A Ddevice_cgroup.c36 u32 major, minor; member in struct:dev_exception_item
113 if (walk->major != ex->major)
141 if (walk->major != ex->major)
303 set_majmin(maj, ex->major);
318 * @major: device file major number, ~0 to match all
328 u32 major, u32 minor, short access)
337 if (ex->major !
327 match_exception(struct list_head *exceptions, short type, u32 major, u32 minor, short access) argument
364 match_exception_partial(struct list_head *exceptions, short type, u32 major, u32 minor, short access) argument
832 devcgroup_legacy_check_permission(short type, u32 major, u32 minor, short access) argument
860 devcgroup_check_permission(short type, u32 major, u32 minor, short access) argument
[all...]

Completed in 1105 milliseconds

1234567891011>>