facilities         18 arch/s390/include/asm/facility.h static inline void __set_facility(unsigned long nr, void *facilities)
facilities         20 arch/s390/include/asm/facility.h 	unsigned char *ptr = (unsigned char *) facilities;
facilities         27 arch/s390/include/asm/facility.h static inline void __clear_facility(unsigned long nr, void *facilities)
facilities         29 arch/s390/include/asm/facility.h 	unsigned char *ptr = (unsigned char *) facilities;
facilities         36 arch/s390/include/asm/facility.h static inline int __test_facility(unsigned long nr, void *facilities)
facilities         42 arch/s390/include/asm/facility.h 	ptr = (unsigned char *) facilities + (nr >> 3);
facilities         93 arch/s390/include/asm/sclp.h 	unsigned long facilities;
facilities        106 arch/s390/kernel/processor.c 	long *facilities;
facilities        108 arch/s390/kernel/processor.c 	facilities = (long *)&S390_lowcore.stfle_fac_list;
facilities        110 arch/s390/kernel/processor.c 	for_each_set_bit_inv(bit, facilities, MAX_FACILITY_BIT)
facilities        260 drivers/s390/block/dasd_eckd.c 	if ((rc && !private->rdc_data.facilities.XRC_supported) ||
facilities       2078 drivers/s390/block/dasd_eckd.c 	    !(private->rdc_data.facilities.RT_in_LR)) {
facilities        274 drivers/s390/block/dasd_eckd.h 	} __attribute__ ((packed)) facilities;
facilities        647 drivers/s390/char/sclp.c 		sclp.facilities = scbuf->sclp_active_facility_mask;
facilities        175 drivers/s390/char/sclp.h 	u64	facilities;		/* 48-55 */
facilities        227 drivers/s390/char/sclp.h #define SCLP_HAS_CHP_INFO	(sclp.facilities & 0x8000000000000000ULL)
facilities        228 drivers/s390/char/sclp.h #define SCLP_HAS_CHP_RECONFIG	(sclp.facilities & 0x2000000000000000ULL)
facilities        229 drivers/s390/char/sclp.h #define SCLP_HAS_CPU_INFO	(sclp.facilities & 0x0800000000000000ULL)
facilities        230 drivers/s390/char/sclp.h #define SCLP_HAS_CPU_RECONFIG	(sclp.facilities & 0x0400000000000000ULL)
facilities        231 drivers/s390/char/sclp.h #define SCLP_HAS_PCI_RECONFIG	(sclp.facilities & 0x0000000040000000ULL)
facilities        482 drivers/s390/char/sclp_cmd.c 	if ((sclp.facilities & 0xe00000000000ULL) != 0xe00000000000ULL)
facilities         31 drivers/s390/char/sclp_early.c 	sclp.facilities = sccb->facilities;
facilities        316 drivers/s390/char/sclp_early_core.c 	if (!(sclp_info_sccb.facilities & SCLP_STORAGE_INFO_FACILITY))
facilities        296 drivers/s390/crypto/ap_bus.c 			  unsigned int *facilities)
facilities        310 drivers/s390/crypto/ap_bus.c 		*facilities = (unsigned int)(info >> 32);
facilities        326 drivers/s390/crypto/ap_bus.c 			*facilities |= 0x08000000;
facilities        330 drivers/s390/crypto/ap_bus.c 			*facilities |= 0x10000000;
facilities        145 include/net/rose.h 	struct rose_facilities_struct facilities;
facilities        165 include/net/x25.h 	struct x25_facilities	facilities;
facilities        952 net/rose/af_rose.c 	struct rose_facilities_struct facilities;
facilities        960 net/rose/af_rose.c 	memset(&facilities, 0x00, sizeof(struct rose_facilities_struct));
facilities        964 net/rose/af_rose.c 				   &facilities)) {
facilities        969 net/rose/af_rose.c 	sk = rose_find_listener(&facilities.source_addr, &facilities.source_call);
facilities        985 net/rose/af_rose.c 	make_rose->dest_addr     = facilities.dest_addr;
facilities        986 net/rose/af_rose.c 	make_rose->dest_call     = facilities.dest_call;
facilities        987 net/rose/af_rose.c 	make_rose->dest_ndigis   = facilities.dest_ndigis;
facilities        988 net/rose/af_rose.c 	for (n = 0 ; n < facilities.dest_ndigis ; n++)
facilities        989 net/rose/af_rose.c 		make_rose->dest_digis[n] = facilities.dest_digis[n];
facilities        990 net/rose/af_rose.c 	make_rose->source_addr   = facilities.source_addr;
facilities        991 net/rose/af_rose.c 	make_rose->source_call   = facilities.source_call;
facilities        992 net/rose/af_rose.c 	make_rose->source_ndigis = facilities.source_ndigis;
facilities        993 net/rose/af_rose.c 	for (n = 0 ; n < facilities.source_ndigis ; n++)
facilities        994 net/rose/af_rose.c 		make_rose->source_digis[n] = facilities.source_digis[n];
facilities        997 net/rose/af_rose.c 	make_rose->facilities    = facilities;
facilities        856 net/rose/rose_route.c 	struct rose_facilities_struct facilities;
facilities       1018 net/rose/rose_route.c 	memset(&facilities, 0x00, sizeof(struct rose_facilities_struct));
facilities       1022 net/rose/rose_route.c 				   &facilities)) {
facilities       1032 net/rose/rose_route.c 		if (rose_route->rand == facilities.rand &&
facilities       1034 net/rose/rose_route.c 		    ax25cmp(&facilities.dest_call, &rose_route->src_call) == 0 &&
facilities       1035 net/rose/rose_route.c 		    ax25cmp(&facilities.source_call, &rose_route->dest_call) == 0) {
facilities       1060 net/rose/rose_route.c 	rose_route->src_call  = facilities.dest_call;
facilities       1061 net/rose/rose_route.c 	rose_route->dest_call = facilities.source_call;
facilities       1062 net/rose/rose_route.c 	rose_route->rand      = facilities.rand;
facilities        239 net/rose/rose_subr.c static int rose_parse_national(unsigned char *p, struct rose_facilities_struct *facilities, int len)
facilities        259 net/rose/rose_subr.c 				facilities->rand = ((p[1] << 8) & 0xFF00) + ((p[2] << 0) & 0x00FF);
facilities        283 net/rose/rose_subr.c 					memcpy(&facilities->source_digis[0], p + 2, AX25_ADDR_LEN);
facilities        284 net/rose/rose_subr.c 					facilities->source_ndigis = 1;
facilities        291 net/rose/rose_subr.c 					memcpy(&facilities->dest_digis[0], p + 2, AX25_ADDR_LEN);
facilities        292 net/rose/rose_subr.c 					facilities->dest_ndigis = 1;
facilities        298 net/rose/rose_subr.c 				memcpy(&facilities->fail_call, p + 2, AX25_ADDR_LEN);
facilities        303 net/rose/rose_subr.c 				memcpy(&facilities->fail_addr, p + 3, ROSE_ADDR_LEN);
facilities        309 net/rose/rose_subr.c 				facilities->source_ndigis = 0;
facilities        310 net/rose/rose_subr.c 				facilities->dest_ndigis   = 0;
facilities        313 net/rose/rose_subr.c 						if (facilities->dest_ndigis >= ROSE_MAX_DIGIS)
facilities        315 net/rose/rose_subr.c 						memcpy(&facilities->dest_digis[facilities->dest_ndigis++], pt, AX25_ADDR_LEN);
facilities        317 net/rose/rose_subr.c 						if (facilities->source_ndigis >= ROSE_MAX_DIGIS)
facilities        319 net/rose/rose_subr.c 						memcpy(&facilities->source_digis[facilities->source_ndigis++], pt, AX25_ADDR_LEN);
facilities        333 net/rose/rose_subr.c static int rose_parse_ccitt(unsigned char *p, struct rose_facilities_struct *facilities, int len)
facilities        374 net/rose/rose_subr.c 				memcpy(&facilities->source_addr, p + 7, ROSE_ADDR_LEN);
facilities        377 net/rose/rose_subr.c 				asc2ax(&facilities->source_call, callsign);
facilities        380 net/rose/rose_subr.c 				memcpy(&facilities->dest_addr, p + 7, ROSE_ADDR_LEN);
facilities        383 net/rose/rose_subr.c 				asc2ax(&facilities->dest_call, callsign);
facilities        396 net/rose/rose_subr.c 	struct rose_facilities_struct *facilities)
facilities        411 net/rose/rose_subr.c 			len = rose_parse_national(p + 1, facilities, facilities_len - 1);
facilities        415 net/rose/rose_subr.c 			len = rose_parse_ccitt(p + 1, facilities, facilities_len - 1);
facilities        572 net/x25/af_x25.c 	x25->facilities.winsize_in  = X25_DEFAULT_WINDOW_SIZE;
facilities        573 net/x25/af_x25.c 	x25->facilities.winsize_out = X25_DEFAULT_WINDOW_SIZE;
facilities        574 net/x25/af_x25.c 	x25->facilities.pacsize_in  = X25_DEFAULT_PACKET_SIZE;
facilities        575 net/x25/af_x25.c 	x25->facilities.pacsize_out = X25_DEFAULT_PACKET_SIZE;
facilities        576 net/x25/af_x25.c 	x25->facilities.throughput  = 0;	/* by default don't negotiate
facilities        578 net/x25/af_x25.c 	x25->facilities.reverse     = X25_DEFAULT_REVERSE;
facilities        619 net/x25/af_x25.c 	x25->facilities = ox25->facilities;
facilities        784 net/x25/af_x25.c 	x25_limit_facilities(&x25->facilities, x25->neighbour);
facilities        938 net/x25/af_x25.c 	struct x25_facilities facilities;
facilities       1017 net/x25/af_x25.c 	len = x25_negotiate_facilities(skb, sk, &facilities, &dte_facilities);
facilities       1026 net/x25/af_x25.c 	x25_limit_facilities(&facilities, nb);
facilities       1048 net/x25/af_x25.c 	makex25->facilities    = facilities;
facilities       1430 net/x25/af_x25.c 		rc = copy_to_user(argp, &x25->facilities,
facilities       1431 net/x25/af_x25.c 				  sizeof(x25->facilities))
facilities       1438 net/x25/af_x25.c 		struct x25_facilities facilities;
facilities       1440 net/x25/af_x25.c 		if (copy_from_user(&facilities, argp, sizeof(facilities)))
facilities       1447 net/x25/af_x25.c 		if (facilities.pacsize_in < X25_PS16 ||
facilities       1448 net/x25/af_x25.c 		    facilities.pacsize_in > X25_PS4096)
facilities       1450 net/x25/af_x25.c 		if (facilities.pacsize_out < X25_PS16 ||
facilities       1451 net/x25/af_x25.c 		    facilities.pacsize_out > X25_PS4096)
facilities       1453 net/x25/af_x25.c 		if (facilities.winsize_in < 1 ||
facilities       1454 net/x25/af_x25.c 		    facilities.winsize_in > 127)
facilities       1456 net/x25/af_x25.c 		if (facilities.throughput) {
facilities       1457 net/x25/af_x25.c 			int out = facilities.throughput & 0xf0;
facilities       1458 net/x25/af_x25.c 			int in  = facilities.throughput & 0x0f;
facilities       1460 net/x25/af_x25.c 				facilities.throughput |=
facilities       1465 net/x25/af_x25.c 				facilities.throughput |=
facilities       1470 net/x25/af_x25.c 		if (facilities.reverse &&
facilities       1471 net/x25/af_x25.c 		    (facilities.reverse & 0x81) != 0x81)
facilities       1473 net/x25/af_x25.c 		x25->facilities = facilities;
facilities         41 net/x25/x25_facilities.c int x25_parse_facilities(struct sk_buff *skb, struct x25_facilities *facilities,
facilities         78 net/x25/x25_facilities.c 					facilities->reverse = p[1] & 0x81;
facilities         84 net/x25/x25_facilities.c 					facilities->reverse = p[1] & 0x01;
facilities         90 net/x25/x25_facilities.c 					facilities->reverse = p[1] & 0x80;
facilities         96 net/x25/x25_facilities.c 					facilities->reverse
facilities        103 net/x25/x25_facilities.c 				facilities->throughput = p[1];
facilities        122 net/x25/x25_facilities.c 				facilities->pacsize_in  = p[1];
facilities        123 net/x25/x25_facilities.c 				facilities->pacsize_out = p[2];
facilities        127 net/x25/x25_facilities.c 				facilities->winsize_in  = p[1];
facilities        128 net/x25/x25_facilities.c 				facilities->winsize_out = p[2];
facilities        189 net/x25/x25_facilities.c 		struct x25_facilities *facilities,
facilities        205 net/x25/x25_facilities.c 	if (facilities->reverse && (facil_mask & X25_MASK_REVERSE)) {
facilities        207 net/x25/x25_facilities.c 		*p++ = facilities->reverse;
facilities        210 net/x25/x25_facilities.c 	if (facilities->throughput && (facil_mask & X25_MASK_THROUGHPUT)) {
facilities        212 net/x25/x25_facilities.c 		*p++ = facilities->throughput;
facilities        215 net/x25/x25_facilities.c 	if ((facilities->pacsize_in || facilities->pacsize_out) &&
facilities        218 net/x25/x25_facilities.c 		*p++ = facilities->pacsize_in ? : facilities->pacsize_out;
facilities        219 net/x25/x25_facilities.c 		*p++ = facilities->pacsize_out ? : facilities->pacsize_in;
facilities        222 net/x25/x25_facilities.c 	if ((facilities->winsize_in || facilities->winsize_out) &&
facilities        225 net/x25/x25_facilities.c 		*p++ = facilities->winsize_in ? : facilities->winsize_out;
facilities        226 net/x25/x25_facilities.c 		*p++ = facilities->winsize_out ? : facilities->winsize_in;
facilities        269 net/x25/x25_facilities.c 	struct x25_facilities *ours = &x25->facilities;
facilities        336 net/x25/x25_facilities.c void x25_limit_facilities(struct x25_facilities *facilities,
facilities        341 net/x25/x25_facilities.c 		if (facilities->winsize_in  > 7) {
facilities        343 net/x25/x25_facilities.c 			facilities->winsize_in = 7;
facilities        345 net/x25/x25_facilities.c 		if (facilities->winsize_out > 7) {
facilities        346 net/x25/x25_facilities.c 			facilities->winsize_out = 7;
facilities        118 net/x25/x25_in.c 		len = x25_parse_facilities(skb, &x25->facilities,
facilities        299 net/x25/x25_in.c 			if (((x25->vl + x25->facilities.winsize_in) % modulus) == x25->vr) {
facilities         56 net/x25/x25_out.c 	int max_len = x25_pacsize_to_bytes(x25->facilities.pacsize_out);
facilities        165 net/x25/x25_out.c 	end     = (x25->va + x25->facilities.winsize_out) % modulus;
facilities        114 net/x25/x25_subr.c 	unsigned char  facilities[X25_MAX_FAC_LEN];
facilities        130 net/x25/x25_subr.c 		if (x25->facilities.reverse & 0x80) {
facilities        187 net/x25/x25_subr.c 			len     = x25_create_facilities(facilities,
facilities        188 net/x25/x25_subr.c 					&x25->facilities,
facilities        191 net/x25/x25_subr.c 			skb_put_data(skb, facilities, len);
facilities        201 net/x25/x25_subr.c 			len     = x25_create_facilities(facilities,
facilities        202 net/x25/x25_subr.c 							&x25->facilities,
facilities        205 net/x25/x25_subr.c 			skb_put_data(skb, facilities, len);
facilities        210 net/x25/x25_subr.c 			if(x25->facilities.reverse & 0x80) {