mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-01 07:42:18 +00:00
T3Q is a failed abortion.
This commit is contained in:
parent
e770879906
commit
bf8dec2489
@ -98,6 +98,10 @@ struct drm_object_properties {
|
|||||||
* Hence atomic drivers should not use drm_object_property_set_value()
|
* Hence atomic drivers should not use drm_object_property_set_value()
|
||||||
* and drm_object_property_get_value() on mutable objects, i.e. those
|
* and drm_object_property_get_value() on mutable objects, i.e. those
|
||||||
* without the DRM_MODE_PROP_IMMUTABLE flag set.
|
* without the DRM_MODE_PROP_IMMUTABLE flag set.
|
||||||
|
*
|
||||||
|
* For atomic drivers the default value of properties is stored in this
|
||||||
|
* array, so drm_object_property_get_default_value can be used to
|
||||||
|
* retrieve it.
|
||||||
*/
|
*/
|
||||||
uint64_t values[DRM_OBJECT_MAX_PROPERTY];
|
uint64_t values[DRM_OBJECT_MAX_PROPERTY];
|
||||||
};
|
};
|
||||||
@ -126,6 +130,9 @@ int drm_object_property_set_value(struct drm_mode_object *obj,
|
|||||||
int drm_object_property_get_value(struct drm_mode_object *obj,
|
int drm_object_property_get_value(struct drm_mode_object *obj,
|
||||||
struct drm_property *property,
|
struct drm_property *property,
|
||||||
uint64_t *value);
|
uint64_t *value);
|
||||||
|
int drm_object_property_get_default_value(struct drm_mode_object *obj,
|
||||||
|
struct drm_property *property,
|
||||||
|
uint64_t *val);
|
||||||
|
|
||||||
void drm_object_attach_property(struct drm_mode_object *obj,
|
void drm_object_attach_property(struct drm_mode_object *obj,
|
||||||
struct drm_property *property,
|
struct drm_property *property,
|
||||||
|
@ -12,12 +12,10 @@
|
|||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <linux/kdev_t.h>
|
#include <linux/kdev_t.h>
|
||||||
#include <linux/rcupdate.h>
|
|
||||||
#include <linux/slab.h>
|
|
||||||
#include <linux/percpu-refcount.h>
|
|
||||||
#include <linux/uuid.h>
|
#include <linux/uuid.h>
|
||||||
#include <linux/blk_types.h>
|
#include <linux/blk_types.h>
|
||||||
#include <asm/local.h>
|
#include <linux/device.h>
|
||||||
|
#include <linux/xarray.h>
|
||||||
|
|
||||||
extern const struct device_type disk_type;
|
extern const struct device_type disk_type;
|
||||||
extern struct device_type part_type;
|
extern struct device_type part_type;
|
||||||
@ -26,14 +24,6 @@ extern struct class block_class;
|
|||||||
#define DISK_MAX_PARTS 256
|
#define DISK_MAX_PARTS 256
|
||||||
#define DISK_NAME_LEN 32
|
#define DISK_NAME_LEN 32
|
||||||
|
|
||||||
#include <linux/major.h>
|
|
||||||
#include <linux/device.h>
|
|
||||||
#include <linux/smp.h>
|
|
||||||
#include <linux/string.h>
|
|
||||||
#include <linux/fs.h>
|
|
||||||
#include <linux/workqueue.h>
|
|
||||||
#include <linux/xarray.h>
|
|
||||||
|
|
||||||
#define PARTITION_META_INFO_VOLNAMELTH 64
|
#define PARTITION_META_INFO_VOLNAMELTH 64
|
||||||
/*
|
/*
|
||||||
* Enough for the string representation of any kind of UUID plus NULL.
|
* Enough for the string representation of any kind of UUID plus NULL.
|
||||||
|
@ -9508,8 +9508,8 @@ struct mlx5_ifc_bufferx_reg_bits {
|
|||||||
u8 reserved_at_0[0x6];
|
u8 reserved_at_0[0x6];
|
||||||
u8 lossy[0x1];
|
u8 lossy[0x1];
|
||||||
u8 epsb[0x1];
|
u8 epsb[0x1];
|
||||||
u8 reserved_at_8[0xc];
|
u8 reserved_at_8[0x8];
|
||||||
u8 size[0xc];
|
u8 size[0x10];
|
||||||
|
|
||||||
u8 xoff_threshold[0x10];
|
u8 xoff_threshold[0x10];
|
||||||
u8 xon_threshold[0x10];
|
u8 xon_threshold[0x10];
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
#define _LINUX_PART_STAT_H
|
#define _LINUX_PART_STAT_H
|
||||||
|
|
||||||
#include <linux/genhd.h>
|
#include <linux/genhd.h>
|
||||||
|
#include <asm/local.h>
|
||||||
|
|
||||||
struct disk_stats {
|
struct disk_stats {
|
||||||
u64 nsecs[NR_STAT_GROUPS];
|
u64 nsecs[NR_STAT_GROUPS];
|
||||||
|
@ -133,7 +133,6 @@ bool is_virtio_device(struct device *dev);
|
|||||||
void virtio_break_device(struct virtio_device *dev);
|
void virtio_break_device(struct virtio_device *dev);
|
||||||
|
|
||||||
void virtio_config_changed(struct virtio_device *dev);
|
void virtio_config_changed(struct virtio_device *dev);
|
||||||
int virtio_finalize_features(struct virtio_device *dev);
|
|
||||||
#ifdef CONFIG_PM_SLEEP
|
#ifdef CONFIG_PM_SLEEP
|
||||||
int virtio_device_freeze(struct virtio_device *dev);
|
int virtio_device_freeze(struct virtio_device *dev);
|
||||||
int virtio_device_restore(struct virtio_device *dev);
|
int virtio_device_restore(struct virtio_device *dev);
|
||||||
|
@ -1107,4 +1107,23 @@ void media_remove_intf_links(struct media_interface *intf);
|
|||||||
(((entity)->ops && (entity)->ops->operation) ? \
|
(((entity)->ops && (entity)->ops->operation) ? \
|
||||||
(entity)->ops->operation((entity) , ##args) : -ENOIOCTLCMD)
|
(entity)->ops->operation((entity) , ##args) : -ENOIOCTLCMD)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* media_create_ancillary_link() - create an ancillary link between two
|
||||||
|
* instances of &media_entity
|
||||||
|
*
|
||||||
|
* @primary: pointer to the primary &media_entity
|
||||||
|
* @ancillary: pointer to the ancillary &media_entity
|
||||||
|
*
|
||||||
|
* Create an ancillary link between two entities, indicating that they
|
||||||
|
* represent two connected pieces of hardware that form a single logical unit.
|
||||||
|
* A typical example is a camera lens controller being linked to the sensor that
|
||||||
|
* it is supporting.
|
||||||
|
*
|
||||||
|
* The function sets both MEDIA_LNK_FL_ENABLED and MEDIA_LNK_FL_IMMUTABLE for
|
||||||
|
* the new link.
|
||||||
|
*/
|
||||||
|
struct media_link *
|
||||||
|
media_create_ancillary_link(struct media_entity *primary,
|
||||||
|
struct media_entity *ancillary);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -226,6 +226,7 @@ struct media_pad_desc {
|
|||||||
#define MEDIA_LNK_FL_LINK_TYPE (0xf << 28)
|
#define MEDIA_LNK_FL_LINK_TYPE (0xf << 28)
|
||||||
# define MEDIA_LNK_FL_DATA_LINK (0 << 28)
|
# define MEDIA_LNK_FL_DATA_LINK (0 << 28)
|
||||||
# define MEDIA_LNK_FL_INTERFACE_LINK (1 << 28)
|
# define MEDIA_LNK_FL_INTERFACE_LINK (1 << 28)
|
||||||
|
# define MEDIA_LNK_FL_ANCILLARY_LINK (2 << 28)
|
||||||
|
|
||||||
struct media_link_desc {
|
struct media_link_desc {
|
||||||
struct media_pad_desc source;
|
struct media_pad_desc source;
|
||||||
|
@ -1,34 +1,16 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
||||||
/* Header file for iptables ipt_ECN target
|
#ifndef _IPT_ECN_H
|
||||||
*
|
#define _IPT_ECN_H
|
||||||
* (C) 2002 by Harald Welte <laforge@gnumonks.org>
|
|
||||||
*
|
|
||||||
* This software is distributed under GNU GPL v2, 1991
|
|
||||||
*
|
|
||||||
* ipt_ECN.h,v 1.3 2002/05/29 12:17:40 laforge Exp
|
|
||||||
*/
|
|
||||||
#ifndef _IPT_ECN_TARGET_H
|
|
||||||
#define _IPT_ECN_TARGET_H
|
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/netfilter/xt_ecn.h>
|
||||||
#include <linux/netfilter/xt_DSCP.h>
|
#define ipt_ecn_info xt_ecn_info
|
||||||
|
|
||||||
#define IPT_ECN_IP_MASK (~XT_DSCP_MASK)
|
enum {
|
||||||
|
IPT_ECN_IP_MASK = XT_ECN_IP_MASK,
|
||||||
#define IPT_ECN_OP_SET_IP 0x01 /* set ECN bits of IPv4 header */
|
IPT_ECN_OP_MATCH_IP = XT_ECN_OP_MATCH_IP,
|
||||||
#define IPT_ECN_OP_SET_ECE 0x10 /* set ECE bit of TCP header */
|
IPT_ECN_OP_MATCH_ECE = XT_ECN_OP_MATCH_ECE,
|
||||||
#define IPT_ECN_OP_SET_CWR 0x20 /* set CWR bit of TCP header */
|
IPT_ECN_OP_MATCH_CWR = XT_ECN_OP_MATCH_CWR,
|
||||||
|
IPT_ECN_OP_MATCH_MASK = XT_ECN_OP_MATCH_MASK,
|
||||||
#define IPT_ECN_OP_MASK 0xce
|
|
||||||
|
|
||||||
struct ipt_ECN_info {
|
|
||||||
__u8 operation; /* bitset of operations */
|
|
||||||
__u8 ip_ect; /* ECT codepoint of IPv4 header, pre-shifted */
|
|
||||||
union {
|
|
||||||
struct {
|
|
||||||
__u8 ece:1, cwr:1; /* TCP ECT bits */
|
|
||||||
} tcp;
|
|
||||||
} proto;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* _IPT_ECN_TARGET_H */
|
#endif /* IPT_ECN_H */
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
||||||
/* Hop Limit modification module for ip6tables
|
/* ip6tables module for matching the Hop Limit value
|
||||||
* Maciej Soltysiak <solt@dns.toxicfilms.tv>
|
* Maciej Soltysiak <solt@dns.toxicfilms.tv>
|
||||||
* Based on HW's TTL module */
|
* Based on HW's ttl module */
|
||||||
|
|
||||||
#ifndef _IP6T_HL_H
|
#ifndef _IP6T_HL_H
|
||||||
#define _IP6T_HL_H
|
#define _IP6T_HL_H
|
||||||
@ -9,14 +9,14 @@
|
|||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
IP6T_HL_SET = 0,
|
IP6T_HL_EQ = 0, /* equals */
|
||||||
IP6T_HL_INC,
|
IP6T_HL_NE, /* not equals */
|
||||||
IP6T_HL_DEC
|
IP6T_HL_LT, /* less than */
|
||||||
|
IP6T_HL_GT, /* greater than */
|
||||||
};
|
};
|
||||||
|
|
||||||
#define IP6T_HL_MAXMODE IP6T_HL_DEC
|
|
||||||
|
|
||||||
struct ip6t_HL_info {
|
struct ip6t_hl_info {
|
||||||
__u8 mode;
|
__u8 mode;
|
||||||
__u8 hop_limit;
|
__u8 hop_limit;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user